-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
198 lines (186 loc) · 4.96 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
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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
# values.yaml for LGTM Helm Chart
# Grafana configuration
grafana:
enabled: true
image:
repository: grafana/grafana
tag: ""
# Administrator credentials when not using an existing secret (see below)
adminUser: admin
adminPassword: admin
grafana.ini:
dataproxy:
max_idle_connections: 500
sidecar:
datasources:
enabled: true
dashboards:
enabled: true
datasources:
datasources.yaml:
apiVersion: 1
datasources:
- name: Loki
type: loki
access: proxy
url: "http://lgtm-loki:3100"
version: 1
uid: loki
jsonData:
maxLines: 1000
derivedFields:
- datasourceUid: tempo
matcherType: label
matcherRegex: traceid
name: TraceID
# url will be interpreted as query for the datasource
url: '$${__value.raw}'
urlDisplayLabel: 'View Trace'
- name: Tempo
type: tempo
url: "http://lgtm-tempo:3100"
access: proxy
basicAuth: false
uid: tempo
jsonData:
tracesToLogsV2:
datasourceUid: 'loki'
spanStartTimeShift: '-1s'
spanEndTimeShift: '1s'
# tags: ['namespace', 'pod']
filterByTraceID: false
filterBySpanID: false
customQuery: true
query: '{namespace="$${__span.tags.namespace}", pod="$${__span.tags.pod}"} |="$${__trace.traceId}"'
tracesToMetrics:
datasourceUid: 'mimir'
spanStartTimeShift: '-1m'
spanEndTimeShift: '1m'
tags: [{ key: 'app'}]
queries:
- name: 'Sample query'
query: 'sum(rate(process_runtime_jvm_cpu_utilization{$$__tags}[5m]))'
- name: Mimir
type: prometheus
url: "http://lgtm-mimir:9009/prometheus"
uid: mimir
# Loki configuration
loki-stack:
enabled: true
loki:
enabled: true
image:
repository: grafana/loki
tag: 2.8.1
schema_config:
configs:
- from: "2024-09-01"
index:
period: 24h
prefix: index_
object_store: s3
schema: v11
store: boltdb-shipper
storage_config:
boltdb_shipper:
active_index_directory: /data/loki/index
cache_location: /data/loki/cache
shared_store: s3
filesystem:
directory: /data/loki/chunks
aws:
s3: http://admin:[email protected]:9000/loki
s3forcepathstyle: true
insecure: true
promtail:
enabled: false
fluent-bit:
enabled: false
grafana:
enabled: false
prometheus:
enabled: false
filebeat:
enabled: false
logstash:
enabled: false
image: grafana/logstash-output-loki
imageTag: 1.0.1
# Tempo configuration
tempo:
enabled: true
tempo:
repository: grafana/tempo
tag: ""
server:
http_listen_port: 3100 # HTTP server listen port
multitenancy_enabled: false
usage_report:
reporting_enabled: true
compactor:
compaction:
block_retention: 24h
distributor:
receivers:
jaeger:
protocols:
grpc:
endpoint: 0.0.0.0:14250
thrift_binary:
endpoint: 0.0.0.0:6832
thrift_compact:
endpoint: 0.0.0.0:6831
thrift_http:
endpoint: 0.0.0.0:14268
otlp:
protocols:
grpc:
endpoint: 0.0.0.0:4317
http:
endpoint: 0.0.0.0:4318
ingester:
max_block_duration: 5m #https://community.grafana.com/t/tempo-ram-usage-for-6k-spans-per-hour/63801/13
server:
http_listen_port: 3100
storage:
trace:
# tempo storage backend
# refer https://grafana.com/docs/tempo/latest/configuration/
## Use minio s3 for example
backend: s3
# store traces in s3
s3:
bucket: tempo # store traces in this bucket
endpoint: "lgtm-minio.default:9000" # api endpoint
access_key: admin # optional. access key when using static credentials.
secret_key: supersecret # optional. secret key when using static credentials.
insecure: true # optional. enable if endpoint is http
# Mimir configuration
mimir:
enabled: true
image:
repository: grafana/mimir
# Overrides the image tag whose default is the chart appVersion.
tag: "2.13.0"
multitenancy_enabled: false
common:
storage:
backend: s3
s3:
endpoint: "lgtm-minio.default:9000"
access_key_id: admin
secret_access_key: supersecret
insecure: true
bucket_name: mimir
# # Minio configuration
minio:
enabled: true
image:
registry: docker.io
repository: bitnami/minio
tag: 2024.3.15-debian-12-r0
mode: standalone
auth:
rootUser: admin
rootPassword: supersecret
defaultBuckets: "loki, mimir, tempo"