diff options
author | Valery Piashchynski <[email protected]> | 2021-08-23 09:33:39 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-23 09:33:39 +0300 |
commit | d51de818afc02d850968bfd70c02c4af684fdf1a (patch) | |
tree | 4fa5ec8f818cfe9bd40218c543c82f89a79477d7 /plugins | |
parent | 19a758e5023809c0d046ad08dc16d09db984dc14 (diff) |
Add worker's description for the Prometheus
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/jobs/metrics.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/jobs/metrics.go b/plugins/jobs/metrics.go index 61856a10..38d0bcfb 100644 --- a/plugins/jobs/metrics.go +++ b/plugins/jobs/metrics.go @@ -63,6 +63,7 @@ func (se *statsExporter) metricsCallback(event interface{}) { func (se *statsExporter) Describe(d chan<- *prometheus.Desc) { // send description + d <- worker d <- pushErr d <- pushOk d <- jobsErr |