diff --git a/config/grafana/dashboards/alerts.json b/config/grafana/dashboards/alerts.json
deleted file mode 100644
index 67acf7c..0000000
--- a/config/grafana/dashboards/alerts.json
+++ /dev/null
@@ -1,559 +0,0 @@
-{
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "9.3.2"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "table-old",
- "name": "Table (old)",
- "version": ""
- },
- {
- "type": "panel",
- "id": "text",
- "name": "Text",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "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"
- }
- ]
- },
- "description": "Alerts dashboard provides a broad veiw of all the errors and their statistics.",
- "editable": true,
- "fiscalYearStartMonth": 0,
- "graphTooltip": 0,
- "id": null,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "",
- "gridPos": {
- "h": 2,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 87,
- "options": {
- "code": {
- "language": "plaintext",
- "showLineNumbers": false,
- "showMiniMap": false
- },
- "content": "NOTE: This dashboard will be deprecared in future",
- "mode": "markdown"
- },
- "pluginVersion": "9.3.2",
- "type": "text"
- },
- {
- "columns": [],
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "fontSize": "100%",
- "gridPos": {
- "h": 24,
- "w": 24,
- "x": 0,
- "y": 2
- },
- "id": 85,
- "links": [],
- "scroll": true,
- "showHeader": true,
- "sort": {
- "col": 0,
- "desc": true
- },
- "styles": [
- {
- "alias": "Time",
- "align": "auto",
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "pattern": "Time",
- "type": "date"
- },
- {
- "alias": "",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "__name__",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Alert Name",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "decimals": 2,
- "pattern": "alertname",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Alert State",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "alertstate",
- "preserveFormat": false,
- "sanitize": false,
- "thresholds": [
- ""
- ],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "build",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Cluster Name",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "cluster_name",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Exporter Instance",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "instance",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "job",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Aerospike Instance",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "service",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- },
- {
- "alias": "Severity",
- "align": "auto",
- "colorMode": "row",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 0,
- "mappingType": 1,
- "pattern": "severity",
- "thresholds": [
- "2",
- "4"
- ],
- "type": "string",
- "unit": "short",
- "valueMaps": [
- {
- "text": "Info",
- "value": "1"
- },
- {
- "text": "Warning",
- "value": "2"
- },
- {
- "text": "High",
- "value": "3"
- },
- {
- "text": "Critical",
- "value": "4"
- }
- ]
- },
- {
- "alias": "",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "Value",
- "thresholds": [],
- "type": "hidden",
- "unit": "short"
- },
- {
- "alias": "Namespace",
- "align": "auto",
- "colors": [
- "rgba(245, 54, 54, 0.9)",
- "rgba(237, 129, 40, 0.89)",
- "rgba(50, 172, 45, 0.97)"
- ],
- "dateFormat": "YYYY-MM-DD HH:mm:ss",
- "decimals": 2,
- "mappingType": 1,
- "pattern": "ns",
- "thresholds": [],
- "type": "string",
- "unit": "short"
- }
- ],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "expr": "ALERTS{job=\"$job_name\", cluster_name=~\"$cluster|$^\", service=~\"$node|$^\", severity=~\"$severity|$^\", alertstate=~\"$state|$^\",}",
- "format": "table",
- "instant": true,
- "intervalFactor": 1,
- "refId": "A"
- }
- ],
- "title": "Alerts",
- "transform": "table",
- "type": "table-old"
- }
- ],
- "refresh": "1m",
- "schemaVersion": 37,
- "style": "dark",
- "tags": [
- "deprecated",
- "alert"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Aerospike Prometheus",
- "value": "Aerospike Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Datasource",
- "multi": false,
- "name": "DS_AEROSPIKE_PROMETHEUS",
- "options": [],
- "query": "prometheus",
- "queryValue": "",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_node_stats_uptime,job)",
- "hide": 0,
- "includeAll": false,
- "label": "job_name",
- "multi": false,
- "name": "job_name",
- "options": [],
- "query": {
- "query": "label_values(aerospike_node_stats_uptime,job)",
- "refId": "Aerospike Prometheus-job-Variable-Query"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_node_stats_uptime{job=\"$job_name\"},cluster_name)",
- "hide": 0,
- "includeAll": true,
- "label": "Cluster",
- "multi": true,
- "name": "cluster",
- "options": [],
- "query": {
- "query": "label_values(aerospike_node_stats_uptime{job=\"$job_name\"},cluster_name)",
- "refId": "Aerospike Prometheus-cluster-Variable-Query"
- },
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_node_stats_uptime{job=\"$job_name\", cluster_name=~\"$cluster|$^\"},service)",
- "hide": 0,
- "includeAll": true,
- "label": "Node",
- "multi": true,
- "name": "node",
- "options": [],
- "query": {
- "query": "label_values(aerospike_node_stats_uptime{job=\"$job_name\", cluster_name=~\"$cluster|$^\"},service)",
- "refId": "Aerospike Prometheus-node-Variable-Query"
- },
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {
- "selected": true,
- "tags": [],
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "hide": 0,
- "includeAll": true,
- "label": "Severity",
- "multi": true,
- "name": "severity",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "1",
- "value": "1"
- },
- {
- "selected": false,
- "text": "2",
- "value": "2"
- },
- {
- "selected": false,
- "text": "3",
- "value": "3"
- },
- {
- "selected": false,
- "text": "4",
- "value": "4"
- }
- ],
- "query": "1,2,3,4",
- "queryValue": "",
- "skipUrlSync": false,
- "type": "custom"
- },
- {
- "current": {
- "selected": true,
- "tags": [],
- "text": [
- "All"
- ],
- "value": [
- "$__all"
- ]
- },
- "hide": 0,
- "includeAll": true,
- "label": "Alert State",
- "multi": true,
- "name": "state",
- "options": [
- {
- "selected": true,
- "text": "All",
- "value": "$__all"
- },
- {
- "selected": false,
- "text": "firing",
- "value": "firing"
- },
- {
- "selected": false,
- "text": "pending",
- "value": "pending"
- }
- ],
- "query": "firing,pending",
- "queryValue": "",
- "skipUrlSync": false,
- "type": "custom"
- }
- ]
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Alerts",
- "uid": "0bMepuvZz",
- "version": 2,
- "weekStart": ""
-}
\ No newline at end of file
diff --git a/config/grafana/dashboards/exporters.json b/config/grafana/dashboards/exporters.json
deleted file mode 100644
index 7aa3a34..0000000
--- a/config/grafana/dashboards/exporters.json
+++ /dev/null
@@ -1,250 +0,0 @@
-{
- "__requires": [
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "9.3.2"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "table",
- "name": "Table",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "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"
- }
- ]
- },
- "description": "Exporters dashboard helps verify if different aerospike exporter instances are up and running",
- "editable": true,
- "fiscalYearStartMonth": 0,
- "graphTooltip": 0,
- "id": null,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Aerospike Prometheus Exporters' Status",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "custom": {
- "align": "center",
- "displayMode": "color-background",
- "filterable": false,
- "inspect": false
- },
- "mappings": [
- {
- "options": {
- "0": {
- "text": "DOWN"
- },
- "1": {
- "text": "UP"
- }
- },
- "type": "value"
- }
- ],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-yellow",
- "value": null
- },
- {
- "color": "semi-dark-red",
- "value": 0
- },
- {
- "color": "#299c46",
- "value": 1
- }
- ]
- },
- "unit": "short"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 24,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 2,
- "links": [],
- "options": {
- "footer": {
- "fields": "",
- "reducer": [
- "sum"
- ],
- "show": false
- },
- "showHeader": true
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "up{job=\"$job_name\"}",
- "format": "table",
- "instant": true,
- "interval": "",
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "title": "Aerospike Prometheus Exporters",
- "transformations": [
- {
- "id": "organize",
- "options": {
- "excludeByName": {
- "Time": true,
- "Value": false,
- "__name__": true,
- "instance": false,
- "job": true
- },
- "indexByName": {},
- "renameByName": {
- "Value": "Status",
- "instance": "Exporter Instance"
- }
- }
- }
- ],
- "transparent": true,
- "type": "table"
- }
- ],
- "refresh": "1m",
- "schemaVersion": 37,
- "style": "dark",
- "tags": [
- "usecase"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Aerospike Prometheus",
- "value": "Aerospike Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Datasource",
- "multi": false,
- "name": "DS_AEROSPIKE_PROMETHEUS",
- "options": [],
- "query": "prometheus",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_node_stats_uptime,job)",
- "hide": 0,
- "includeAll": false,
- "label": "job_name",
- "multi": false,
- "name": "job_name",
- "options": [],
- "query": {
- "query": "label_values(aerospike_node_stats_uptime,job)",
- "refId": "Aerospike Prometheus-job-Variable-Query"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {
- "refresh_intervals": [
- "5s",
- "10s",
- "30s",
- "1m",
- "5m",
- "15m",
- "30m",
- "1h",
- "2h",
- "1d"
- ],
- "time_options": [
- "5m",
- "15m",
- "1h",
- "6h",
- "12h",
- "24h",
- "2d",
- "7d",
- "30d"
- ]
- },
- "timezone": "",
- "title": "Exporters View",
- "uid": "UcZD2iHBj",
- "version": 2,
- "weekStart": ""
-}
\ No newline at end of file
diff --git a/config/grafana/dashboards/jobs.json b/config/grafana/dashboards/jobs.json
deleted file mode 100644
index 4193232..0000000
--- a/config/grafana/dashboards/jobs.json
+++ /dev/null
@@ -1,1193 +0,0 @@
-{
- "__requires": [
- {
- "type": "panel",
- "id": "gauge",
- "name": "Gauge",
- "version": ""
- },
- {
- "type": "grafana",
- "id": "grafana",
- "name": "Grafana",
- "version": "9.3.2"
- },
- {
- "type": "datasource",
- "id": "prometheus",
- "name": "Prometheus",
- "version": "1.0.0"
- },
- {
- "type": "panel",
- "id": "stat",
- "name": "Stat",
- "version": ""
- },
- {
- "type": "panel",
- "id": "text",
- "name": "Text",
- "version": ""
- }
- ],
- "annotations": {
- "list": [
- {
- "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"
- }
- ]
- },
- "description": "Jobs View dashboard helps visualise job centric metrics like job, progress, job type etc.,",
- "editable": true,
- "fiscalYearStartMonth": 0,
- "graphTooltip": 0,
- "id": null,
- "links": [],
- "liveNow": false,
- "panels": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "",
- "gridPos": {
- "h": 2,
- "w": 24,
- "x": 0,
- "y": 0
- },
- "id": 26,
- "options": {
- "code": {
- "language": "plaintext",
- "showLineNumbers": false,
- "showMiniMap": false
- },
- "content": "NOTE: This dashboard will be deprecared in future ",
- "mode": "markdown"
- },
- "pluginVersion": "9.3.2",
- "type": "text"
- },
- {
- "collapsed": false,
- "datasource": {
- "type": "prometheus",
- "uid": "yBPESELVz"
- },
- "gridPos": {
- "h": 1,
- "w": 24,
- "x": 0,
- "y": 2
- },
- "id": 13,
- "panels": [],
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "yBPESELVz"
- },
- "refId": "A"
- }
- ],
- "title": "Summary",
- "type": "row"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Job ID",
- "gridPos": {
- "h": 4,
- "w": 8,
- "x": 0,
- "y": 3
- },
- "id": 4,
- "options": {
- "code": {
- "language": "plaintext",
- "showLineNumbers": false,
- "showMiniMap": false
- },
- "content": "
$job_id
",
- "mode": "html"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "queryType": "randomWalk",
- "refId": "A"
- }
- ],
- "title": "Job ID",
- "type": "text"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "How long ago the scan finished, in milliseconds",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 8,
- "y": 3
- },
- "id": 19,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "max(aerospike_jobs_time_since_done{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "time_since_done",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Time since done",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Job Type",
- "fieldConfig": {
- "defaults": {
- "decimals": 0,
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 80
- }
- ]
- },
- "unit": "string"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 12,
- "y": 3
- },
- "id": 5,
- "links": [],
- "maxDataPoints": 100,
- "options": {
- "colorMode": "value",
- "graphMode": "none",
- "justifyMode": "auto",
- "orientation": "horizontal",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "/^job_type$/",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "expr": "aerospike_jobs_job_progress{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"}",
- "format": "table",
- "instant": true,
- "intervalFactor": 1,
- "legendFormat": "",
- "refId": "A"
- }
- ],
- "title": "Job Type",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Records per second requested for scan",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 16,
- "y": 3
- },
- "id": 15,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_rps{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "RPS",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "RPS",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Number of threads currently processing the scan",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 20,
- "y": 3
- },
- "id": 16,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_active_threads{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "Active Threads",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Active Threads",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Estimated scan completion percentage",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "max": 100,
- "min": 0,
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-red",
- "value": null
- },
- {
- "color": "semi-dark-green",
- "value": 100
- }
- ]
- },
- "unit": "percent"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 0,
- "y": 7
- },
- "id": 17,
- "options": {
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "showThresholdLabels": false,
- "showThresholdMarkers": true,
- "text": {}
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "min(aerospike_jobs_job_progress{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "job_progress",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Job Progress",
- "type": "gauge"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "How long the scan has taken",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 4,
- "y": 7
- },
- "id": 18,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "max(aerospike_jobs_run_time{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "run_time",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Run Time",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Number of partitions requested for the scan.",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-red",
- "value": null
- },
- {
- "color": "semi-dark-green",
- "value": 100
- }
- ]
- },
- "unit": "none"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 8,
- "y": 7
- },
- "id": 14,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_n_pids_requested{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "n_pids_requested",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "No. of partitions requested",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Number of records examined by the scan for throttling purposes",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "short"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 12,
- "y": 7
- },
- "id": 20,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_recs_throttled{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "recs_throttled",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Records Throttled",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Number of records filtered out by an expression at the metadata level\n\nNumber of records filtered out by an expression at the bin level",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "short"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 16,
- "y": 7
- },
- "id": 21,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_recs_filtered_meta{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "At Metadata Level",
- "queryType": "randomWalk",
- "refId": "B"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_recs_filtered_bins{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "At Bin Level",
- "queryType": "randomWalk",
- "refId": "A"
- }
- ],
- "title": "Records Filtered",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Number of records successfully processed by the scan\n\nNumber of records that failed processing (e.g. unreadable)",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "short"
- },
- "overrides": [
- {
- "matcher": {
- "id": "byFrameRefID",
- "options": "A"
- },
- "properties": [
- {
- "id": "color",
- "value": {
- "mode": "thresholds"
- }
- },
- {
- "id": "thresholds",
- "value": {
- "mode": "absolute",
- "steps": [
- {
- "color": "green",
- "value": null
- },
- {
- "color": "red",
- "value": 1
- }
- ]
- }
- }
- ]
- }
- ]
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 20,
- "y": 7
- },
- "id": 22,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_recs_failed{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "Failed",
- "queryType": "randomWalk",
- "refId": "A"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_recs_succeeded{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "Success",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Records Success / Failed",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Amount of response data sent, in bytes",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "bytes"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 0,
- "y": 11
- },
- "id": 23,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "sum(aerospike_jobs_net_io_bytes{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "net_io_bytes",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Net IO Bytes",
- "type": "stat"
- },
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "description": "Socket timeout in milliseconds",
- "fieldConfig": {
- "defaults": {
- "color": {
- "mode": "thresholds"
- },
- "mappings": [],
- "thresholds": {
- "mode": "absolute",
- "steps": [
- {
- "color": "semi-dark-green",
- "value": null
- }
- ]
- },
- "unit": "ms"
- },
- "overrides": []
- },
- "gridPos": {
- "h": 4,
- "w": 4,
- "x": 4,
- "y": 11
- },
- "id": 24,
- "options": {
- "colorMode": "value",
- "graphMode": "area",
- "justifyMode": "center",
- "orientation": "auto",
- "reduceOptions": {
- "calcs": [
- "lastNotNull"
- ],
- "fields": "",
- "values": false
- },
- "text": {},
- "textMode": "auto"
- },
- "pluginVersion": "9.3.2",
- "targets": [
- {
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "exemplar": true,
- "expr": "max(aerospike_jobs_socket_timeout{job=\"$job_name\", cluster_name=~\"$cluster\", ns=~\"$namespace|$^\", set=~\"$set\", trid=~\"$job_id\"})",
- "hide": false,
- "instant": true,
- "interval": "",
- "legendFormat": "socket_timeout",
- "queryType": "randomWalk",
- "refId": "B"
- }
- ],
- "title": "Socket Timeout",
- "type": "stat"
- }
- ],
- "schemaVersion": 37,
- "style": "dark",
- "tags": [
- "deprecated"
- ],
- "templating": {
- "list": [
- {
- "current": {
- "selected": false,
- "text": "Aerospike Prometheus",
- "value": "Aerospike Prometheus"
- },
- "hide": 0,
- "includeAll": false,
- "label": "Datasource",
- "multi": false,
- "name": "DS_AEROSPIKE_PROMETHEUS",
- "options": [],
- "query": "prometheus",
- "queryValue": "",
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "type": "datasource"
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_node_stats_uptime,job)",
- "hide": 0,
- "includeAll": false,
- "label": "job_name",
- "multi": false,
- "name": "job_name",
- "options": [],
- "query": {
- "query": "label_values(aerospike_node_stats_uptime,job)",
- "refId": "Aerospike Prometheus-job-Variable-Query"
- },
- "refresh": 1,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_node_stats_uptime{job=\"$job_name\"},cluster_name)",
- "hide": 0,
- "includeAll": false,
- "label": "Cluster",
- "multi": false,
- "name": "cluster",
- "options": [],
- "query": {
- "query": "label_values(aerospike_node_stats_uptime{job=\"$job_name\"},cluster_name)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_namespace_objects{job=\"$job_name\", cluster_name=~\"$cluster|$^\" },ns)",
- "hide": 0,
- "includeAll": false,
- "label": "Namespace",
- "multi": false,
- "name": "namespace",
- "options": [],
- "query": {
- "query": "label_values(aerospike_namespace_objects{job=\"$job_name\", cluster_name=~\"$cluster|$^\" },ns)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_sets_objects{job=\"$job_name\", cluster_name=~\"$cluster|$^\", ns=~\"$namespace|$^\" },set)",
- "hide": 0,
- "includeAll": false,
- "label": "Set",
- "multi": false,
- "name": "set",
- "options": [],
- "query": {
- "query": "label_values(aerospike_sets_objects{job=\"$job_name\", cluster_name=~\"$cluster|$^\", ns=~\"$namespace|$^\" },set)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- },
- {
- "current": {},
- "datasource": {
- "type": "prometheus",
- "uid": "${DS_AEROSPIKE_PROMETHEUS}"
- },
- "definition": "label_values(aerospike_jobs_job_progress{job=\"$job_name\", cluster_name=~\"$cluster|$^\", ns=~\"$namespace|$^\", set=~\"$set|$^\" },trid)",
- "hide": 0,
- "includeAll": false,
- "label": "Job ID",
- "multi": false,
- "name": "job_id",
- "options": [],
- "query": {
- "query": "label_values(aerospike_jobs_job_progress{job=\"$job_name\", cluster_name=~\"$cluster|$^\", ns=~\"$namespace|$^\", set=~\"$set|$^\" },trid)",
- "refId": "StandardVariableQuery"
- },
- "refresh": 2,
- "regex": "",
- "skipUrlSync": false,
- "sort": 1,
- "tagValuesQuery": "",
- "tagsQuery": "",
- "type": "query",
- "useTags": false
- }
- ]
- },
- "time": {
- "from": "now-6h",
- "to": "now"
- },
- "timepicker": {},
- "timezone": "",
- "title": "Jobs View",
- "uid": "1gneHNQoL",
- "version": 2,
- "weekStart": ""
-}
\ No newline at end of file