newrelic-python-agent
newrelic-python-agent copied to clipboard
New Relic Python Agent
Agent currently reports class name for `code.function` in the case of Flask method dispatching rather than the expected request method.
**Description** We upgraded our service from 7.14.0.177 to 7.16.0.178 and start to get the errors on Sentry: ``` InterfaceError newrelic.hooks.database_psycopg2 in cursor connection already closed ```  **Expected Behavior** **Steps...
### Is your feature request related to a problem? Please describe. Custom attributes are very useful, but having to manually set them for celery task is cumbersome ### Feature Description...
Hey, thanks for the great monitoring integration! [psycong3 was released in October 2021](https://www.psycopg.org/), do you have any plans to support it? Would be really nice to have a hook for...
[NOTE]: # Server stopped working **Description** After upgrading from newrelic-7.10.0.175 to newrelic-7.14.0.177 **Expected Behavior** Nothing should happen in terms of the Application performance **[Troubleshooting](https://discuss.newrelic.com/t/troubleshooting-frameworks/108787) or [NR Diag](https://docs.newrelic.com/docs/using-new-relic/cross-product-functions/troubleshooting/new-relic-diagnostics) results** Stack trace...
Atm python agent is publishing information about modules (like numpy) but missing versions. Afaik this information is present on runtime can be fetched and sent as attribute map for the...
https://github.com/newrelic/newrelic-python-agent/blob/242c51a869b506d4235c8fedf024002251ac502c/newrelic/api/asgi_application.py#L172 Seems weird that the default would be "'unsafe-inline'"? - https://github.com/newrelic/newrelic-python-agent/blob/242c51a869b506d4235c8fedf024002251ac502c/newrelic/api/html_insertion.py#L32 - https://github.com/newrelic/newrelic-python-agent/blob/242c51a869b506d4235c8fedf024002251ac502c/newrelic/api/html_insertion.py#L49 - https://github.com/newrelic/newrelic-python-agent/blob/ad65494033a6aef95fa2cd10b49ae73cb4c612ed/newrelic/api/web_transaction.py#L42-L44 Any suggestions? - https://docs.newrelic.com/docs/apm/agents/python-agent/python-agent-api/disablebrowserautorum-python-agent-api/ - https://discuss.newrelic.com/t/content-security-policy-and-browser-injection/2629 - https://github.com/newrelic/newrelic-python-agent/blob/ad65494033a6aef95fa2cd10b49ae73cb4c612ed/newrelic/api/web_transaction.py#L402-L403 Similar: - https://github.com/newrelic/newrelic-ruby-agent/issues/332 - https://github.com/newrelic/newrelic-ruby-agent/pull/673/files -
# Overview * GraphQL Async Instrumentation and Testing updates # Related Github Issue Closes #505
### Is your feature request related to a problem? Please describe. I'm always frustrated when trying to pinpoint performance issues using new relic with our async stack. ### Feature Description...
Build full async graphql stack and validate with sleep(10) in the UI that async middleware, resolvers, operation traces all have proper timing.