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

Import newrelic.agent first in wsgi app #7149

Merged
merged 1 commit into from May 2, 2019

Conversation

Projects
None yet
2 participants
@jgmize
Copy link
Member

commented May 2, 2019

Description

We are getting the following message in NR:

Some modules were uninstrumented during the current time window: meinheld.server, gunicorn.app.base. Make sure newrelic.agent.initialize() is called before any of these modules are imported. Visit the documentation for more information.

This PR re-orders the imports in the wsgi app as per the message above and the docs.

@jgmize jgmize requested a review from pmac May 2, 2019

@pmac

pmac approved these changes May 2, 2019

Copy link
Member

left a comment

👍

@pmac pmac merged commit a3ee82e into mozilla:master May 2, 2019

2 checks passed

ci/circleci: test_js Your tests passed on CircleCI!
Details
ci/circleci: test_py Your tests passed on CircleCI!
Details

@jgmize jgmize deleted the jgmize:import-nr-first branch May 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.