def init_gauges()

in src/worker/exporters/node_exporter.py [0:0]


    def init_gauges(self):
        '''Initialization of Prometheus parameters.
           Override in Child Class if needed'''
        self.gauges = {}
        for field_name in self.node_fields:
            if 'cpu' in field_name:
                self.gauges[field_name] = prometheus_client.Gauge(
                    'node_{}'.format(field_name),
                    'node_{}'.format(field_name),
                    ['job_id', 'cpu_id', 'numa_domain']
                )
            elif 'xid' in field_name:
                self.gauges[field_name] = prometheus_client.Gauge(
                    'node_{}'.format(field_name),
                    'node_{}'.format(field_name),
                    ['job_id', 'pci_id', 'gpu_id', 'time_stamp']
                )
            elif 'link_flap' in field_name:
                self.gauges[field_name] = prometheus_client.Gauge(
                    'node_{}'.format(field_name),
                    'node_{}'.format(field_name),
                    ['job_id', 'ib_port', 'time_stamp'])
            else:
                self.gauges[field_name] = prometheus_client.Gauge(
                    'node_{}'.format(field_name),
                    'node_{}'.format(field_name),
                    ['job_id']
                )