Skip to content
Snippets Groups Projects
Verified Commit b0a3a01c authored by Jelle van der Waa's avatar Jelle van der Waa :construction:
Browse files

Update AUR dashboard with http requests

parent 74757d6b
No related branches found
No related tags found
No related merge requests found
Pipeline #16063 passed
......@@ -8,35 +8,219 @@
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"target": {
"limit": 100,
"matchAny": false,
"tags": [],
"type": "dashboard"
},
"type": "dashboard"
}
]
},
"description": "The AUR package and user statistics",
"editable": true,
"gnetId": null,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 41,
"links": [],
"liveNow": false,
"panels": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 12,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true,
"expr": "rate(http_requests_total[5m])",
"interval": "",
"legendFormat": "{{ path }} {{ status }}",
"refId": "A"
}
],
"title": "HTTP Requests total",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "",
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 14,
"w": 12,
"x": 12,
"y": 0
},
"id": 10,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom"
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"exemplar": true,
"expr": "rate(http_api_requests_total{job=\"aurweb\"}[5m])",
"interval": "",
"legendFormat": "{{ type }} {{ status }}",
"refId": "A"
}
],
"title": "HTTP API Requests Total",
"type": "timeseries"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The two different user types, normal and trusted users.",
"fieldConfig": {
"defaults": {},
"overrides": []
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "The two different user types, normal and trusted users.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 9,
"w": 24,
"x": 0,
"y": 0
"y": 14
},
"hiddenSeries": false,
"id": 4,
......@@ -56,7 +240,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.5",
"pluginVersion": "8.5.0-pre",
"pointradius": 2,
"points": false,
"renderer": "flot",
......@@ -75,9 +259,7 @@
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Users",
"tooltip": {
"shared": true,
......@@ -86,9 +268,7 @@
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
......@@ -96,25 +276,18 @@
{
"$$hashKey": "object:140",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:141",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
"align": false
}
},
{
......@@ -122,19 +295,18 @@
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "Prometheus",
"description": "The total AUR packages state listing orphan ,ever updated and updated packages.",
"fieldConfig": {
"defaults": {},
"overrides": []
"datasource": {
"type": "prometheus",
"uid": "PBFA97CFB590B2093"
},
"description": "The total AUR packages state listing orphan ,ever updated and updated packages.",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 11,
"w": 24,
"x": 0,
"y": 9
"y": 23
},
"hiddenSeries": false,
"id": 2,
......@@ -154,7 +326,7 @@
"alertThreshold": true
},
"percentage": false,
"pluginVersion": "7.5.5",
"pluginVersion": "8.5.0-pre",
"pointradius": 2,
"points": false,
"renderer": "flot",
......@@ -173,9 +345,7 @@
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Packages",
"tooltip": {
"shared": true,
......@@ -184,9 +354,7 @@
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
......@@ -194,30 +362,23 @@
{
"$$hashKey": "object:58",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:59",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
"align": false
}
}
],
"refresh": false,
"schemaVersion": 27,
"schemaVersion": 35,
"style": "dark",
"tags": [],
"templating": {
......@@ -231,5 +392,6 @@
"timezone": "",
"title": "AUR Statistics",
"uid": "gmvZGXjGk",
"version": 1
"version": 1,
"weekStart": ""
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment