(self, name, init_config, instances)
The base class for any OpenMetrics-based integration.
The base class for any OpenMetrics-based integration.
The base class for any OpenMetrics - based integration .
def __init__(self, name, init_config, instances):
        """
        The base class for any OpenMetrics-based integration.
        """
        super(OpenMetricsBaseCheckV2, self).__init__(name, init_config, instances)

        # All desired scraper configurations, which subclasses can override as needed
        self.scraper_configs = [self.instance]

        # All configured scrapers keyed by the endpoint
        self.scrapers = {}

        self.check_initializations.append(self.configure_scrapers)
def __init__ ( self , name , init_config , instances ) : super ( OpenMetricsBaseCheckV2 , self ) . __init__ ( name , init_config , instances ) # All desired scraper configurations, which subclasses can override as needed self . scraper_configs = [ self . instance ] # All configured scrapers keyed by the endpoint self . scrapers = { } self . check_initializations . append ( self . configure_scrapers )