ArnauA
ZITADELβ€’5w agoβ€’
12 replies
Arnau

Configure OTel tracing endpoint with custom headers

βš™οΈConfiguration🏬Self-hosted🧩Integrations❓Questionβœ…Solved
Hello ZITADEL team,

Context: we are running Zitadel v4.10.1 self hosted in nonprod and production usage on AWS EKS, using latest HelmChart 9.17.0

We have our own Loki / Grafana / Tempo / Prometheus stack as well.

Our Tempo instance requires username/password with
Authorization
header to push metrics in OTel format.

Exploring Zitadel instrumentation configuration options (
Instrumentation.Trace
) I was able to find properties to define the endpoint, but not to define headers.

I've seen
Telemetry.Headers
option but it's unclear to me how they relate or if they can work in combination.

Taking a look at the current config from main, it guess our values would look like:

Instrumentation:
  ServiceName: "zitadel"
  Trace:
    Fraction: 1.0 
    TrustRemoteSpans: false #
    Exporter:
      Type: "http" 
      Endpoint: "https://tempo.env.company.com" 
      Insecure: false
      BatchDuration: 1s

https://github.com/zitadel/zitadel/blob/main/cmd/defaults.yaml

Question: is it supported to define custom headers for the tracing endpoint?
Was this page helpful?