nixos/pkgs/grafana-dashboards/forgejo.json

1257 lines
26 KiB
JSON
Raw Normal View History

{
"annotations": {
"list": [
{
"$$hashKey": "object:2075",
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
2025-04-06 21:55:16 +02:00
"description": "Monitor Forgejo server",
"editable": true,
"fiscalYearStartMonth": 0,
"gnetId": 13192,
"graphTooltip": 0,
"id": 37,
"links": [],
"liveNow": false,
"panels": [
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 5,
"gridPos": {
"h": 6,
"w": 8,
"x": 0,
"y": 0
},
"hiddenSeries": false,
"id": 31,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
2025-04-06 21:55:16 +02:00
"expr": "process_resident_memory_bytes{job=\"forgejo\"}",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Resident memory",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 5,
"gridPos": {
"h": 6,
"w": 8,
"x": 8,
"y": 0
},
"hiddenSeries": false,
"id": 32,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
2025-04-06 21:55:16 +02:00
"expr": "process_cpu_seconds_total{job=\"forgejo\"}",
"instant": false,
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "CPU time",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"links": []
},
"overrides": []
},
"fill": 1,
"fillGradient": 5,
"gridPos": {
"h": 6,
"w": 8,
"x": 16,
"y": 0
},
"hiddenSeries": false,
"id": 33,
"legend": {
"avg": false,
"current": false,
"max": false,
"min": false,
"show": false,
"total": false,
"values": false
},
"lines": true,
"linewidth": 0,
"nullPointMode": "null",
"options": {
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "9.4.7",
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
2025-04-06 21:55:16 +02:00
"expr": "process_open_fds{job=\"forgejo\"}",
"format": "time_series",
"instant": false,
"interval": "",
"intervalFactor": 1,
"legendFormat": "",
"refId": "A"
}
],
"thresholds": [],
"timeRegions": [],
"title": "Open FDS",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"transparent": true,
"type": "graph",
"xaxis": {
"mode": "time",
"show": true,
"values": []
},
"yaxes": [
{
"format": "short",
"logBase": 1,
"show": true
},
{
"format": "short",
"logBase": 1,
"show": true
}
],
"yaxis": {
"align": false
}
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 0,
"y": 6
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_accesses",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Accesses",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 6,
"y": 6
},
"id": 18,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_repositories",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Repositories",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 12,
"y": 6
},
"id": 24,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_users",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Users",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-blue",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 6,
"x": 18,
"y": 6
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_issues",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Issues",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-yellow",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 10
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_actions",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Actions",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-yellow",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 10
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_labels",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Labels",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-yellow",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 10
},
"id": 21,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_organizations",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Organizations",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-yellow",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 10
},
"id": 16,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_teams",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Teams",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-yellow",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 10
},
"id": 8,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_follows",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Follows",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-yellow",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 10
},
"id": 20,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_publickeys",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of PublicKeys",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 0,
"y": 14
},
"id": 17,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_stars",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Stars",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 4,
"y": 14
},
"id": 14,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_webhooks",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Webhooks",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 8,
"y": 14
},
"id": 19,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_releases",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Releases",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 12,
"y": 14
},
"id": 7,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_comments",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Comments",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 16,
"y": 14
},
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_milestones",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Milestones",
"type": "stat"
},
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "dark-purple",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 4,
"x": 20,
"y": 14
},
"id": 25,
"options": {
"colorMode": "value",
"graphMode": "none",
"justifyMode": "center",
"orientation": "auto",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"textMode": "auto"
},
"pluginVersion": "9.4.7",
"targets": [
{
"datasource": {
"type": "prometheus",
2025-04-06 21:55:16 +02:00
"uid": "PBFA97CFB590B2093"
},
"expr": "gitea_watches",
"interval": "",
"legendFormat": "",
"refId": "A"
}
],
"title": "Number of Watches",
"type": "stat"
}
],
"refresh": "1m",
"revision": 1,
"schemaVersion": 38,
"style": "dark",
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-1h",
"to": "now"
},
"timepicker": {
"refresh_intervals": [
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
]
},
"timezone": "browser",
2025-04-06 21:55:16 +02:00
"title": "Forgejo",
"uid": "nNq1Iw5Gz",
"version": 1,
"weekStart": ""
}