elastic / apm-data

apm-data holds definitions and code for manipulating Elastic APM data
Apache License 2.0
12 stars 25 forks source link

Map OTLP HTTP request and response headers #285

Open stevejgordon opened 3 months ago

stevejgordon commented 3 months ago

Per the OTel semantic conventions, client and server HTTP spans may send the request and response headers using the following attributes:

We don't currently map these in traces.go onto the modelpb.HTTPRequest.Headers and modelpb.HTTPResponse.Headers. As a result, if these are included in the span attributes, they are mapped onto labels.* which is not ideal.

image

These should ideally be mapped to our APM model.

simitt commented 1 week ago

@stevejgordon any chance you could pick this up at some time?

stevejgordon commented 6 days ago

@simitt I'd like to try to tackle this. It won't be earlier than next week, though, as I have some other competing work items.