Skip to content

Commit 182fa34

Browse files
committed
Exclude dev endpoints from OTEL
1 parent 89ca760 commit 182fa34

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cohd/app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
trace.set_tracer_provider(
7171
tp
7272
)
73-
otel_excluded_urls = 'health,api/health'
73+
otel_excluded_urls = 'health,api/health,api/dev/.*'
7474
tracer = trace.get_tracer(__name__)
7575
FlaskInstrumentor().instrument_app(app,
7676
excluded_urls=otel_excluded_urls)

0 commit comments

Comments
 (0)