19 lines
358 B
YAML

apiVersion: 1
datasources:
- name: Loki
type: loki
access: server
url: http://loki:3100
uid: loki
isDefault: true
editable: true
jsonData:
maxLines: 1000
timeout: 60
derivedFields:
- datasourceUid: loki
matcherRegex: "traceID=(\\w+)"
name: TraceID
url: "$${__value.raw}"