8000 Opentelemetry, unable to see traces for outgoing HTTP IdP Brokerage · keycloak keycloak · Discussion #46938 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

So digging into this and going through the source-code I found the following on why the tracing for the IDP is not (directly) visible within e.g. Jaeger:

So the spans do exist, but they are flat, one-per-HTTP-request. Everything inside (token exchange HTTP call, identity extraction, mapper processing, user lookup/creation) is visible within that single span.

So there are no child spans created for those sub-operations. The auto-instrumented span (e.g. Endpoint.authResponse) covers the entire method as one block — you can see it started and ended in Jaeger, but you cannot
see a breakdown of how time was spent within it on the trace level, only within the trace.

So for example, inside authR…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by hrietman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0