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 {
|
||||
datasourceUid = "tempo";
|
||||
matcherRegex = ''traceID=(\\w+)'';
|
||||
name = "TraceID";
|
||||
matcherRegex = ''trace_?[Ii][Dd]=(\w+)'';
|
||||
name = "Log Trace";
|
||||
url = "$\${__value.raw}";
|
||||
urlDisplayLabel = "Trace";
|
||||
})
|
||||
++ (optional config.services.tempo.enable {
|
||||
datasourceUid = "tempo";
|
||||
matcherRegex = ''"trace_id":"(\\w+)"'';
|
||||
name = "TraceID";
|
||||
matcherRegex = ''"trace_?[Ii][Dd]":"(\w+)"'';
|
||||
name = "Trace";
|
||||
url = "$\${__value.raw}";
|
||||
urlDisplayLabel = "Trace";
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue