Refine location

This commit is contained in:
2025-02-05 13:59:59 +08:00
parent fc0e89ee41
commit 1edf0279c5
15 changed files with 816 additions and 3 deletions

View File

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