apiVersion: 1 datasources: - name: Mimir type: prometheus uid: mimir url: http://127.0.0.1:9009/prometheus access: proxy isDefault: true editable: true jsonData: timeInterval: 60s exemplarTraceIdDestinations: - name: trace_id datasourceUid: tempo urlDisplayLabel: "Trace: $${__value.raw}" - name: Tempo type: tempo uid: tempo url: http://127.0.0.1:3200 editable: true jsonData: tracesToLogsV2: customQuery: true datasourceUid: "loki" query: '{$${__tags}} | trace_id = "$${__trace.traceId}"' tags: - key: "service.name" value: "service_name" serviceMap: datasourceUid: "mimir" search: hide: false nodeGraph: enabled: true lokiSearch: datasourceUid: "loki" - name: Loki type: loki uid: loki url: http://127.0.0.1:3100 editable: true jsonData: derivedFields: - name: "trace_id" matcherType: "label" matcherRegex: "trace_id" url: "$${__value.raw}" datasourceUid: "tempo" urlDisplayLabel: "Trace: $${__value.raw}"