feat(monitoring): цели Prometheus из inventory и хосты в Grafana через up
ansible-core-mon / deploy (push) Successful in 26s
ansible-core-net / deploy (push) Successful in 43s
ansible-core-secrets / deploy (push) Successful in 15s
ansible-ger-nod-02 / deploy (push) Successful in 55s
ansible-opnsense / deploy (push) Successful in 5s
ansible-rus-central / deploy (push) Successful in 59s

Список scrape строится из inventory, дашборд показывает все цели, не только с успешным node_exporter.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
karpenokandCursor committed 2026-11-12 12:50:23 +07:00
1 parent 4316f2c68e
commit 408dfd09c3
6 files changed
+79 -26

No files matched your search

@@ -15491,7 +15491,7 @@
"name": "job",
"options": [],
"query": {
"query": "label_values(node_uname_info, job)",
"query": "label_values(up, job)",
"refId": "Prometheus-job-Variable-Query"
},
"refresh": 1,
@@ -15505,13 +15505,13 @@
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(node_uname_info{job=\"$job\"}, host)",
"definition": "label_values(up{job=\"$job\"}, host)",
"includeAll": false,
"label": "Host",
"name": "nodename",
"options": [],
"query": {
"query": "label_values(node_uname_info{job=\"$job\"}, host)",
"query": "label_values(up{job=\"$job\"}, host)",
"refId": "Prometheus-nodename-Variable-Query"
},
"refresh": 1,
@@ -15525,13 +15525,13 @@
"type": "prometheus",
"uid": "prometheus"
},
"definition": "label_values(node_uname_info{job=\"$job\", host=\"$nodename\"}, instance)",
"definition": "label_values(up{job=\"$job\", host=\"$nodename\"}, instance)",
"includeAll": false,
"label": "Instance",
"name": "node",
"options": [],
"query": {
"query": "label_values(node_uname_info{job=\"$job\", host=\"$nodename\"}, instance)",
"query": "label_values(up{job=\"$job\", host=\"$nodename\"}, instance)",
"refId": "Prometheus-node-Variable-Query"
},
"refresh": 1,
@@ -15549,7 +15549,7 @@
"timezone": "browser",
"title": "Node Exporter Full",
"uid": "rYdddlPWk",
"version": 105,
"version": 106,
"weekStart": "",
"gnetId": 1860
}