fix: update Blackbox Exporter scrape config and Grafana alert expressions for improved monitoring accuracy
This commit is contained in:
parent
f1ea4b9b20
commit
faad280aa0
3 changed files with 25 additions and 19 deletions
|
|
@ -20,7 +20,7 @@ let
|
|||
datasourceUid = "vm-datasource-uid";
|
||||
model = {
|
||||
editorMode = "code";
|
||||
expr = "probe_success{target=\"" + target + "\"} OR on() vector(0)";
|
||||
expr = "probe_success{instance=\"" + target + "\"} OR on() vector(0)";
|
||||
hide = false;
|
||||
intervalMs = 1000;
|
||||
legendFormat = target;
|
||||
|
|
@ -43,7 +43,7 @@ let
|
|||
datasourceUid = "__expr__";
|
||||
model = {
|
||||
type = "math";
|
||||
expression = "$B < 1";
|
||||
expression = "$B == 0";
|
||||
};
|
||||
}
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue