Skip to content

Instantly share code, notes, and snippets.

@asmoura
Last active January 24, 2026 14:53
Show Gist options
  • Select an option

  • Save asmoura/087d246be4ad58aa23f0e4d6d28ebd47 to your computer and use it in GitHub Desktop.

Select an option

Save asmoura/087d246be4ad58aa23f0e4d6d28ebd47 to your computer and use it in GitHub Desktop.
{
"name": "Status",
"sources": [
{
"auth": "none",
"name": "Uptime Kuma",
"endpoints": [
{
"id": "public-status",
"url": "https://stats.vl4b.net/api/status-page/public"
},
{
"id": "public-heartbeat",
"url": "https://stats.vl4b.net/api/status-page/heartbeat/public"
},
{
"id": "internal-status",
"url": "https://stats.vl4b.net/api/status-page/internal"
},
{
"id": "internal-heartbeat",
"url": "https://stats.vl4b.net/api/status-page/heartbeat/internal"
}
]
}
],
"dashboards": [
{
"name": "Public",
"color": "active",
"source": {
"endpoint": "public-heartbeat",
"refresh": 30
},
"widgets": [
{
"width": 2,
"background": "",
"basic": {
"title": "PUBLIC STATUS",
"subtitle": "Uptime Kuma",
"value": ""
}
},
{
"type": "time"
},
{
"width": 4,
"height": 4,
"table": {
"title": "Monitor Status",
"columns": [
{
"id": "name",
"title": "Service",
"style": "bold",
"flex": 3
},
{
"id": "status",
"title": "Status",
"align": "center"
},
{
"id": "ping",
"title": "Response (ms)",
"align": "right"
},
{
"id": "indicator",
"type": "indicator",
"colors": {
"danger": "status == 0",
"warning": "status == 2",
"neutral": "status == 3"
}
}
]
},
"source": {
"endpoint": "public-status",
"mapping": {
"data[].name": "publicGroupList[].monitorList[].name",
"data[].status": "publicGroupList[].monitorList[].status",
"data[].ping": "publicGroupList[].monitorList[].ping"
}
}
},
{
"id": "uptime-1",
"basic": {
"title": "Uptime 24h",
"unit": "%"
},
"source": {
"endpoint": "public-heartbeat",
"mapping": {
"value": "uptimeList"
}
}
},
{
"id": "uptime-2",
"basic": {
"title": "Services UP",
"subtitle": "Current"
}
},
{
"width": 3,
"height": 2,
"chart": {
"title": "Response Time",
"legend": false,
"xAxis": {
"visible": true,
"labels": true
},
"yLeftAxis": {
"visible": true,
"labels": true,
"min": 0
},
"series": [
{
"id": "ping",
"name": "Response (ms)",
"type": "line",
"color": "#4ade80",
"axis": "left",
"valueLabels": false
}
],
"data": []
},
"source": {
"endpoint": "public-heartbeat",
"mapping": {
"data[].x": "heartbeatList[].time",
"data[].ping": "heartbeatList[].ping"
}
}
},
{
"width": 3,
"minitable": {
"title": "Recent Heartbeats",
"columns": [
{
"id": "time",
"title": "Time",
"type": "date",
"format": "HH:mm:ss",
"flex": 2
},
{
"id": "msg",
"title": "Message",
"flex": 2
},
{
"id": "indicator",
"type": "indicator",
"colors": {
"danger": "status == 0",
"warning": "status == 2"
}
}
]
},
"source": {
"endpoint": "public-heartbeat",
"mapping": {
"data[].time": "heartbeatList[].time",
"data[].msg": "heartbeatList[].msg",
"data[].status": "heartbeatList[].status"
}
}
}
]
},
{
"name": "Internal",
"color": "warning",
"source": {
"endpoint": "internal-heartbeat",
"refresh": 30
},
"widgets": [
{
"width": 2,
"background": "",
"basic": {
"title": "INTERNAL STATUS",
"subtitle": "Uptime Kuma",
"value": ""
}
},
{
"type": "time"
},
{
"width": 4,
"height": 4,
"table": {
"title": "Monitor Status",
"columns": [
{
"id": "name",
"title": "Service",
"style": "bold",
"flex": 3
},
{
"id": "status",
"title": "Status",
"align": "center"
},
{
"id": "ping",
"title": "Response (ms)",
"align": "right"
},
{
"id": "indicator",
"type": "indicator",
"colors": {
"danger": "status == 0",
"warning": "status == 2",
"neutral": "status == 3"
}
}
]
},
"source": {
"endpoint": "internal-status",
"mapping": {
"data[].name": "publicGroupList[].monitorList[].name",
"data[].status": "publicGroupList[].monitorList[].status",
"data[].ping": "publicGroupList[].monitorList[].ping"
}
}
},
{
"id": "uptime-internal-1",
"basic": {
"title": "Uptime 24h",
"unit": "%"
},
"source": {
"endpoint": "internal-heartbeat",
"mapping": {
"value": "uptimeList"
}
}
},
{
"id": "uptime-internal-2",
"basic": {
"title": "Services UP",
"subtitle": "Current"
}
},
{
"width": 3,
"height": 2,
"chart": {
"title": "Response Time",
"legend": false,
"xAxis": {
"visible": true,
"labels": true
},
"yLeftAxis": {
"visible": true,
"labels": true,
"min": 0
},
"series": [
{
"id": "ping",
"name": "Response (ms)",
"type": "line",
"color": "#facc15",
"axis": "left",
"valueLabels": false
}
],
"data": []
},
"source": {
"endpoint": "internal-heartbeat",
"mapping": {
"data[].x": "heartbeatList[].time",
"data[].ping": "heartbeatList[].ping"
}
}
},
{
"width": 3,
"minitable": {
"title": "Recent Heartbeats",
"columns": [
{
"id": "time",
"title": "Time",
"type": "date",
"format": "HH:mm:ss",
"flex": 2
},
{
"id": "msg",
"title": "Message",
"flex": 2
},
{
"id": "indicator",
"type": "indicator",
"colors": {
"danger": "status == 0",
"warning": "status == 2"
}
}
]
},
"source": {
"endpoint": "internal-heartbeat",
"mapping": {
"data[].time": "heartbeatList[].time",
"data[].msg": "heartbeatList[].msg",
"data[].status": "heartbeatList[].status"
}
}
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment