fix(monitoring): подписать прокси ger-nod-02 вместо Yali
ansible-core-mon / deploy (push) Successful in 21s
ansible-core-mon / deploy (push) Successful in 21s
Метрика xray-checker берёт имя из подписки. На дашборде оно заменяется на имя хоста, флаг Германии остаётся. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
bcbb2564f1
commit
cf02dfb726
2 files changed
+8
-3
No files matched your search
@@ -1272,12 +1272,12 @@
|
|||||||
},
|
},
|
||||||
"editorMode": "builder",
|
"editorMode": "builder",
|
||||||
"exemplar": false,
|
"exemplar": false,
|
||||||
"expr": "xray_proxy_status",
|
"expr": "last_over_time(xray_proxy_status[2m])",
|
||||||
"format": "time_series",
|
"format": "time_series",
|
||||||
"instant": false,
|
"instant": true,
|
||||||
"interval": "",
|
"interval": "",
|
||||||
"legendFormat": "{{name}}",
|
"legendFormat": "{{name}}",
|
||||||
"range": true,
|
"range": false,
|
||||||
"refId": "A"
|
"refId": "A"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -5,3 +5,8 @@
|
|||||||
labels:
|
labels:
|
||||||
instance: "{{ inventory_hostname }}"
|
instance: "{{ inventory_hostname }}"
|
||||||
cluster: "{{ vmagent_cluster }}"
|
cluster: "{{ vmagent_cluster }}"
|
||||||
|
metric_relabel_configs:
|
||||||
|
- source_labels: [address]
|
||||||
|
regex: "yali\\.gunis\\.top:443"
|
||||||
|
target_label: name
|
||||||
|
replacement: "🇩🇪 ger-nod-02"
|
||||||
Reference in new issue
Block a user