From efa305eeeca56867129f4501662e5c076a710b10 Mon Sep 17 00:00:00 2001 From: Andre Schinkel Date: Sun, 3 Oct 2021 08:48:40 +0200 Subject: [PATCH] normalize metric label to match prometheus data-model guide --- owrx/controllers/metrics.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/owrx/controllers/metrics.py b/owrx/controllers/metrics.py index 2b2614c..83a3faa 100644 --- a/owrx/controllers/metrics.py +++ b/owrx/controllers/metrics.py @@ -1,6 +1,8 @@ from . import Controller from owrx.metrics import CounterMetric, DirectMetric, Metrics import json +import re + class MetricsController(Controller):