Increase Tracing Span Limit?

I am using the python sdk with sentry on-prem 21.10.0. We have a django app we are using tracing on. On certain views we get the following message
“The next spans are unavailable. You may have exceeded the span limit or need to address missing instrumentation.”
The view does a ton of quick redis queries which I assume is causing the limit to be exceeded. Is there a way to increase the limit?

I know the real solution is to not run thousands of queries in a single method, but that can’t be fixed right now :slight_smile:

@untitaker, do we have a config for this? (client or server side?)

We do - under _experiments["max_spans"], in the sentry_sdk.init() options.

to the sdk init appears to have worked