Watch
0
0
Fork
You've already forked hyperhive
0

container stats: sample the ci runner's container

This commit is contained in:
atlas 2026-11-08 09:36:53 +01:00
commit 817c222951

View file

@ -909,8 +909,8 @@
"type": "prometheus",
"uid": "@datasourceUid@"
},
"expr": "topk(10, sum by (agent) ({__name__=\"container.memory.usage\", hive=~\"$hive\", \"host.name\"=~\"$host\"}))",
"legendFormat": "{{agent}}"
"expr": "topk(10, sum by (\"container.name\") ({__name__=\"container.memory.usage\", hive=~\"$hive\", \"host.name\"=~\"$host\"}))",
"legendFormat": "{{container.name}}"
}
],
"fieldConfig": {
@ -965,8 +965,8 @@
"type": "prometheus",
"uid": "@datasourceUid@"
},
"expr": "topk(10, sum by (agent) (rate({__name__=\"container.cpu.time\", hive=~\"$hive\", \"host.name\"=~\"$host\"}[5m])))",
"legendFormat": "{{agent}}"
"expr": "topk(10, sum by (\"container.name\") (rate({__name__=\"container.cpu.time\", hive=~\"$hive\", \"host.name\"=~\"$host\"}[5m])))",
"legendFormat": "{{container.name}}"
}
],
"fieldConfig": {