Django + Python SDK not reporting performance

I cannot for the life of me figure out why the python SDK it not reporting spans / transactions for APM.

I had it working for half of a day, then it suddenly stopped working after a later deploy. I was sold on upgrading my Sentry plan, but now I’m not sure how to get it to work or if it will.

Locally, sentry will report errors, so I know that the DSN and such are right, but the APM section of the dashboard is still empty.

Below is what the configuration looks like:

sentry_sdk.init(
    dsn="...",
    integrations=[
        DjangoIntegration(),
        AioHttpIntegration(),
        CeleryIntegration(),
        RedisIntegration(),
    ],
    environment=API_HOST,
    # If you wish to associate users to errors (assuming you are using
    # django.contrib.auth) you may enable sending PII data.
    send_default_pii=True,
    traces_sample_rate=1.0
)

Any help is appreciated. I’m using the latest version of the SDK (just upgraded, didn’t work on the much older version either)

1 Like

Did you ever manage to get this working @timworx ? I have the exact same problem. I feel like I had seen the performance monitoring working once upon a time, but not for a while. I am also using the latest version of the SDK (1.0.0) w a Django app