Flask instrumentation example doesn't work #550
Labels
bug
Something isn't working
instrumentation
Related to the instrumentation of third party libraries or frameworks
Describe your environment
Running on MacOS against the latest
mater
version of theopentelemetry-*
packages.Steps to reproduce
Instrument the app as described in the docs and docstring -
What is the expected behavior?
I would expect the flask app to start without any errors when running it locally.
What is the actual behavior?
I get an error running the app -
This is consistent with the fact that the
instrument_app
symbol no longer appears to be inopentelemetry.ext.flask
.The last time I ran this code was against v0.3 of the packages, so I imagine a lot has changed since then. It would be helpful to document the new correct way to instrument flask apps as it isn't currently clear to me what the correct way to do this is from looking at the docs and the code. Thanks!
The text was updated successfully, but these errors were encountered: