code: def get(self):
      self.write(prometheus_client.generate_latest())
      self.set_header("Content-Type", "text/plain; version=0.0.4")
  
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 2 for calling the PrometheusHandler obj's underlying member method code with example usage: obj.get() without return types