Does flink in new version have a feature of tracin...
# troubleshooting
u
Does flink in new version have a feature of tracing? i mean to see the flow of every single message
a
From https://nightlies.apache.org/flink/flink-docs-master/docs/ops/traces/:
Currently, we don’t support traces with multiple spans. Each
Span
is self-contained and represents things like a checkpoint or recovery.
Sounds like the built-in support is limited. No sure what the extent of the support is. I remember seeing FLIPs for adding support for multiple spans, but I don't know what the status is.
Looking a OpenTelemetry list of supported instrumentation Java libraries, I do not see one for Flink. I'm not sure whether trace ids are propagated throughout a Flink cluster or not. See https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md#libraries--frameworks for reference. If not, then you won't be able to trace messages as they move across the cluster.