Docs: Datasource uid docs (#23700)

This commit is contained in:
Andrej Ocenas
2020-04-21 10:46:51 +02:00
committed by GitHub
parent 9bbc007cb9
commit 1b8d669ac0
2 changed files with 10 additions and 1 deletions
+8 -1
View File
@@ -189,8 +189,15 @@ datasources:
jsonData:
maxLines: 1000
derivedFields:
- datasourceName: Jaeger
# Field with internal link pointing to datasource in Grafana
- 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
- matcherRegex: "traceID=(\\w+)"
name: TraceID
url: "http://localhost:16686/trace/$${__value.raw}"
```