Merge remote-tracking branch 'origin/49-mqtt-import-stops' into 49-mqtt-import-stops

# Conflicts:
#	exporter/processor_base.py
This commit is contained in:
Gleb Tcivie 2024-07-26 20:04:52 +03:00
commit 381c29a461

View file

@ -1,6 +1,3 @@
import uuid
from geopy.geocoders import Nominatim
from prometheus_client import CollectorRegistry, Counter, Gauge
from exporter.client_details import ClientDetails
@ -20,7 +17,6 @@ class _Metrics:
self._registry = registry
self._init_metrics()
self.initialized = True # Attribute to indicate initialization
self.geolocator = Nominatim(user_agent=f"meshtastic-prometheus-exporter-{str(uuid.uuid4())}")
self.db = db
def get_db(self):