Can anyone confirm whether or not Kratos supports ...
# talk-kratos
f
Can anyone confirm whether or not Kratos supports Zipkin tracing? The docs say
Tracing backend(s): Jaeger
but also mention support for Zipkin. I also get this log when starting Kratos with Zipkin tracing configured:
Zipkin *trace*r configured! Sending spans to  func=<http://github.com/ory/x/logrusx|github.com/ory/x/logrusx>
I looked for this message in https://github.dev/ory/x and found it on line
54
in
otelx/otel.go
and followed the structs and confirmed my config matches what it is looking for, yet the message being logged doesn’t seem to have my
server_url
from the configs. My configs:
Copy code
tracing:
  service_name: Ory Kratos
  providers:
    zipkin:
      server_url: <http://zipkin:9411/api/v2/spans>
  provider: zipkin
These configs work for Keto but not Kratos, as it may not be supported! 🤷‍♀️
n
Hey it may be missing. I remember opening a PR to add it to oathkeeper, so something similar might need to be done there (Reference https://github.com/ory/oathkeeper/pull/832)
f
Ahh okay! I looked through your PR and, at least for Oathkeeper, it seems like there wasn’t too many changes needed to get it working. I may come back to this in the near future if I get some free time Thanks for the reply, and for adding it to Oathkeeper! 🙂