Enable setting customer OTEL headers at startup

XMLWordPrintableJSON

    • Networking & Observability
    • Fully Compatible
    • N&O 2025-06-22
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The OpenTelemetry SDK support setting custom HTTP headers. Ensure the server can accept such headers and set them on the HTTP exporter.

      OtlpHttpSpanExporter.builder()
          .setEndpoint("http://localhost:4318/v1/traces")
          .addHeader("X-Custom-Header", "value")
          .build();
      

            Assignee:
            Alexander Ambrose
            Reporter:
            Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: