Replies: 1 comment 3 replies
-
Excluding certain routes from being traced in flask app doesn't automatically make the other instrumentations also not produce spans under that endpoint. At least that's how it works as of today. May be there is an expectation mismatch here. Or your assumption should be the actual behaviour. cc @open-telemetry/python-approvers |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using opentelemetry instrumentations for
flask
,sqlalchemy
andredis
.I'm doing
sqlalchemy
andredis
connection checks (by sqlselect 1
and redisping
) in endpoint/healthz
.I've excluded url
/healthz
from flask instrumentation, and tracing records of/healthz
did disappeared.But the tracing events of database
select 1
and redisping
are still emitting as dedicated spans, showing in jaeger query.Am I doing it wrong?
Beta Was this translation helpful? Give feedback.
All reactions