sigs.k8s.io/cluster-api@v1.7.1/hack/observability/grafana/chart/values.yaml (about)

     1  # Configuration for grafana chart, see https://github.com/grafana/helm-charts/tree/main/charts/grafana
     2  
     3  # Set a password explicitly to avoid infinite tilt reloads because
     4  # of a random password.
     5  adminPassword: admin
     6  
     7  grafana.ini:
     8    # Disable the grafana login form.
     9    auth:
    10      disable_login_form: true
    11    # Enable anonymous user, and set them as part of the default org.
    12    auth.anonymous:
    13      enabled: true
    14      org_name: Main Org.
    15      org_role: Admin
    16    feature_toggles:
    17      enable: "tempoSearch tempoBackendSearch"
    18  
    19  # Adds loki as a datasource.
    20  datasources:
    21    datasources.yaml:
    22      apiVersion: 1
    23      datasources:
    24      # https://grafana.com/docs/grafana/latest/datasources/loki/
    25      - name: Loki
    26        type: loki
    27        uid: loki
    28        orgId: 1
    29        url: http://loki:3100
    30        isDefault: true
    31        editable: true
    32        # This header has to be set as we had to set an OrgID
    33        # in promtail to be able to push the logs to Loki.
    34        jsonData:
    35          maxLines: 1000
    36          derivedFields:
    37          - datasourceUid: tempo
    38            matcherRegex: '"traceID":"(\w+)"'
    39            name: TraceID
    40            url: $${__value.raw}
    41            urlDisplayLabel: Trace
    42          httpHeaderName1: 'X-Scope-OrgID'
    43        secureJsonData:
    44          httpHeaderValue1: '1'
    45      - name: Prometheus
    46        type: prometheus
    47        uid: prometheus
    48        url: http://prometheus-server
    49        editable: true
    50        jsonData:
    51          httpMethod: 'GET'
    52          exemplarTraceIdDestinations:
    53          - name: 'TraceID'
    54            datasourceUid: 'tempo'
    55      # https://grafana.com/docs/grafana/latest/datasources/tempo/
    56      - name: Tempo
    57        type: tempo
    58        uid: tempo
    59        url: http://tempo:3100
    60        editable: true
    61        jsonData:
    62          tracesToLogs:
    63            datasourceUid: 'loki'
    64            tags: [ 'app' ]
    65            spanEndTimeShift: 1h
    66            spanStartTimeShift: -1h
    67            filterByTraceID: true
    68            filterBySpanID: false
    69            lokiSearch: true
    70  
    71          serviceMap:
    72            datasourceUid: 'prometheus'
    73          search:
    74            hide: false
    75          nodeGraph:
    76            enabled: true
    77  
    78  dashboardProviders:
    79    dashboardproviders.yaml:
    80      apiVersion: 1
    81      providers:
    82      - name: 'default'
    83        orgId: 1
    84        folder: ''
    85        type: file
    86        disableDeletion: false
    87        editable: true
    88        options:
    89          path: /var/lib/grafana/dashboards/default
    90  
    91  dashboardsConfigMaps:
    92    default: grafana-dashboards
    93  
    94  # Disable grafana test framework
    95  testFramework:
    96    enabled: false
    97  
    98  # Disable PSP because PSPs have been dropped with
    99  # Kubernetes v1.25
   100  rbac:
   101    pspEnabled: false