This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"apiVersion": 1,
|
||||
"datasources": [
|
||||
{
|
||||
"name": "Prometheus",
|
||||
"uid": "prometheus",
|
||||
"type": "prometheus",
|
||||
"access": "proxy",
|
||||
"url": "https://prometheus:49090",
|
||||
"isDefault": true,
|
||||
"jsonData": {}
|
||||
},
|
||||
{
|
||||
"name": "Loki",
|
||||
"uid": "loki",
|
||||
"type": "loki",
|
||||
"access": "proxy",
|
||||
"url": "https://loki:43101",
|
||||
"jsonData": {
|
||||
"derivedFields": [{
|
||||
"name": "TraceID",
|
||||
"matcherRegex": "\"trace_id\":\"([a-f0-9]{32})\"",
|
||||
"datasourceUid": "tempo",
|
||||
"url": "$${__value.raw}"
|
||||
}]
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "Tempo",
|
||||
"uid": "tempo",
|
||||
"type": "tempo",
|
||||
"access": "proxy",
|
||||
"url": "https://tempo:43200",
|
||||
"jsonData": {
|
||||
"tracesToLogsV2": {"datasourceUid": "loki", "filterByTraceID": true},
|
||||
"serviceMap": {"datasourceUid": "prometheus"}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user