envoyproxy / envoyproxy/envoy

Add Support for `traceresponse` Header in OpenTelemetry Tracing

Open
#36,666 6 comments 1 reaction 0 assignees View on GitHub
area/opentelemetry no stalebot
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 22h
Merged PRs (30d)
430

Description

*Title*: *Add Support for `traceresponse` Header in OpenTelemetry Tracing*

*Description*:

I propose adding `traceresponse` headers, as defined by the [Trace Response Header Specification](https://w3c.github.io/trace-context/#traceresponse-header), when OpenTelemetry tracing is enabled.

I didn't find any references to this header in the documentation: [Tracing](https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/observability/tracing) and [OpenTelemetry tracer (proto)](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/trace/v3/opentelemetry.proto.html).

I'm interested to know if there is an existing mechanism that automatically adds this header, or if there is any ongoing development for this feature. If not, I would like to suggest its implementation.

The benefit of this feature would be to pass the trace information to the calling client, even if the client did not originally set up the trace, allowing the client to use the trace ID for troubleshooting purposes.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.