Files
linux_script/dockerfiles/dataExporter/code/awinlib/PrometheusDataExporterInterface.py
2025-02-05 14:20:41 +08:00

11 lines
206 B
Python

import abc
class IPrometheusDataExporter:
@abc.abstractmethod
def export(self):
pass
def normalizeGaugename(self, originalName):
return originalName.replace("-", "_").lower()