1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-09-18 14:11:48 +02:00

Add Tempo datasource to Grafana

This commit is contained in:
Sven-Hendrik Haase 2024-08-03 11:20:13 +02:00
parent 0c97667925
commit 3ccacb2875
No known key found for this signature in database
GPG Key ID: 39E4B877E62EB915

View File

@ -31,4 +31,40 @@ datasources:
url: http://localhost:9093
jsonData:
implementation: prometheus
- name: Tempo
type: tempo
access: proxy
url: http://localhost:3200
jsonData:
tracesToLogsV2:
# Field with an internal link pointing to a logs data source in Grafana.
# datasourceUid value must match the uid value of the logs data source.
datasourceUid: 'P8E80F9AEF21F6940'
spanStartTimeShift: '-1h'
spanEndTimeShift: '1h'
#tags: ['job', 'instance', 'pod', 'namespace']
filterByTraceID: false
filterBySpanID: false
customQuery: false
tracesToMetrics:
datasourceUid: 'PBFA97CFB590B2093'
spanStartTimeShift: '1h'
spanEndTimeShift: '-1h'
#tags: [{ key: 'service.name', value: 'service' }, { key: 'job' }]
#queries:
# - name: 'Sample query'
# query: 'sum(rate(traces_spanmetrics_latency_bucket{$$__tags}[5m]))'
serviceMap:
datasourceUid: 'PBFA97CFB590B2093'
nodeGraph:
enabled: true
search:
hide: false
traceQuery:
timeShiftEnabled: true
spanStartTimeShift: '1h'
spanEndTimeShift: '-1h'
spanBar:
type: 'Tag'
tag: 'http.path'
{% endif %}