11 lines
206 B
Python
11 lines
206 B
Python
import abc
|
|
|
|
|
|
class IPrometheusDataExporter:
|
|
@abc.abstractmethod
|
|
def export(self):
|
|
pass
|
|
|
|
def normalizeGaugename(self, originalName):
|
|
return originalName.replace("-", "_").lower()
|