code: def __init__(self, server: Scheduler):
      super().__init__(server)
      self.subsystem = "scheduler"
  
file_path: distributed/distributed/http/scheduler/prometheus/core.py
imports: from __future__ import annotations
  from collections.abc import Iterator
  from time import time
  import prometheus_client
  import toolz
  from prometheus_client.core import CounterMetricFamily, GaugeMetricFamily
  from distributed.http.prometheus import PrometheusCollector
  from distributed.http.scheduler.prometheus.semaphore import SemaphoreMetricCollector
  from distributed.http.scheduler.prometheus.stealing import WorkStealingMetricCollector
  from distributed.http.utils import RequestHandler
  from distributed.scheduler import ALL_TASK_STATES, Scheduler
label_desc: Use image node_id 1 to create a new SchedulerMetricCollector object from inherited base classes: PrometheusCollector with example: obj = SchedulerMetricCollector(server)