OpenTelemetry Integration #370
-
We would like to get traces out of Flux to help debug issues with Flux and get visibility on what's happening. This is even more valuable now that Flux is broken up into different controllers. Would it be possible to integrate with OpenTelemetry? Example use case:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Similar to to how we defile alerts we could extend notification-controller to collect and push traces to an OpenTelemetry provider. Define a tracing provider: apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Provider
metadata:
name: jaeger
namespace: default
spec:
type: jaeger
address: http://jaeger-collector.jaeger-system.svc.cluster.local:9411 Enable tracing for specific reconciliations: apiVersion: notification.toolkit.fluxcd.io/v1beta1
kind: Trace
metadata:
name: webapp
namespace: default
spec:
providerRef:
name: jaeger
eventSources:
- kind: Kustomization
name: webapp-backend
- kind: HelmRelease
name: webapp-frontend Based on the above config, notification-controller would parse the events received and create a span for each source revision. |
Beta Was this translation helpful? Give feedback.
-
@stefanprodan Are there any plans on adding OpenTelemetry-Support in the near future? |
Beta Was this translation helpful? Give feedback.
Similar to to how we defile alerts we could extend notification-controller to collect and push traces to an OpenTelemetry provider.
Define a tracing provider:
Enable tracing for specific reconciliations:
Based on the above …