Software Engineering :: Database :: Redis :: Solutions :: Job Queue :: Example :: A Job Queuing Platform in Redis :: grafana.json
⪼ Made with 💜 by Polyglot.
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "grafana",
"uid": "-- Grafana --"
},
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
"type": "dashboard"
}
]
},
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 1,
"links": [],
"panels": [
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-yellow",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 0
},
"id": 8,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "vertical",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^keyName$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"count": 0,
"field": "",
"keyName": "gistwiz:schedule:metrics",
"query": "",
"refId": "A",
"searchQuery": "*",
"type": "search"
}
],
"title": "Total Scheduled",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 4
},
"id": 6,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^queue$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"keyName": "gistwiz:schedule:metrics",
"query": "",
"refId": "A",
"searchQuery": "@queue:{gists}",
"type": "search"
}
],
"title": "Scheduled (Queue = Gists)",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 4
},
"id": 7,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^queue$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"keyName": "gistwiz:schedule:metrics",
"query": "",
"refId": "A",
"searchQuery": "@queue:{email}",
"type": "search"
}
],
"title": "Scheduled (Queue: email)",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-yellow",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 4,
"w": 24,
"x": 0,
"y": 12
},
"id": 5,
"options": {
"colorMode": "background",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "vertical",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^keyName$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"count": 0,
"field": "",
"keyName": "gistwiz:job:gists:metrics",
"query": "",
"refId": "A",
"searchQuery": "*",
"type": "search"
}
],
"title": "Total Jobs",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-orange",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 16
},
"id": 3,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^status$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"count": 0,
"field": "success",
"keyName": "gistwiz:job:gists:metrics",
"query": "",
"refId": "A",
"searchQuery": "@status:{success}",
"type": "search"
}
],
"title": "Successful Jobs",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"fixedColor": "dark-red",
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 16
},
"id": 4,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^status$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"count": 0,
"field": "failure",
"keyName": "gistwiz:job:gists:metrics",
"query": "",
"refId": "failures",
"searchQuery": "@status:{failure}",
"type": "search"
}
],
"title": "Failed Jobs",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "thresholds"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 24
},
"id": 2,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^status$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"count": 0,
"field": "running",
"keyName": "gistwiz:job:gists:metrics",
"query": "",
"refId": "A",
"searchQuery": "@status:{running}",
"type": "search"
}
],
"title": "Running Jobs",
"type": "stat"
},
{
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "fixed"
},
"mappings": [],
"noValue": "0",
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "dark-red",
"value": 0
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 24
},
"id": 1,
"options": {
"colorMode": "value",
"graphMode": "area",
"justifyMode": "auto",
"orientation": "auto",
"percentChangeColorMode": "standard",
"reduceOptions": {
"calcs": [
"count"
],
"fields": "/^status$/",
"values": false
},
"showPercentChange": false,
"textMode": "auto",
"wideLayout": true
},
"pluginVersion": "11.3.1",
"targets": [
{
"command": "ft.search",
"count": 0,
"datasource": {
"type": "redis-datasource",
"uid": "ee6dit5vh27lsd"
},
"field": "pending_jobs",
"keyName": "gistwiz:job:gists:metrics",
"query": "",
"refId": "A",
"searchQuery": "@status:{pending}",
"type": "search"
}
],
"title": "Pending Jobs",
"type": "stat"
}
],
"preload": false,
"refresh": "5s",
"schemaVersion": 40,
"tags": [],
"templating": {
"list": []
},
"time": {
"from": "now-6h",
"to": "now"
},
"timepicker": {},
"timezone": "browser",
"title": "GistWiz",
"uid": "ee6dj8aoeb2m8d",
"version": 59,
"weekStart": ""
}