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

This commit is contained in:
Andrej Ocenas
2020-05-05 17:08:31 +02:00
committed by GitHub
parent a8ba503b35
commit 66b3e08a7f
3 changed files with 43 additions and 4 deletions

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}"