mirror of
https://git.madhouse-project.org/algernon/iocaine.git
synced 2025-02-23 18:08:47 +01:00
data: Update the Grafana dashboard
Some checks failed
build / binary (push) Waiting to run
build / binary-static (x86_64-linux) (push) Waiting to run
build / container (push) Waiting to run
build / clippy (push) Waiting to run
lint / linting (push) Waiting to run
documentation / documentation (push) Has been cancelled
documentation / notification (push) Has been cancelled
Some checks failed
build / binary (push) Waiting to run
build / binary-static (x86_64-linux) (push) Waiting to run
build / container (push) Waiting to run
build / clippy (push) Waiting to run
lint / linting (push) Waiting to run
documentation / documentation (push) Has been cancelled
documentation / notification (push) Has been cancelled
Signed-off-by: Gergely Nagy <me@gergo.csillger.hu>
This commit is contained in:
parent
4cc634e07e
commit
9dfe654ef0
1 changed files with 94 additions and 10 deletions
|
@ -132,7 +132,7 @@
|
|||
{
|
||||
"editorMode": "code",
|
||||
"exemplar": false,
|
||||
"expr": "sort_desc(sum(iocaine_requests_total{host=~\"$host\", user_agent_group=~\"$agent_group\"}) by (user_agent_group))",
|
||||
"expr": "sort_desc(sum(iocaine_requests_total{host=~\"$host\", host!~\"$exclude_host\",user_agent_group=~\"$agent_group\"}) by (user_agent_group))",
|
||||
"format": "time_series",
|
||||
"instant": true,
|
||||
"legendFormat": "{{user_agent_group}}",
|
||||
|
@ -205,9 +205,9 @@
|
|||
"pluginVersion": "11.3.2",
|
||||
"targets": [
|
||||
{
|
||||
"editorMode": "code",
|
||||
"editorMode": "builder",
|
||||
"exemplar": false,
|
||||
"expr": "sort_desc(sum(iocaine_requests_total{host=~\"$host\",user_agent_group=~\"$agent_group\"}) by (host))",
|
||||
"expr": "sort_desc(sum(iocaine_requests_total{host=~\"$host\",user_agent_group=~\"$agent_group\",host!~\"$exclude_host\"}) by (host))",
|
||||
"format": "time_series",
|
||||
"instant": true,
|
||||
"legendFormat": "{{host}}",
|
||||
|
@ -255,7 +255,7 @@
|
|||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 9,
|
||||
"h": 5,
|
||||
"w": 4,
|
||||
"x": 20,
|
||||
"y": 1
|
||||
|
@ -298,7 +298,72 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"title": "Average throughput (5m)",
|
||||
"title": "Req/s (5m avg)",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"mappings": [],
|
||||
"thresholds": {
|
||||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green",
|
||||
"value": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"unit": "s"
|
||||
},
|
||||
"overrides": []
|
||||
},
|
||||
"gridPos": {
|
||||
"h": 4,
|
||||
"w": 4,
|
||||
"x": 20,
|
||||
"y": 6
|
||||
},
|
||||
"id": 7,
|
||||
"options": {
|
||||
"colorMode": "value",
|
||||
"graphMode": "area",
|
||||
"justifyMode": "auto",
|
||||
"orientation": "auto",
|
||||
"percentChangeColorMode": "standard",
|
||||
"reduceOptions": {
|
||||
"calcs": [
|
||||
"lastNotNull"
|
||||
],
|
||||
"fields": "",
|
||||
"values": false
|
||||
},
|
||||
"showPercentChange": false,
|
||||
"textMode": "auto",
|
||||
"wideLayout": true
|
||||
},
|
||||
"pluginVersion": "11.3.2",
|
||||
"targets": [
|
||||
{
|
||||
"editorMode": "code",
|
||||
"expr": "time() - process_start_time_seconds{service=\"iocaine\"}",
|
||||
"legendFormat": "__auto",
|
||||
"range": true,
|
||||
"refId": "A",
|
||||
"datasource": {
|
||||
"type": "prometheus",
|
||||
"uid": "${DS_PROMETHEUS}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"title": "Uptime",
|
||||
"type": "stat"
|
||||
},
|
||||
{
|
||||
|
@ -326,7 +391,8 @@
|
|||
"mode": "absolute",
|
||||
"steps": [
|
||||
{
|
||||
"color": "green"
|
||||
"color": "green",
|
||||
"value": null
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -370,7 +436,7 @@
|
|||
{
|
||||
"editorMode": "code",
|
||||
"exemplar": false,
|
||||
"expr": "sort_desc(sum(iocaine_requests_total{host=~\"$host\", user_agent_group=~\"$agent_group\"}) by (user_agent, user_agent_group))",
|
||||
"expr": "sort_desc(sum(iocaine_requests_total{host=~\"$host\", host!~\"$exclude_host\", user_agent_group=~\"$agent_group\"}) by (user_agent, user_agent_group))",
|
||||
"format": "time_series",
|
||||
"instant": true,
|
||||
"legendFormat": "{{user_agent_group}}: {{user_agent}}",
|
||||
|
@ -390,7 +456,7 @@
|
|||
"type": "row"
|
||||
}
|
||||
],
|
||||
"refresh": "1m",
|
||||
"refresh": "5m",
|
||||
"schemaVersion": 40,
|
||||
"tags": [
|
||||
"iocaine"
|
||||
|
@ -432,17 +498,35 @@
|
|||
"regex": "",
|
||||
"sort": 1,
|
||||
"type": "query"
|
||||
},
|
||||
{
|
||||
"current": {
|
||||
"text": "",
|
||||
"value": ""
|
||||
},
|
||||
"description": "Host name (regex) to exclude.",
|
||||
"label": "Exclude",
|
||||
"name": "exclude_host",
|
||||
"options": [
|
||||
{
|
||||
"selected": true,
|
||||
"text": "",
|
||||
"value": ""
|
||||
}
|
||||
],
|
||||
"query": "",
|
||||
"type": "textbox"
|
||||
}
|
||||
]
|
||||
},
|
||||
"time": {
|
||||
"from": "now-1h",
|
||||
"from": "now-24h",
|
||||
"to": "now"
|
||||
},
|
||||
"timepicker": {},
|
||||
"timezone": "browser",
|
||||
"title": "Iocaine",
|
||||
"uid": "aec38snrfs4cgf",
|
||||
"version": 31,
|
||||
"version": 39,
|
||||
"weekStart": ""
|
||||
}
|
Loading…
Reference in a new issue