43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
{
|
|
"title": "Monlet Overview",
|
|
"uid": "monlet-overview",
|
|
"schemaVersion": 39,
|
|
"version": 1,
|
|
"refresh": "30s",
|
|
"time": { "from": "now-1h", "to": "now" },
|
|
"panels": [
|
|
{
|
|
"id": 1,
|
|
"type": "stat",
|
|
"title": "Agents by status",
|
|
"targets": [{ "expr": "monlet_server_agents", "legendFormat": "{{status}}" }],
|
|
"gridPos": { "h": 6, "w": 8, "x": 0, "y": 0 }
|
|
},
|
|
{
|
|
"id": 2,
|
|
"type": "stat",
|
|
"title": "Open incidents",
|
|
"targets": [{ "expr": "monlet_server_open_incidents" }],
|
|
"gridPos": { "h": 6, "w": 8, "x": 8, "y": 0 }
|
|
},
|
|
{
|
|
"id": 3,
|
|
"type": "timeseries",
|
|
"title": "Events/sec by result",
|
|
"targets": [
|
|
{ "expr": "rate(monlet_server_events_total[1m])", "legendFormat": "{{result}}" }
|
|
],
|
|
"gridPos": { "h": 8, "w": 16, "x": 0, "y": 6 }
|
|
},
|
|
{
|
|
"id": 4,
|
|
"type": "timeseries",
|
|
"title": "Notifications/sec by notifier+result",
|
|
"targets": [
|
|
{ "expr": "rate(monlet_server_notifications_total[1m])", "legendFormat": "{{notifier}} {{result}}" }
|
|
],
|
|
"gridPos": { "h": 8, "w": 16, "x": 0, "y": 14 }
|
|
}
|
|
]
|
|
}
|