We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 762bf57 commit 89ca760Copy full SHA for 89ca760
1 file changed
cohd/app.py
@@ -59,7 +59,6 @@
59
deployment_env = app.config.get('DEPLOYMENT_ENV', 'dev')
60
if deployment_env[:4] == 'ITRB':
61
jaeger_host = 'jaeger-otel-agent.sri'
62
-# jaeger_exporter = OTLPSpanExporter(endpoint=jaeger_host)
63
jaeger_exporter = JaegerExporter(
64
agent_host_name=jaeger_host,
65
agent_port=6831,
@@ -73,5 +72,6 @@
73
72
)
74
otel_excluded_urls = 'health,api/health'
75
tracer = trace.get_tracer(__name__)
76
-FlaskInstrumentor().instrument_app(app)
+FlaskInstrumentor().instrument_app(app,
+ excluded_urls=otel_excluded_urls)
77
logging.info('Finished instrumenting app for OTEL')
0 commit comments