Skip to content
Snippets Groups Projects
Commit eb9036f7 authored by Jan David Mol's avatar Jan David Mol
Browse files

use correct method

parent ccab4906
No related branches found
No related tags found
1 merge request!1458Add custom monitoring points to LTA ingest, TMSS backend, and scheduling service
......@@ -68,7 +68,7 @@ metric_bytes_sent.set_function(lambda: _getBytesSent())
class IngestTransferServer:
metric_is_alive = Counter("alive", "Gets incremented periodically while the service is alive")
metric_not_enough_resources_reasons = Counter("ingest_not_enough_resources", "Which resources were too tight when a pipeline needed to be started", labels=["resource"])
metric_not_enough_resources_reasons = Counter("ingest_not_enough_resources", "Which resources were too tight when a pipeline needed to be started", labelnames=["resource"])
def __init__(self,
exchange = DEFAULT_BUSNAME,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment