You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
taskbot/docs/grafana/taskbot-metrics.json

890 lines
20 KiB
JSON

{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": null,
"links": [],
"panels": [
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 1,
"panels": [],
"title": "Tasks & Queue",
"type": "row"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 0,
"y": 1
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.tasks_created_total",
"name": "tasks_created_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Tasks created (total)",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 3,
"y": 1
},
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.tasks_completed_total",
"name": "tasks_completed_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Tasks completed (total)",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "orange",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 6,
"y": 1
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.tasks_active",
"name": "tasks_active",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Tasks active (open)",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "red",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 9,
"y": 1
},
"id": 5,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.tasks_overdue",
"name": "tasks_overdue",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Tasks overdue",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 12,
"y": 1
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.response_queue_pending",
"name": "response_queue_pending",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Responses pending in queue",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"max": 86400,
"min": -1,
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "gray",
"value": -1
},
{
"color": "green",
"value": 0
},
{
"color": "orange",
"value": 300
},
{
"color": "red",
"value": 1800
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 3,
"x": 15,
"y": 1
},
"id": 7,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.response_queue_oldest_age_seconds",
"name": "response_queue_oldest_age_seconds",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Oldest pending response age (s)",
"type": "stat"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 5
},
"id": 8,
"panels": [],
"title": "Groups & Users",
"type": "row"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 0,
"y": 6
},
"id": 9,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.groups_total",
"name": "groups_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Groups total (non-community)",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 4,
"y": 6
},
"id": 10,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.groups_active_total",
"name": "groups_active_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Groups active",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "gray",
"value": 0
},
{
"color": "orange",
"value": 1
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 8,
"y": 6
},
"id": 11,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.groups_archived_total",
"name": "groups_archived_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Groups archived",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "blue",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 12,
"y": 6
},
"id": 12,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.group_members_total",
"name": "group_members_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Group members (active / active groups)",
"type": "stat"
},
{
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fieldConfig": {
"defaults": {
"decimals": 0,
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "purple",
"value": 0
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 3,
"w": 4,
"x": 16,
"y": 6
},
"id": 13,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"lastNotNull"
],
"fields": "",
"values": false
},
"showPercentChange": false,
"text": {
"titleSize": 24
},
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "12.2.1",
"targets": [
{
"cacheDurationSeconds": 300,
"datasource": {
"type": "marcusolsson-json-datasource",
"uid": "bf43dd67r9slcd"
},
"fields": [
{
"jsonPath": "$.gauges.users_total",
"name": "users_total",
"type": "number"
}
],
"method": "GET",
"queryParams": "",
"refId": "A",
"urlPath": ""
}
],
"title": "Users total",
"type": "stat"
}
],
"preload": false,
"refresh": "30s",
"schemaVersion": 42,
"tags": [
"taskbot",
"json-api"
],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "Taskbot - Tasks & Queue (JSON API)",
"uid": "taskbot-tasks-queue-json",
"version": 2,
"weekStart": "monday"
}