kspan transforms Kubernetes Events into correlated OpenTelemetry spans to visualize and trace cluster activity.
Turning Kubernetes Events into spans
kspan is used by Kubernetes operators and SecOps teams to monitor and analyze Kubernetes event flows by converting them into distributed traces. This enables better understanding of event causality and system behavior during deployments or scaling operations, facilitating troubleshooting and security monitoring.
kspan is a work in progress and actively evolving; users should expect ongoing changes and improvements. It requires a running Jaeger instance for visualization and depends on Kubernetes event streams, which may arrive out of order, so some delay in event processing is implemented. Integration with resourceVersion matching is a potential future enhancement.
Run Jaeger locally with: docker run -d --name jaeger -p 16686:16686 -p 55680:55680 jaegertracing/opentelemetry-all-in-one
kubectl apply -f <deployment.yaml>
Trigger Kubernetes events that kspan will capture and convert into spans.
docker run -d --name jaeger -p 16686:16686 -p 55680:55680 jaegertracing/opentelemetry-all-in-one
Run Jaeger locally to visualize the spans and traces generated by kspan.