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

Opentelemetry instrumentation http #186

Merged

Conversation

albertored
Copy link
Contributor

After a discussion about #183 we thought it would be nice to add a utility library for HTTP instrumentation.

At the moment I included in the lib only the code needed for extracting headers into attributes but it can be extended in the future to add more common functionalities.

Names of the options that each HTTP instrumentation library should expose (for instance to take a list of headers that should be extracted into span attributes) are not included on the library. We can put them here as macros but in that case, we should extend the lib and make it a mixed elixir/erlang one. I think it is an overkill for now but let me know what you think.

I added also the CI stuff (hope it works),

@tsloughter
Copy link
Member

🎉

@tsloughter
Copy link
Member

I think this is a good first start and just needs to have its changelog reflect what it has in the first commit.

@albertored albertored force-pushed the opentelemetry_instrumentation_htpp branch from e0885b7 to 74707d2 Compare July 15, 2023 12:51
@tsloughter tsloughter merged commit 26c68a0 into open-telemetry:main Jul 16, 2023
@albertored
Copy link
Contributor Author

@tsloughter how does it work the procedure for publishing this on hex.pm? Once published I can proceed with using it in instrumentation libraries

@albertored albertored deleted the opentelemetry_instrumentation_htpp branch July 22, 2023 13:20
@yordis yordis mentioned this pull request Dec 12, 2023
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants