We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0de60d commit d4f7d56Copy full SHA for d4f7d56
code/function/fastapp/utils.py
@@ -130,7 +130,7 @@ def setup_opentelemetry(app: FastAPI):
130
# Create instrumenter
131
FastAPIInstrumentor.instrument_app(
132
app,
133
- excluded_urls=f"{settings.API_V1_STR}/health/heartbeat",
+ excluded_urls=f".*.in.applicationinsights.azure.com/.*,{settings.API_V1_STR}/health/heartbeat",
134
tracer_provider=tracer_provider,
135
meter_provider=meter_provider,
136
)
0 commit comments