Skip to content

Commit

Permalink
Update metric.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszskoczek committed Apr 6, 2024
1 parent ed3696e commit f32335e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/metric.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from abc import abstractmethod
from prometheus_client import *
from prometheus_client import Gauge
from re import Pattern
import re
import os
Expand Down Expand Up @@ -71,4 +71,4 @@ def update(self):
out_value = result.groupdict()["OUT_VALUE"]

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

0 comments on commit f32335e

Please sign in to comment.