Fix macOS dashboard instance variable to only show macOS hosts
Use node_memory_wired_bytes (macOS-specific metric) instead of node_uname_info to populate the instance dropdown. This prevents Linux hosts like sifaka from appearing in the macOS dashboard. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
369a1aa881
commit
5f9ed589d4
1 changed files with 2 additions and 2 deletions
|
|
@ -1263,7 +1263,7 @@ data:
|
|||
{
|
||||
"current": {},
|
||||
"datasource": { "type": "prometheus", "uid": "prometheus" },
|
||||
"definition": "label_values(node_uname_info, instance)",
|
||||
"definition": "label_values(node_memory_wired_bytes, instance)",
|
||||
"hide": 0,
|
||||
"includeAll": false,
|
||||
"label": "Instance",
|
||||
|
|
@ -1271,7 +1271,7 @@ data:
|
|||
"name": "instance",
|
||||
"options": [],
|
||||
"query": {
|
||||
"query": "label_values(node_uname_info, instance)",
|
||||
"query": "label_values(node_memory_wired_bytes, instance)",
|
||||
"refId": "StandardVariableQuery"
|
||||
},
|
||||
"refresh": 1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue