Skip to content

Commit f32335e

Browse files
Update metric.py
1 parent ed3696e commit f32335e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/metric.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from abc import abstractmethod
2-
from prometheus_client import *
2+
from prometheus_client import Gauge
33
from re import Pattern
44
import re
55
import os
@@ -71,4 +71,4 @@ def update(self):
7171
out_value = result.groupdict()["OUT_VALUE"]
7272

7373
self.gauge.labels(lease, connection, "in").set(int(in_value))
74-
self.gauge.labels(lease, connection, "out").set(int(out_value))
74+
self.gauge.labels(lease, connection, "out").set(int(out_value))

0 commit comments

Comments
 (0)