loki: fix matcher regex for tempo traces
This commit is contained in:
parent
67873179ce
commit
e5209ddee3
|
@ -101,15 +101,15 @@ in
|
||||||
[ ]
|
[ ]
|
||||||
++ (optional config.services.tempo.enable {
|
++ (optional config.services.tempo.enable {
|
||||||
datasourceUid = "tempo";
|
datasourceUid = "tempo";
|
||||||
matcherRegex = ''traceID=(\\w+)'';
|
matcherRegex = ''trace_?[Ii][Dd]=(\w+)'';
|
||||||
name = "TraceID";
|
name = "Log Trace";
|
||||||
url = "$\${__value.raw}";
|
url = "$\${__value.raw}";
|
||||||
urlDisplayLabel = "Trace";
|
urlDisplayLabel = "Trace";
|
||||||
})
|
})
|
||||||
++ (optional config.services.tempo.enable {
|
++ (optional config.services.tempo.enable {
|
||||||
datasourceUid = "tempo";
|
datasourceUid = "tempo";
|
||||||
matcherRegex = ''"trace_id":"(\\w+)"'';
|
matcherRegex = ''"trace_?[Ii][Dd]":"(\w+)"'';
|
||||||
name = "TraceID";
|
name = "Trace";
|
||||||
url = "$\${__value.raw}";
|
url = "$\${__value.raw}";
|
||||||
urlDisplayLabel = "Trace";
|
urlDisplayLabel = "Trace";
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue