summaryrefslogtreecommitdiff
path: root/f3s/argocd-apps/monitoring/tempo.yaml.disabled
blob: 0fd6bc17e7e985b45eb0564a61577ca585c3f4f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: tempo
  namespace: cicd
  finalizers:
    - resources-finalizer.argocd.argoproj.io
spec:
  project: default
  source:
    repoURL: https://grafana.github.io/helm-charts
    chart: tempo
    targetRevision: 1.24.1
    helm:
      releaseName: tempo
      valuesObject:
        # Grafana Tempo - Monolithic Mode Configuration
        tempo:
          # Retention policy for traces (7 days)
          retention: 168h

          # Storage configuration - Local filesystem backend
          storage:
            trace:
              backend: local
              local:
                path: /var/tempo/traces
              wal:
                path: /var/tempo/wal

          # Distributor configuration with OTLP receivers
          receivers:
            otlp:
              protocols:
                grpc:
                  endpoint: 0.0.0.0:4317
                http:
                  endpoint: 0.0.0.0:4318

        # Persistence configuration using hostPath PV
        persistence:
          enabled: true
          size: 10Gi
          storageClassName: ""  # Empty string for manual PV binding
          accessModes:
            - ReadWriteOnce

        # Service configuration
        service:
          type: ClusterIP

        # Resource limits
        resources:
          limits:
            cpu: 1000m
            memory: 2Gi
          requests:
            cpu: 500m
            memory: 1Gi

        # Security context
        securityContext:
          fsGroup: 10001
          runAsUser: 10001
          runAsGroup: 10001
          runAsNonRoot: true

        # Disable components not needed in monolithic mode
        gateway:
          enabled: false

        # Monitoring integration with Prometheus
        serviceMonitor:
          enabled: true
          labels:
            release: prometheus

        # Test pod disabled
        test:
          enabled: false

  destination:
    server: https://kubernetes.default.svc
    namespace: monitoring

  syncPolicy:
    automated:
      prune: true
      selfHeal: true
    syncOptions:
      - CreateNamespace=false
    retry:
      limit: 3
      backoff:
        duration: 5s
        factor: 2
        maxDuration: 1m