newrelic-python-agent icon indicating copy to clipboard operation
newrelic-python-agent copied to clipboard

New Relic Python Agent

Results 97 newrelic-python-agent issues
Sort by recently updated
recently updated
newest added

### 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...

feature-request

### 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...

feature-request

**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...

bug
needs-triage

**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...

bug
needs-triage

### 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...

stale

**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...

bug
needs-triage
stale

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,...

tests-failing

This PR provides instrumentation support for AioBotocore

tests-failing

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...

bug
needs-triage

# 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...

tests-failing