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

add wrapper support for Starlette #1830

Merged
merged 3 commits into from
May 25, 2023

Conversation

beniwohli
Copy link
Contributor

The instrumentation itself is fairly trivial, we wrap Starlette.build_middleware_stack to insert our middleware.

Testing was a bit more difficult. Ultimately, I resorted to only test the wrapping, but without use of the wrapper script.

Related issues

Closes #1602

The instrumentation itself is fairly trivial, we wrap
`Starlette.build_middleware_stack` to insert our middleware.

Testing was a bit more difficult. Ultimately, I resorted to only
test the wrapping, but without use of the wrapper script.
@basepi
Copy link
Contributor

basepi commented May 10, 2023

Don't forget CHANGELOG

@basepi basepi merged commit 862b6e1 into elastic:main May 25, 2023
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.

No-Code-Changes Instrumentation: Starlette/FastAPI
2 participants