newrelic-telemetry-sdk-python icon indicating copy to clipboard operation
newrelic-telemetry-sdk-python copied to clipboard

exclude endpoint of tracking

Open raphaelauv opened this issue 1 year ago • 0 comments

I would like to disable the tracking on specific endpoints

with OTEL I would do

FastAPIInstrumentor.instrument_app(app=my_app, excluded_urls="/$,/health$,/openapi.json$")

but what is the equivalent with

newrelic.agent.initialize()

?

thank you

raphaelauv avatar Mar 14 '23 13:03 raphaelauv