Skip to content

OpenTelemetry Integration #370

Answered by stefanprodan
saada asked this question in Proposals
Oct 22, 2020 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

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 …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@stanfordpeng
Comment options

@stanfordpeng
Comment options

Answer selected by saada
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants