mozilla / probe-scraper

Scrape and publish Telemetry probe data from Firefox
https://mozilla.github.io/probe-scraper/
Mozilla Public License 2.0
21 stars 53 forks source link

Bug 1887962 - Add mozbuild metrics to mach #718

Closed BenWu closed 5 months ago

BenWu commented 5 months ago

https://bugzilla.mozilla.org/show_bug.cgi?id=1887962

Reverts https://github.com/mozilla/probe-scraper/pull/231

These are the metrics being added https://github.com/mozilla/gecko-dev/blob/master/python/mozbuild/metrics.yaml. mozbuild.project is the only metric that's currently missing from the schema

BenWu commented 5 months ago

Dry run:

python -m probe_scraper.runner --dry-run --cache-dir=./cache/ --out-dir=./output/ --glean --glean-repo mach --update --output-bucket=gs://probe-scraper-prod-artifacts/ 
Unable to parse whitelist (/Users/bwu/workspace/probe-scraper/probe_scraper/parsers/third_party/histogram-whitelists.json). Assuming all histograms are acceptable.
Getting commits for repository mach
Cloning https://github.com/mozilla/gecko-dev into cache/mozilla/gecko-dev.git
  Got 9 commits

writing output:
  output/glean/mach/dependencies
  output/glean/mach/general
  ...
  output/glean/mach/pings
  ...
  output/glean/mach/tags
  ...
  output/glean/mach/metrics
  ...

I confirmed mozbuild.project is now present in output/glean/mach/metrics and it's not in https://probeinfo.telemetry.mozilla.org/glean/mach/metrics