-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
Copy pathvalues.yaml
130 lines (122 loc) · 3.9 KB
/
values.yaml
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Configuration for grafana chart, see https://github.com/grafana/helm-charts/tree/main/charts/grafana
# Set a password explicitly to avoid infinite tilt reloads because
# of a random password.
adminPassword: admin
grafana.ini:
# Disable the grafana login form.
auth:
disable_login_form: true
# Enable anonymous user, and set them as part of the default org.
auth.anonymous:
enabled: true
org_name: Main Org.
org_role: Admin
feature_toggles:
enable: "tempoSearch tempoBackendSearch"
# Adds loki as a datasource.
datasources:
datasources.yaml:
apiVersion: 1
datasources:
# https://grafana.com/docs/grafana/latest/datasources/loki/
- name: Loki
type: loki
uid: loki
orgId: 1
url: http://loki:3100
isDefault: true
editable: true
# This header has to be set as we had to set an OrgID
# in alloy to be able to push the logs to Loki.
jsonData:
maxLines: 1000
derivedFields:
- datasourceUid: tempo
matcherRegex: '"traceID":"(\w+)"'
name: TraceID
url: $${__value.raw}
urlDisplayLabel: Trace
httpHeaderName1: 'X-Scope-OrgID'
secureJsonData:
httpHeaderValue1: '1'
- name: Prometheus
type: prometheus
uid: prometheus
url: http://prometheus-server
editable: true
jsonData:
httpMethod: 'GET'
exemplarTraceIdDestinations:
- name: 'TraceID'
datasourceUid: 'tempo'
# https://grafana.com/docs/grafana/latest/datasources/tempo/
- name: Tempo
type: tempo
uid: tempo
url: http://tempo:3100
editable: true
jsonData:
tracesToLogs:
datasourceUid: 'loki'
tags: [ 'app' ]
spanEndTimeShift: 1h
spanStartTimeShift: -1h
filterByTraceID: true
filterBySpanID: false
lokiSearch: true
serviceMap:
datasourceUid: 'prometheus'
search:
hide: false
nodeGraph:
enabled: true
dashboardProviders:
dashboardproviders.yaml:
apiVersion: 1
providers:
- name: 'default'
orgId: 1
folder: ''
type: file
disableDeletion: false
editable: true
options:
path: /var/lib/grafana/dashboards/default
extraConfigmapMounts:
- name: grafana-dashboard-cluster-api-mgmt-apiserver-requests
configMap: grafana-dashboard-cluster-api-mgmt-apiserver-requests
mountPath: /var/lib/grafana/dashboards/default/cluster-api-mgmt-apiserver-requests.json
subPath: cluster-api-mgmt-apiserver-requests.json
optional: false
- name: grafana-dashboard-cluster-api-performance
configMap: grafana-dashboard-cluster-api-performance
mountPath: /var/lib/grafana/dashboards/default/cluster-api-performance.json
subPath: cluster-api-performance.json
optional: false
- name: grafana-dashboard-cluster-api-state
configMap: grafana-dashboard-cluster-api-state
mountPath: /var/lib/grafana/dashboards/default/cluster-api-state.json
subPath: cluster-api-state.json
optional: false
- name: grafana-dashboard-cluster-api-wl-apiserver-requests
configMap: grafana-dashboard-cluster-api-wl-apiserver-requests
mountPath: /var/lib/grafana/dashboards/default/cluster-api-wl-apiserver-requests.json
subPath: cluster-api-wl-apiserver-requests.json
optional: false
- name: grafana-dashboard-controller-runtime
configMap: grafana-dashboard-controller-runtime
mountPath: /var/lib/grafana/dashboards/default/controller-runtime.json
subPath: controller-runtime.json
optional: false
- name: grafana-dashboard-runtime-extensions
configMap: grafana-dashboard-runtime-extensions
mountPath: /var/lib/grafana/dashboards/default/runtime-extensions.json
subPath: runtime-extensions.json
optional: false
# Disable grafana test framework
testFramework:
enabled: false
# Disable PSP because PSPs have been dropped with
# Kubernetes v1.25
rbac:
pspEnabled: false