Track usage of developer tools. |
|||||||
Issue descriptionNot sure if this is a good idea or not: I'm curious about how much Blink developers will use a specific tool (webkit-patch rebaseline-cl) with what parameters in the coming months. If I make the tool send a request to some server (probably a little app engine instance) with the command run, the server could store the times and commands run. This would let me know how much people are using the tool, with what parameters. Does the Chrome Infra team do anything like this already? What aspects of this idea could be dangerous or un-good?
,
Aug 28 2016
I think chrishall@ was looking into this as well, maybe in conjunction with philwright@?
,
Sep 9 2016
chrishall, philwright, are there any plans to work on something like this?
,
Nov 8 2016
Ping - I was wondering about this today, and curious if Chris or Phil or anyone had any thoughts in the past few months about tracking command-line tool usage... For what I was thinking of tracking (# uses of webkit-patch rebaseline-cl), opt-in reporting or limiting to Googler workstations would be OK.
,
Nov 8 2016
The current plan is: add limited call-home functionality (command line, scrubbed environment, current git repo if any) to python_runner[1] which is the single entry point for the vast majority of our tools (in particular, git-cl, all our other git extensions, and gclient). Only enable the functionality if the hostname ends in ".corp.google.com". This will provide pareto-style coverage: 80% of the results for 20% of the effort. This requires getting basically three things right: * The format for tracking usage. Maybe this is event_mon. Maybe this is gRPC or JSON to a one-shot appengine app. Maybe it's something else entirely. * The integration point. At first blush, this should be python_runner, since it is a single point of entry for the vast majority of the executables in depot_tools. But it is a shell script, which makes it limited, so some additional development might be necessary. * The limits on collection. We definitely should not collect from non-Google-employees without their explicit opt-in consent. Starting with a simple judgement based on hostname is simple and unlikely to be wrong, and better heuristics could be used later. We just need someone to actually have the time to put in the effort. Maybe that'll be me during our december production freeze. Maybe it'll be chrishall@. Maybe it'll be someone with some 20% time. [1] https://chromium.googlesource.com/chromium/tools/depot_tools/+/master/python_runner.sh
,
Jun 20 2017
+katthomas This has come up again in multiple discussions lately. Has any of this changed since the update here in November? I'd like to get this on Q3 OKRs for someone
,
Jun 22 2017
event_mon seems like a good choice for this. If someone is interested in implementing, they could do it now. Happy to talk to that person. :)
,
Jun 22 2017
Excuse me, not event_mon exactly since we're transitioning away from that... but treating this as event data and sending it to big_query for visualization/analysis. If we do this synchronously, it will slow down the tools slightly because of the network call. That could be annoying. I don't have a plan to implement something asynchronous for Python, but it could use whatever we currently use for Buildbot (which I'll be modifying for BQ). But, that might be kind of heavyweight, and I'd prefer it didn't stay around after Buildbot goes away.
,
Jun 25 2018
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 2
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by aga...@chromium.org
, Aug 26 2016