Http Headers are shown as custom labels when open telemetry agent is used

Hi ,

When I use open telemetry agent in NET 6 web application to send the trace data to Elastic Server , only few of http headers are shown in metadata of trace , and if any additional header is added using activity.SetTag for the http request , http header are shown as custom labels like labels.http_request_headers , but it Elastic agent is used for the same app all http headers are shown under http section and not as custom labels .

Is there any way to show http header under http section instead as custom labels ?

Hi @Sandeep_Jha,

Can you share what custom labels you have setup right now? Which version of Elastic Agent and Elastic are you using?

It sounds like you're comparing the Elastic Agent and OTel schemas which are different. If you're still having issues do share the messages.