I'm using Sentry Python, and have an ETL script that makes a lot of DB calls. I'm in a Sentry trace context, and there's a portion of code where it repeats a bunch of SQLAlchemy SQL queries with pagination, and since there are a lot of pages, I get way too many spans.
Generally I live the automatic instrumentation, but is it possible to disable automatic instrumentation for a portion of a code?
Here is what ChatGPT hallucinated for me as what I can do which does not seem to exist in Sentry, but would be accurate to what I'm looking for. Is there anything like this in Sentry Python?