Skip to content

Commit 4ca4965

Browse files
authored
chore: add tempo to metrics (#18114)
Deploy tempo to ingest traces Fix A-214
2 parents b897aaa + 5974147 commit 4ca4965

File tree

1 file changed

+37
-1
lines changed

1 file changed

+37
-1
lines changed

spartan/metrics/values/prod.yaml

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@ opentelemetry-collector:
5959
metric_expiration: 5m
6060
resource_to_telemetry_conversion:
6161
enabled: false
62+
otlp/tempo:
63+
endpoint: http://metrics-tempo.metrics:4317
64+
tls:
65+
insecure: true
6266
service:
6367
pipelines:
6468
metrics:
@@ -73,6 +77,14 @@ opentelemetry-collector:
7377
exporters:
7478
- prometheus
7579
# - debug
80+
traces:
81+
receivers:
82+
- otlp
83+
processors:
84+
- memory_limiter
85+
- batch
86+
exporters:
87+
- otlp/tempo
7688

7789
prometheus:
7890
server:
@@ -109,7 +121,28 @@ loki:
109121
enabled: false
110122

111123
tempo:
112-
enabled: false
124+
enabled: true
125+
tempo:
126+
resources:
127+
requests:
128+
memory: 4Gi
129+
cpu: "2"
130+
limits:
131+
memory: 8Gi
132+
cpu: "4"
133+
retention: 120h
134+
ingester:
135+
max_block_bytes: 524288000 # 500MB
136+
max_block_duration: 30m
137+
distributor:
138+
log_received_spans:
139+
enabled: false
140+
persistence:
141+
enabled: true
142+
size: 256Gi
143+
storageClassName: standard-rwo
144+
nodeSelector:
145+
node-type: infra
113146

114147
# https://artifacthub.io/packages/helm/grafana/grafana
115148
grafana:
@@ -135,3 +168,6 @@ grafana:
135168
uid: spartan-metrics-prometheus
136169
isDefault: true
137170
url: http://metrics-prometheus-server.metrics:80
171+
- name: Tempo
172+
type: tempo
173+
url: http://metrics-tempo.metrics:3100

0 commit comments

Comments
 (0)