Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adopt new OpenTelemetry HTTP attribute names #202

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

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

@dmvianna dmvianna 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.

@dmvianna
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