code: def get_traces(jaeger_port, service):
      response = http_requests.get(
          f"http://localhost:{jaeger_port}/api/traces?service={service}"
      )
      response.raise_for_status()
      return response.json().get("data", []) or []
  
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 1 for calling a global function with example usage: get_traces(jaeger_port, service) and returns: unknown