Add a helper function to register the same metrics for both the worker and composer - the only difference being the subsystem name. The function checks if the metric has already been registered and, if so, returns the already registered metric. |
||
|---|---|---|
| .. | ||
| constants.go | ||
| http_metrics.go | ||
| job_metrics.go | ||
| middleware.go | ||
| status_metrics.go | ||