Skip to content

Add trace data to response headers #9846

Open
@shameekagarwal

Description

@shameekagarwal

Is your feature request related to a problem? Please describe.

e.g. a get request fails
when searching through trace / logs
currently, we would have to use tricks like "filter by latest operations", "filter by exception", etc
if the response headers included the trace and span ids
searching through trace / logs becomes much easier

currently, my understanding is that we can use extensions for this
if this feature can be configured via a java system property in otel agent
would be very helpful for debugging

Describe the solution you'd like

configuring this on the otel agent via an environment variable / system property

Describe alternatives you've considered

using an extension - maintenance overhead not worth it for such a small feature imho

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions