src/worker/exporters/base_exporter.py [33:39]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            self.gauges[field_name] = prometheus_client.Gauge(
                'node_{}'.format(field_name),
                'node_{}'.format(field_name),
                ['job_id']
            )

    def collect(self, field_name):
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/worker/exporters/node_exporter.py [91:100]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                self.gauges[field_name] = prometheus_client.Gauge(
                    'node_{}'.format(field_name),
                    'node_{}'.format(field_name),
                    ['job_id']
                )

    # example function of how to collect metrics from a command using the
    # shell_cmd helper function the parent class will call this collect
    # function to update the Prometheus gauges
    def collect(self, field_name):  # noqa: C901
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



