mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-25 03:27:51 +03:00
Compare commits
1 Commits
dependabot
...
fix-panel-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1cc1d45503 |
@@ -143,7 +143,7 @@
|
|||||||
"type": "victoriametrics-datasource",
|
"type": "victoriametrics-datasource",
|
||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"description": "Shows if the last configuration update was successful. \"Not Ok\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
"description": "Shows if the last configuration update was successful. \"Not OK\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [
|
"mappings": [
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
"0": {
|
"0": {
|
||||||
"color": "green",
|
"color": "green",
|
||||||
"index": 0,
|
"index": 0,
|
||||||
"text": "Ok"
|
"text": "OK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "value"
|
"type": "value"
|
||||||
@@ -163,11 +163,21 @@
|
|||||||
"result": {
|
"result": {
|
||||||
"color": "red",
|
"color": "red",
|
||||||
"index": 1,
|
"index": 1,
|
||||||
"text": "Not Ok"
|
"text": "Not OK"
|
||||||
},
|
},
|
||||||
"to": 999999
|
"to": 999999
|
||||||
},
|
},
|
||||||
"type": "range"
|
"type": "range"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"options": {
|
||||||
|
"match": "null",
|
||||||
|
"result": {
|
||||||
|
"index": 2,
|
||||||
|
"text": "OK"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "special"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
@@ -214,7 +224,7 @@
|
|||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "count(vmalert_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 ) or 0",
|
"expr": "count(vmalert_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 )",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -359,6 +369,7 @@
|
|||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"min": 0,
|
"min": 0,
|
||||||
|
"noValue": "0",
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
@@ -407,7 +418,7 @@
|
|||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "(sum(increase(vmalert_alerting_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) or vector(0)) + \n(sum(increase(vmalert_recording_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) or vector(0))",
|
"expr": "sum(increase(vmalert_alerting_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) + \nsum(increase(vmalert_recording_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval]))",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -426,6 +437,7 @@
|
|||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"min": 0,
|
"min": 0,
|
||||||
|
"noValue": "0",
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
@@ -475,7 +487,7 @@
|
|||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\"} < 1) or 0",
|
"expr": "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\"} < 1)",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"range": true,
|
"range": true,
|
||||||
|
|||||||
@@ -225,7 +225,7 @@
|
|||||||
"type": "victoriametrics-datasource",
|
"type": "victoriametrics-datasource",
|
||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"description": "Shows if the last configuration update was successful. \"Not Ok\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
"description": "Shows if the last configuration update was successful. \"Not OK\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [
|
"mappings": [
|
||||||
@@ -234,7 +234,7 @@
|
|||||||
"0": {
|
"0": {
|
||||||
"color": "green",
|
"color": "green",
|
||||||
"index": 0,
|
"index": 0,
|
||||||
"text": "Ok"
|
"text": "OK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "value"
|
"type": "value"
|
||||||
@@ -245,11 +245,21 @@
|
|||||||
"result": {
|
"result": {
|
||||||
"color": "red",
|
"color": "red",
|
||||||
"index": 1,
|
"index": 1,
|
||||||
"text": "Not Ok"
|
"text": "Not OK"
|
||||||
},
|
},
|
||||||
"to": 999999
|
"to": 999999
|
||||||
},
|
},
|
||||||
"type": "range"
|
"type": "range"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"options": {
|
||||||
|
"match": "null",
|
||||||
|
"result": {
|
||||||
|
"index": 2,
|
||||||
|
"text": "OK"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "special"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
@@ -296,7 +306,7 @@
|
|||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "count(vmauth_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 ) or 0",
|
"expr": "count(vmauth_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 )",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
|
|||||||
@@ -142,7 +142,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"description": "Shows if the last configuration update was successful. \"Not Ok\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
"description": "Shows if the last configuration update was successful. \"Not OK\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [
|
"mappings": [
|
||||||
@@ -151,7 +151,7 @@
|
|||||||
"0": {
|
"0": {
|
||||||
"color": "green",
|
"color": "green",
|
||||||
"index": 0,
|
"index": 0,
|
||||||
"text": "Ok"
|
"text": "OK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "value"
|
"type": "value"
|
||||||
@@ -162,11 +162,21 @@
|
|||||||
"result": {
|
"result": {
|
||||||
"color": "red",
|
"color": "red",
|
||||||
"index": 1,
|
"index": 1,
|
||||||
"text": "Not Ok"
|
"text": "Not OK"
|
||||||
},
|
},
|
||||||
"to": 999999
|
"to": 999999
|
||||||
},
|
},
|
||||||
"type": "range"
|
"type": "range"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"options": {
|
||||||
|
"match": "null",
|
||||||
|
"result": {
|
||||||
|
"index": 2,
|
||||||
|
"text": "OK"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "special"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
@@ -213,7 +223,7 @@
|
|||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "count(vmalert_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 ) or 0",
|
"expr": "count(vmalert_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 )",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -358,6 +368,7 @@
|
|||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"min": 0,
|
"min": 0,
|
||||||
|
"noValue": "0",
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
@@ -406,7 +417,7 @@
|
|||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "(sum(increase(vmalert_alerting_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) or vector(0)) + \n(sum(increase(vmalert_recording_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) or vector(0))",
|
"expr": "sum(increase(vmalert_alerting_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval])) + \nsum(increase(vmalert_recording_rules_errors_total{job=~\"$job\", instance=~\"$instance\", group=~\"$group\", file=~\"$file\"}[$__rate_interval]))",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
@@ -425,6 +436,7 @@
|
|||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [],
|
"mappings": [],
|
||||||
"min": 0,
|
"min": 0,
|
||||||
|
"noValue": "0",
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
"mode": "absolute",
|
"mode": "absolute",
|
||||||
"steps": [
|
"steps": [
|
||||||
@@ -474,7 +486,7 @@
|
|||||||
},
|
},
|
||||||
"editorMode": "code",
|
"editorMode": "code",
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\"} < 1) or 0",
|
"expr": "count(vmalert_recording_rules_last_evaluation_samples{job=~\"$job\", instance=~\"$instance\"} < 1)",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"range": true,
|
"range": true,
|
||||||
|
|||||||
@@ -224,7 +224,7 @@
|
|||||||
"type": "prometheus",
|
"type": "prometheus",
|
||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"description": "Shows if the last configuration update was successful. \"Not Ok\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
"description": "Shows if the last configuration update was successful. \"Not OK\" means there was an unsuccessful attempt to update the configuration due to some error. Check the log for details.",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"mappings": [
|
"mappings": [
|
||||||
@@ -233,7 +233,7 @@
|
|||||||
"0": {
|
"0": {
|
||||||
"color": "green",
|
"color": "green",
|
||||||
"index": 0,
|
"index": 0,
|
||||||
"text": "Ok"
|
"text": "OK"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"type": "value"
|
"type": "value"
|
||||||
@@ -244,11 +244,21 @@
|
|||||||
"result": {
|
"result": {
|
||||||
"color": "red",
|
"color": "red",
|
||||||
"index": 1,
|
"index": 1,
|
||||||
"text": "Not Ok"
|
"text": "Not OK"
|
||||||
},
|
},
|
||||||
"to": 999999
|
"to": 999999
|
||||||
},
|
},
|
||||||
"type": "range"
|
"type": "range"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"options": {
|
||||||
|
"match": "null",
|
||||||
|
"result": {
|
||||||
|
"index": 2,
|
||||||
|
"text": "OK"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "special"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"thresholds": {
|
"thresholds": {
|
||||||
@@ -295,7 +305,7 @@
|
|||||||
"uid": "$ds"
|
"uid": "$ds"
|
||||||
},
|
},
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "count(vmauth_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 ) or 0",
|
"expr": "count(vmauth_config_last_reload_successful{job=~\"$job\", instance=~\"$instance\"} < 1 )",
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "",
|
"legendFormat": "",
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
|
|||||||
Reference in New Issue
Block a user