Skip to content

No way to drop unwanted trace headers #121

Description

@sriemer

Describe the bug

Some tracing vendors use vendor-specific trace headers which take precedence over the W3C trace context headers. Those are propagated as they are and cause trace propagation issues at the upstream service because that one does not pick up updated trace headers.

To reproduce

Steps to reproduce the behavior:

  1. Set up and run a demo application consisting of (client app, nginx, and server-app) that is using vendor-specific trace headers and nginx-otel in the middle in the observability vendor environment.
  2. Check trace correlation on the vendor UI
  3. tcpdump the demo application

Expected behavior

There is a configuration option for nginx-otel to drop unwanted headers from the outbound HTTP request.

Your environment

Additional context

With OpenTracing this was way easier but the data structures inside of nginx-otel are too limited for this.
Setting those headers to be dropped to empty string is not enough. They need to be dropped completely.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status
New

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions