newrelic-python-agent
newrelic-python-agent copied to clipboard
New Relic Python Agent
### Feature Description I scanned the flask framework support and didn't see that you were instrumenting flask commands https://flask.palletsprojects.com/en/2.3.x/cli/. Do you intend to instrument them? ### Describe Alternatives An alternative...
### Is your feature request related to a problem? Please describe. We publish custom events to new-relic using its `record_custom_event` API present in python agent and use `nrql` to create...
**Description** I am using newrelic agent 8.5.0 with my fastapi which houses both rest and websocket apis. The app get deployed in kubernetes and here is how the container command...
**Description** Trace details are nested for `django` calls but they shouldn't be **Expected Behavior** The trace should be linear/non-nested so it can be viewed and used as expected **Steps to...
### Is your feature request related to a problem? Please describe. Usage of decorators such as `@newrelic.agent.function_trace` prevent mypy from checking types on those functions. Here is mypy documentation describing...
**Description** We frequently see this in our Sentry: ``` Runtime instrumentation error. Attempt to drop the root when it is not the current trace. Report this issue to New Relic...
This PR adds support for [`.with_raw_response.`](https://github.com/openai/openai-python?tab=readme-ov-file#accessing-raw-response-data-eg-headers) prepending to HTTP method calls in OpenAI. Currently, the New Relic instrumentation will instrument this, but during the collection of custom AI event attributes,...
This PR provides instrumentation support for AioBotocore
Instrumenting a FastAPI app with New Relic executable (`newrelic-admin run-program`) causes failures in app endpoints due to a type mismatch on the ASGI middlewares chain **Description** Using this minimal example...
# Overview * Upgrade versions on CI image * Upgrade Ubuntu to 24.04 * Upgrade pypy versions to latest # Testing * Working build [here](https://github.com/newrelic/newrelic-python-agent/actions/runs/9702171444/job/26777424271) * Last test run on...