Skip to content

Commit

Permalink
grafana: Better filter Loki events by project
Browse files Browse the repository at this point in the history
Closes canonical#13165 and lxc/incus#761

Signed-off-by: Stéphane Graber <[email protected]>
(cherry picked from commit 9d31814a93669e38d6b6a2a8215175f546f582d1)
Signed-off-by: Simon Deziel <[email protected]>
License: Apache-2.0
  • Loading branch information
stgraber authored and simondeziel committed May 3, 2024
1 parent c2cba13 commit 0b689f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions grafana/LXD.json
Original file line number Diff line number Diff line change
Expand Up @@ -3825,8 +3825,8 @@
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "builder",
"expr": "{app=\"lxd\", type=\"lifecycle\", instance=\"$job\", project=\"$project\"}",
"editorMode": "code",
"expr": "{app=\"lxd\", type=\"lifecycle\", instance=\"$job\", project=~\"|$project\"}",
"queryType": "range",
"refId": "A"
}
Expand Down Expand Up @@ -3862,8 +3862,8 @@
"type": "loki",
"uid": "${DS_LOKI}"
},
"editorMode": "builder",
"expr": "{app=\"lxd\", type=\"logging\", instance=\"$job\"}",
"editorMode": "code",
"expr": "{app=\"lxd\", type=\"logging\", instance=\"$job\", project=~\"|$project\"}",
"queryType": "range",
"refId": "A"
}
Expand Down

0 comments on commit 0b689f1

Please sign in to comment.