Skip to content

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.
@beniwohli beniwohli requested a review from basepi May 10, 2023 13:15
@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
2 participants