Skip to content

Map OTLP HTTP request and response headers #285

@stevejgordon

Description

@stevejgordon

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

  • http.request.header.<key>
  • http.response.header.<key>

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions