Implement Monlet MVP stack and UI updates
This commit is contained in:
42
deploy/grafana/dashboards/monlet-overview.json
Normal file
42
deploy/grafana/dashboards/monlet-overview.json
Normal file
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"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 }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user