Skip to content

instrumentation-http: Introduce a hook to allow customizing the Context #5537

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

Open
s0 opened this issue Mar 17, 2025 · 0 comments · May be fixed by #5538
Open

instrumentation-http: Introduce a hook to allow customizing the Context #5537

s0 opened this issue Mar 17, 2025 · 0 comments · May be fixed by #5538

Comments

@s0
Copy link

s0 commented Mar 17, 2025

Is your feature request related to a problem? Please describe.

I'm building a caching library with deep integrations into the open telemetry API, and I would like access to additional information about user request when handling data requests.

It seems to me like the Context object is the perfect mechanism for this, however there's no way to add custom properties to the context that's initialised for each request in instrumentation-http.

Describe the solution you'd like

Introduction of a new hook to allow customising the context with additional attributes.

Describe alternatives you've considered

N/A

Additional context

N/A

@s0 s0 linked a pull request Mar 17, 2025 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant