mozilla-releng / mozilla-releng/scriptworker
scriptworker metrics not found
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 5
- Forks
- 39
- Avg merge
- 4h 18m
- Merged PRs (30d)
- 6
Description
Like in https://bugzilla.mozilla.org/show_bug.cgi?id=1587471, we should log relevant worker metrics from our scriptworkers.
For example generic worker is emitting events like this:
WORKER_METRICS {"eventType":"instanceBoot","instanceType":"c5.2xlarge","region":"us-east-1","timestamp":1572379815,"worker":"generic-worker","workerId":"i-09518db4433b5924e","workerPoolId":"aws-provisioner-v1/gecko-t-win10-64"}
See also:
https://github.com/taskcluster/generic-worker/blob/master/metrics.go#L10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Bugzilla 1587471 and generic-worker's metrics.go, especially the WORKER_METRICS example and its event fields. Then identify which scriptworker events should emit relevant worker metrics; done means those metrics are logged consistently for scriptworkers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100