-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgrafana-monitoring-values.yml
162 lines (145 loc) · 3.4 KB
/
grafana-monitoring-values.yml
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
# yaml-language-server: $schema=https://raw.githubusercontent.com/grafana/k8s-monitoring-helm/refs/heads/main/charts/k8s-monitoring/values.schema.json
# Examples https://github.com/grafana/k8s-monitoring-helm/blob/main/charts/k8s-monitoring/docs/examples/features/cluster-events/default/values.yaml
cluster:
name: hetzner-k8s
global:
scrapeInterval: 30s
destinations:
- name: grafana-com-metrics
type: prometheus
url: https://prometheus-prod-01-eu-west-0.grafana.net/api/v1/write
auth:
type: basic
usernameKey: username
passwordKey: password
secret:
create: false
name: grafana-agent-prometheus-cred
namespace: monitoring
- name: grafana-com-loki
type: loki
url: https://logs-prod-eu-west-0.grafana.net/loki/api/v1/push
auth:
type: basic
usernameKey: username
passwordKey: password
secret:
create: false
name: grafana-agent-loki-cred
namespace: monitoring
- name: grafana-com-tempo
type: otlp
url: https://tempo-eu-west-0.grafana.net:443
metrics: { enabled: true }
logs: { enabled: true }
traces: { enabled: true }
auth:
type: basic
usernameKey: username
passwordKey: password
secret:
create: false
name: grafana-agent-tempo-cred
namespace: monitoring
clusterMetrics:
enabled: true
clusterEvents:
enabled: true
nodeLogs:
enabled: true
podLogs:
enabled: true
alloy-metrics:
enabled: true
alloy-logs:
enabled: true
alloy-receiver:
enabled: true
alloy-singleton:
enabled: true
prometheusOperatorObjects:
enabled: true
applicationObservability:
enabled: true
receivers:
jaeger:
grpc:
enabled: true
extraObjects: []
---
externalServices:
prometheus:
hostKey: host
# host: https://prometheus-prod-01-eu-west-0.grafana.net
# Authenticate to Prometheus using basic authentication
basicAuth:
usernameKey: username
passwordKey: password
# Credential management
secret:
create: false
name: grafana-agent-prometheus-cred
namespace: monitoring
loki:
hostKey: host
# host: https://logs-prod-eu-west-0.grafana.net
# Authenticate to Prometheus using basic authentication
basicAuth:
usernameKey: username
passwordKey: password
# Credential management
secret:
create: false
name: grafana-agent-loki-cred
namespace: monitoring
tempo:
# protocol: otlphttp # "otlp" or "otlphttp"
# host: https://tempo-eu-west-0.grafana.net
basicAuth:
usernameKey: username
passwordKey: password
secret:
create: false
name: grafana-agent-tempo-cred
namespace: monitoring
opencost:
enabled: true
opencost:
exporter:
defaultClusterId: hetzner-k8s
prometheus:
existingSecretName: grafana-agent-prometheus-cred
username_key: username
password_key: password
external:
url: https://prometheus-prod-01-eu-west-0.grafana.net/api/prom
metrics:
enabled: true
cost:
enabled: true
node-exporter:
enabled: true
traces:
enabled: true
logs:
enabled: true
pod_logs:
enabled: true
cluster_events:
enabled: true
receivers:
grpc:
enabled: true
http:
enabled: true
zipkin:
enabled: true
kube-state-metrics:
enabled: true
prometheus-node-exporter:
enabled: true
prometheus-operator-crds:
enabled: true
alloy: {}
alloy-events: {}
alloy-logs: {}