add tempo (tracing), pyroscope (profiling), node exporter (metriche)

This commit is contained in:
2025-11-08 11:01:39 +01:00
parent 9dba844d13
commit 4c2a5b6738
10 changed files with 463 additions and 397 deletions

View File

@@ -10,3 +10,65 @@ datasources:
jsonData:
timeInterval: 10s
queryTimeout: 60s
- name: Loki
type: loki
access: proxy
url: http://loki:3100
isDefault: false
editable: true
jsonData:
maxLines: 1000
derivedFields:
- datasourceUid: tempo
matcherRegex: "trace_?id[\":]\\s*\"?([0-9a-fA-F]+)"
name: TraceID
url: "$${__value.raw}"
- name: Tempo
type: tempo
uid: tempo
access: proxy
url: http://tempo:3200
isDefault: false
editable: true
jsonData:
httpMethod: GET
tracesToLogs:
datasourceUid: loki
mapTagNamesEnabled: true
mappedTags:
- key: service.name
value: service_name
spanStartTimeShift: '-1h'
spanEndTimeShift: '1h'
filterByTraceID: true
filterBySpanID: false
tracesToMetrics:
datasourceUid: prometheus
spanStartTimeShift: '-1h'
spanEndTimeShift: '1h'
tracesToProfiles:
datasourceUid: pyroscope
tags:
- key: service.name
value: service_name
serviceMap:
datasourceUid: prometheus
nodeGraph:
enabled: true
search:
hide: false
lokiSearch:
datasourceUid: loki
- name: Pyroscope
type: grafana-pyroscope-datasource
uid: pyroscope
access: proxy
url: http://pyroscope:4040
isDefault: false
editable: true
jsonData:
keepCookies: []
minStep: '15s'