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:
Erich Blume 2026-01-22 13:44:43 -08:00
commit 5f9ed589d4

View file

@ -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,