Links: Filter data sources in derived link to tracing only (#23948)

(cherry picked from commit 66b3e08a7f)
This commit is contained in:
Andrej Ocenas
2020-05-07 14:59:21 +02:00
committed by Arve Knudsen
parent 74dff04996
commit a407efcaab
3 changed files with 43 additions and 4 deletions
+3 -2
View File
@@ -189,14 +189,15 @@ datasources:
jsonData:
maxLines: 1000
derivedFields:
# Field with internal link pointing to datasource in Grafana
# Field with internal link pointing to data source in Grafana.
# Right now, Grafana supports only Jaeger and Zipkin data sources as link targets.
- datasourceUid: my_jaeger_uid
matcherRegex: "traceID=(\\w+)"
name: TraceID
# url will be interpreted as query for the datasource
url: "$${__value.raw}"
# Field with external link
# Field with external link.
- matcherRegex: "traceID=(\\w+)"
name: TraceID
url: "http://localhost:16686/trace/$${__value.raw}"