code: def get_flow_metric_labels(prometheus_client: PrometheusConnect):
      labels = set(
          prometheus_client.get_label_values(label_name="__name__")
      )
      return set(
          [
              label
              for label in labels
              if not (
                  label.startswith("otelcol")
                  or label.startswith("scrape")
              )
          ]
      )
  
imports: from typing import Dict, Optional
  import requests
  from docarray import DocumentArray
  from opentelemetry.context.context import Context
  from prometheus_api_client import PrometheusConnect
  from jina import Executor, requests
label_desc: Use image node_id 8 for calling a global function with example usage: get_flow_metric_labels(prometheus_client) and returns: set