Skip to content

Conversation

istathar
Copy link
Member

As announced at https://www.honeycomb.io/blog/opentelemetry-http-attributes, OpenTelemetry is addopting new stabilized attribute names for HTTP factors. This branch updates the field names sent by Core.Webserver.Warp for requests and responses.

@istathar istathar added the core-webserver Issues involving wrappers around web frameworks label Dec 18, 2023
@istathar istathar self-assigned this Dec 18, 2023
Copy link
Contributor

@pasunboneleve pasunboneleve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but I miss tests (or a mention that you tested it live).

@istathar
Copy link
Member Author

I agree this part of the codebase needs a proper test harness.

I ran tests/WarpSnippet locally with --telemetry=console and indeed the expected frames were emitted with the new values. Fixed one additional field that was overlooked.

@pasunboneleve
Copy link
Contributor

Maybe see if Publish sends the data properly to Honeycomb? You need proof their server understands the data you'll be sending too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core-webserver Issues involving wrappers around web frameworks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants