Last active
April 14, 2023 14:31
-
-
Save fredrb/95db1786721f13922d0943c9f73cc7f5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", | |
"target": { | |
"limit": 100, | |
"matchAny": false, | |
"tags": [], | |
"type": "dashboard" | |
}, | |
"type": "dashboard" | |
} | |
] | |
}, | |
"editable": true, | |
"gnetId": null, | |
"graphTooltip": 0, | |
"id": 4, | |
"iteration": 1681480174527, | |
"links": [], | |
"panels": [ | |
{ | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 0 | |
}, | |
"id": 48, | |
"title": "In use memory numbers", | |
"type": "row" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 1 | |
}, | |
"id": 44, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "avg_over_time(go_memstats_heap_inuse_bytes{job=\"sensor\"}[1h])", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Average inuse memory (1h)", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 1 | |
}, | |
"id": 46, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "rate(go_memstats_heap_inuse_bytes{job=\"sensor\"}[1h])", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Rate of insue memory change (1h)", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 9 | |
}, | |
"id": 42, | |
"title": "Total Allocation Numbers", | |
"type": "row" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 10 | |
}, | |
"id": 38, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "go_memstats_alloc_bytes_total{job=\"sensor\"}", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Total Allocation Bytes", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "decbytes" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 10 | |
}, | |
"id": 40, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "rate(go_memstats_alloc_bytes_total{job=\"sensor\"}[1h])", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Total Allocation Rate (1h)", | |
"type": "stat" | |
}, | |
{ | |
"collapsed": true, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 18 | |
}, | |
"id": 32, | |
"panels": [], | |
"title": "CPU Numbers", | |
"type": "row" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 1000 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 0, | |
"y": 19 | |
}, | |
"id": 34, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "process_cpu_seconds_total{job=\"sensor\"}", | |
"format": "time_series", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "Total CPU seconds", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "thresholds" | |
}, | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "s" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 8, | |
"w": 12, | |
"x": 12, | |
"y": 19 | |
}, | |
"id": 36, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "increase(process_cpu_seconds_total{job=\"sensor\"}[1h])", | |
"instant": false, | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"title": "CPU Increase (1h)", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 27 | |
}, | |
"id": 26, | |
"title": "CPU and Memory", | |
"type": "row" | |
}, | |
{ | |
"datasource": null, | |
"description": "Process CPU seconds over the last minute", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "CPU seconds", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "stepAfter", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"__systemRef": "hideSeriesFrom", | |
"matcher": { | |
"id": "byNames", | |
"options": { | |
"mode": "exclude", | |
"names": [ | |
"sensor" | |
], | |
"prefix": "All except:", | |
"readOnly": true | |
} | |
}, | |
"properties": [ | |
{ | |
"id": "custom.hideFrom", | |
"value": { | |
"graph": true, | |
"legend": false, | |
"tooltip": false | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 28 | |
}, | |
"id": 2, | |
"interval": "", | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "increase(process_cpu_seconds_total{instance=~\"$Instance\",job!=\"kubernetes-pods\"}[1m])", | |
"instant": false, | |
"interval": "", | |
"intervalFactor": 1, | |
"legendFormat": "{{job}}", | |
"refId": "A" | |
} | |
], | |
"title": "CPU Usage", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Heap [MiB]", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [ | |
{ | |
"__systemRef": "hideSeriesFrom", | |
"matcher": { | |
"id": "byNames", | |
"options": { | |
"mode": "exclude", | |
"names": [ | |
"sensor: inuse" | |
], | |
"prefix": "All except:", | |
"readOnly": true | |
} | |
}, | |
"properties": [ | |
{ | |
"id": "custom.hideFrom", | |
"value": { | |
"graph": true, | |
"legend": false, | |
"tooltip": false | |
} | |
} | |
] | |
} | |
] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 28 | |
}, | |
"id": 4, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "go_memstats_heap_alloc_bytes{instance=~\"$Instance\",job!=\"kubernetes-pods\"} / 1024^2", | |
"interval": "", | |
"legendFormat": "{{job}}: alloc", | |
"refId": "A" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "go_memstats_heap_inuse_bytes{instance=~\"$Instance\",job!=\"kubernetes-pods\"} / 1024^2", | |
"interval": "", | |
"legendFormat": "{{job}}: inuse", | |
"refId": "B" | |
}, | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "go_memstats_heap_idle_bytes{instance=~\"$Instance\",job!=\"kubernetes-pods\"} / 1024^2", | |
"interval": "", | |
"legendFormat": "{{job}}: idle", | |
"refId": "C" | |
} | |
], | |
"title": "Heap Memory Usage", | |
"type": "timeseries" | |
}, | |
{ | |
"collapsed": true, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 37 | |
}, | |
"id": 24, | |
"panels": [ | |
{ | |
"datasource": null, | |
"description": "Number of key/value pairs in each bucket.", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "# Keys in bucket", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 11 | |
}, | |
"id": 6, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"expr": "rox_central_bolt_bucket_key_n", | |
"legendFormat": "{{Bucket}}", | |
"refId": "A" | |
} | |
], | |
"title": "Bolt Object Count", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"description": "RocksDB prefix size (equivalent to bolt bucket).", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Prefix size", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 11 | |
}, | |
"id": 8, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"expr": "rox_central_rocksdb_prefix_size", | |
"legendFormat": "{{Prefix}}", | |
"refId": "A" | |
} | |
], | |
"title": "RocksDB Object Count", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "# Operations", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 20 | |
}, | |
"id": 14, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "rox_central_bolt_op_duration_count{Operation=~\"$Operation\", Type=~\"$Type\"}", | |
"interval": "", | |
"legendFormat": "Operation: {{Operation}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "Bolt Operation Count", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "# Operations", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 20 | |
}, | |
"id": 16, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "rox_central_rocksdb_op_duration_count{Operation=~\"$Operation\", Type=~\"$Type\"}", | |
"interval": "", | |
"legendFormat": "Operation: {{Operation}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "RocksDB Operation Count", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Duration [ms]", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 29 | |
}, | |
"id": 10, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "rox_central_bolt_op_duration_sum{Operation=~\"$Operation\", Type=~\"$Type\"} / rox_central_bolt_op_duration_count{Operation=~\"$Operation\", Type=~\"$Type\"}", | |
"interval": "", | |
"legendFormat": "Operation: {{Operation}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "Bolt Avg Operation Duration", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"description": "", | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Duration [ms]", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 29 | |
}, | |
"id": 12, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "rox_central_rocksdb_op_duration_sum{Operation=~\"$Operation\", Type=~\"$Type\"} / rox_central_rocksdb_op_duration_count{Operation=~\"$Operation\", Type=~\"$Type\"}", | |
"interval": "", | |
"legendFormat": "Operation: {{Operation}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "RocksDB Avg Operation Duration", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Duration [ms]", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 38 | |
}, | |
"id": 18, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "rox_central_index_op_duration_sum{Operation=~\"$Operation\", Type=~\"$Type\"} / rox_central_index_op_duration_count{Operation=~\"$Operation\", Type=~\"$Type\"}", | |
"interval": "", | |
"legendFormat": "Operation: {{Operation}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "Indexer Operation Duration", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Consumption [MiB]", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 38 | |
}, | |
"id": 20, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"expr": "rox_central_bolt_db_size / 1024^2", | |
"legendFormat": "Bolt", | |
"refId": "A" | |
}, | |
{ | |
"expr": "rox_central_rocksdb_db_size / 1024^2", | |
"legendFormat": "RocksDB", | |
"refId": "B" | |
}, | |
{ | |
"expr": "rox_central_bleve_index_CurOnDiskBytes / 1024^2", | |
"legendFormat": "Bleve, Index: {{Index}}", | |
"refId": "C" | |
} | |
], | |
"title": "DB and Index Disk Consumption", | |
"type": "timeseries" | |
} | |
], | |
"title": "DB Metrics", | |
"type": "row" | |
}, | |
{ | |
"collapsed": false, | |
"datasource": null, | |
"gridPos": { | |
"h": 1, | |
"w": 24, | |
"x": 0, | |
"y": 38 | |
}, | |
"id": 22, | |
"panels": [], | |
"title": "Sensor Event Queue", | |
"type": "row" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "Duration [ms]", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 0, | |
"y": 39 | |
}, | |
"id": 28, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"expr": "rox_central_sensor_event_duration_sum / rox_central_sensor_event_duration_count", | |
"legendFormat": "Action: {{Action}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "Avg Sensor Event Queue Duration", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"fieldConfig": { | |
"defaults": { | |
"color": { | |
"mode": "palette-classic" | |
}, | |
"custom": { | |
"axisLabel": "# Elements", | |
"axisPlacement": "auto", | |
"barAlignment": 0, | |
"drawStyle": "line", | |
"fillOpacity": 10, | |
"gradientMode": "none", | |
"hideFrom": { | |
"graph": false, | |
"legend": false, | |
"tooltip": false, | |
"viz": false | |
}, | |
"lineInterpolation": "linear", | |
"lineWidth": 1, | |
"pointSize": 5, | |
"scaleDistribution": { | |
"type": "linear" | |
}, | |
"showPoints": "never", | |
"spanNulls": true | |
}, | |
"links": [], | |
"mappings": [], | |
"thresholds": { | |
"mode": "absolute", | |
"steps": [ | |
{ | |
"color": "green", | |
"value": null | |
}, | |
{ | |
"color": "red", | |
"value": 80 | |
} | |
] | |
}, | |
"unit": "short" | |
}, | |
"overrides": [] | |
}, | |
"gridPos": { | |
"h": 9, | |
"w": 12, | |
"x": 12, | |
"y": 39 | |
}, | |
"id": 30, | |
"options": { | |
"legend": { | |
"calcs": [], | |
"displayMode": "list", | |
"placement": "bottom" | |
}, | |
"tooltip": { | |
"mode": "multi", | |
"sort": "desc" | |
}, | |
"tooltipOptions": { | |
"mode": "single" | |
} | |
}, | |
"pluginVersion": "8.4.5", | |
"targets": [ | |
{ | |
"datasource": { | |
"type": "prometheus", | |
"uid": "PBFA97CFB590B2093" | |
}, | |
"exemplar": true, | |
"expr": "rox_central_sensor_event_queue{Operation=~\"$Operation\", Type=~\"$Type\"}", | |
"interval": "", | |
"legendFormat": "Operation: {{Operation}}, Type: {{Type}}", | |
"refId": "A" | |
} | |
], | |
"title": "Sensor Event Queue Counter", | |
"type": "timeseries" | |
}, | |
{ | |
"datasource": null, | |
"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": 48 | |
}, | |
"id": 50, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "increase(rox_sensor_k8s_events{Resource=\"v1.Deployment\", Action=\"UPDATE_RESOURCE\"}[1h])", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Increase in deployments every hour", | |
"type": "stat" | |
}, | |
{ | |
"datasource": null, | |
"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": 48 | |
}, | |
"id": 52, | |
"options": { | |
"colorMode": "value", | |
"graphMode": "area", | |
"justifyMode": "auto", | |
"orientation": "auto", | |
"reduceOptions": { | |
"calcs": [ | |
"lastNotNull" | |
], | |
"fields": "", | |
"values": false | |
}, | |
"text": {}, | |
"textMode": "auto" | |
}, | |
"pluginVersion": "7.5.15", | |
"targets": [ | |
{ | |
"exemplar": true, | |
"expr": "(sum(rox_sensor_k8s_events{Resource=\"v1.Deployment\"}))", | |
"interval": "", | |
"legendFormat": "", | |
"refId": "A" | |
} | |
], | |
"timeFrom": null, | |
"timeShift": null, | |
"title": "Number of deployment events", | |
"type": "stat" | |
} | |
], | |
"refresh": false, | |
"schemaVersion": 27, | |
"style": "dark", | |
"tags": [], | |
"templating": { | |
"list": [ | |
{ | |
"allValue": null, | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": null, | |
"definition": "label_values(instance)", | |
"description": "", | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": "Instance", | |
"multi": false, | |
"name": "Instance", | |
"options": [], | |
"query": { | |
"query": "label_values(instance)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 5, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": null, | |
"definition": "label_values(Operation)", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": "Operation", | |
"multi": false, | |
"name": "Operation", | |
"options": [], | |
"query": { | |
"query": "label_values(Operation)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 5, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
}, | |
{ | |
"allValue": null, | |
"current": { | |
"selected": false, | |
"text": "All", | |
"value": "$__all" | |
}, | |
"datasource": null, | |
"definition": "label_values(Type)", | |
"description": null, | |
"error": null, | |
"hide": 0, | |
"includeAll": true, | |
"label": "Type", | |
"multi": false, | |
"name": "Type", | |
"options": [], | |
"query": { | |
"query": "label_values(Type)", | |
"refId": "StandardVariableQuery" | |
}, | |
"refresh": 1, | |
"regex": "", | |
"skipUrlSync": false, | |
"sort": 5, | |
"tagValuesQuery": "", | |
"tags": [], | |
"tagsQuery": "", | |
"type": "query", | |
"useTags": false | |
} | |
] | |
}, | |
"time": { | |
"from": "now-3h", | |
"to": "now" | |
}, | |
"timepicker": { | |
"refresh_intervals": [ | |
"15s", | |
"30s", | |
"1m", | |
"5m", | |
"15m", | |
"30m", | |
"1h", | |
"2h", | |
"1d" | |
] | |
}, | |
"timezone": "", | |
"title": "Core Dashboard (imported)", | |
"uid": "P0Ulb58n2", | |
"version": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment