Watch
0
0
Fork
You've already forked hyperhive
0

document budgeted-agent swap and oom metrics; add oom kills panel

This commit is contained in:
atlas 2026-11-11 01:58:30 +01:00
commit c014b48c22

View file

@ -3874,6 +3874,85 @@
}
}
}
},
"panel-85": {
"kind": "Panel",
"spec": {
"id": 85,
"title": "OOM kills by agent",
"description": "Processes the kernel killed for memory in each agent container, over the selected range.",
"links": [],
"data": {
"kind": "QueryGroup",
"spec": {
"queries": [
{
"kind": "PanelQuery",
"spec": {
"query": {
"kind": "DataQuery",
"group": "prometheus",
"version": "v0",
"datasource": {
"name": "@datasourceUid@"
},
"spec": {
"expr": "sort_desc(sum by (agent) (increase({__name__=\"hyperhive.container.memory.oom_kills\", hive=~\"$hive\", agent=~\"$agent\", agent!=\"\"}[$__range])))",
"instant": true,
"legendFormat": "{{agent}}"
}
},
"refId": "A",
"hidden": false
}
}
],
"transformations": [],
"queryOptions": {}
}
},
"vizConfig": {
"kind": "VizConfig",
"group": "bargauge",
"version": "",
"spec": {
"options": {
"displayMode": "basic",
"orientation": "horizontal",
"reduceOptions": {
"calcs": ["lastNotNull"],
"fields": "",
"values": false
},
"showUnfilled": true,
"valueMode": "text"
},
"fieldConfig": {
"defaults": {
"unit": "short",
"decimals": 0,
"thresholds": {
"mode": "absolute",
"steps": [
{
"value": null,
"color": "green"
},
{
"value": 1,
"color": "red"
}
]
},
"color": {
"mode": "thresholds"
}
},
"overrides": []
}
}
}
}
}
},
"layout": {
@ -4472,6 +4551,19 @@
"name": "panel-84"
}
}
},
{
"kind": "GridLayoutItem",
"spec": {
"x": 0,
"y": 54,
"width": 24,
"height": 7,
"element": {
"kind": "ElementReference",
"name": "panel-85"
}
}
}
]
}