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

Disable flask debug reloader for auto instrumentation #13

Merged

Conversation

NathanielRN
Copy link
Contributor

@NathanielRN NathanielRN commented Jun 22, 2021

Description

After further investigation, we found out in open-telemetry/opentelemetry-python-contrib#546 how to isolate the fix needed to make auto instrumentation work with a debug=True flask app.

We need to set use_reloader=False.

See also this Slack thread.

@NathanielRN NathanielRN merged commit 0b073c3 into aws-observability:main Jun 22, 2021
@NathanielRN NathanielRN deleted the better-auto-instrumentation-ex branch June 22, 2021 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant