workerutil: Standardize metrics
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: efritz
I want to add additional metrics to the worker process, but it's currently difficult as I'd have to create metrics and register them in a half dozen call sites.
This standardizes the metrics emitted by the worker so that you only have to pass a prometheus register. I don't believe these metrics are currently tracked in grafana, but if so yell at me quick and I'll fix it.
Push commits to the source branch or add previously merged commits to review them.