diff options
Diffstat (limited to 'csit/metrics/dashboards/dashboard-distribution.json')
-rw-r--r-- | csit/metrics/dashboards/dashboard-distribution.json | 927 |
1 files changed, 0 insertions, 927 deletions
diff --git a/csit/metrics/dashboards/dashboard-distribution.json b/csit/metrics/dashboards/dashboard-distribution.json deleted file mode 100644 index 1a53fcbc..00000000 --- a/csit/metrics/dashboards/dashboard-distribution.json +++ /dev/null @@ -1,927 +0,0 @@ -{ - "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" - } - ] - }, - "description": "Grafana Dashboard for Policy Distribution", - "editable": true, - "fiscalYearStartMonth": 0, - "graphTooltip": 0, - "id": 5, - "links": [], - "liveNow": false, - "panels": [ - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 0 - }, - "id": 19, - "panels": [], - "title": "Quick Info", - "type": "row" - }, - { - "description": "Uptime for Policy Distribution application", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "decimals": 1, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "s" - }, - "overrides": [] - }, - "gridPos": { - "h": 9, - "w": 8, - "x": 0, - "y": 1 - }, - "id": 4, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "8.3.4", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": false, - "expr": "time()-process_start_time_seconds{job=\"distribution-metrics\"}", - "format": "time_series", - "instant": false, - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "Process Uptime", - "transformations": [], - "transparent": true, - "type": "stat" - }, - { - "description": "Policy Distribution CPU Usage Monitoring", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "decimals": 2, - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 7, - "x": 9, - "y": 1 - }, - "id": 26, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": false - }, - "pluginVersion": "8.3.4", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "process_cpu_seconds_total{job=\"distribution-metrics\"}", - "interval": "", - "legendFormat": "", - "refId": "A" - } - ], - "title": "CPU Usage", - "type": "gauge" - }, - { - "description": "Policy Distribution Memory Usage Monitoring", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "mappings": [], - "max": 100, - "min": 0, - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 6, - "x": 17, - "y": 1 - }, - "id": 27, - "options": { - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "last" - ], - "fields": "", - "values": false - }, - "showThresholdLabels": false, - "showThresholdMarkers": false - }, - "pluginVersion": "8.3.4", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "100 * sum by(job)(jvm_memory_bytes_used{area=\"heap\", job=\"distribution-metrics\"}) / sum by(job)(jvm_memory_bytes_max{area=\"heap\", job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Heap : {{pod}}", - "refId": "A" - } - ], - "title": "Memory Usage", - "type": "gauge" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 17, - "panels": [], - "title": "System", - "type": "row" - }, - { - "description": "Policy Distribution CPU Usage Monitoring", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 14, - "w": 12, - "x": 0, - "y": 11 - }, - "id": 2, - "options": { - "legend": { - "calcs": [ - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "sortBy": "Max", - "sortDesc": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[1m]) * 100", - "interval": "", - "legendFormat": "system: {{pod}}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[5m]) * 100", - "hide": false, - "interval": "", - "legendFormat": "process: {{pod}}", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "avg_over_time(process_cpu_seconds_total{job=\"distribution-metrics\"}[1h]) * 100", - "hide": false, - "interval": "", - "legendFormat": "process_1h: {{pod}}", - "refId": "C" - } - ], - "title": "CPU Usage", - "type": "timeseries" - }, - { - "description": "Policy Distribution Memory Usage Monitoring", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "percent" - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 12, - "y": 11 - }, - "id": 13, - "options": { - "legend": { - "calcs": [ - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom", - "sortBy": "Last", - "sortDesc": false - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "100 * sum(jvm_memory_bytes_used{area=\"heap\", job=\"distribution-metrics\"}) / sum(jvm_memory_bytes_max{area=\"heap\", job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Heap", - "refId": "A" - } - ], - "title": "Memory Usage", - "type": "timeseries" - }, - { - "description": "Policy Distribution JVM Threads", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "short" - }, - "overrides": [] - }, - "gridPos": { - "h": 13, - "w": 12, - "x": 12, - "y": 22 - }, - "id": 8, - "options": { - "legend": { - "calcs": [ - "max", - "last" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "multi", - "sort": "none" - } - }, - "pluginVersion": "8.4.5", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "jvm_threads_current{job=\"distribution-metrics\"}", - "interval": "", - "legendFormat": "Live Threads: {{ pod }}", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "jvm_threads_peak{job=\"distribution-metrics\"}", - "hide": false, - "interval": "", - "legendFormat": "Peak Threads: {{ pod }}", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "jvm_threads_state{job=\"distribution-metrics\"}", - "hide": false, - "interval": "", - "legendFormat": "State Threads: {{ pod }}", - "refId": "C" - } - ], - "title": "JVM threads", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 35 - }, - "id": 15, - "panels": [], - "title": "Garbage Collection", - "type": "row" - }, - { - "description": "GC operations per second", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ops" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 36 - }, - "id": 10, - "options": { - "legend": { - "calcs": [ - "max", - "mean", - "last" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "rate(jvm_gc_collection_seconds_count{job=\"distribution-metrics\"}[1h])", - "interval": "", - "legendFormat": "{{action}} ({{cause}}) : {{ pod }}", - "refId": "A" - } - ], - "title": "Collection", - "type": "timeseries" - }, - { - "description": "Average GC Time", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 1, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 36 - }, - "id": 22, - "options": { - "legend": { - "calcs": [ - "last" - ], - "displayMode": "table", - "placement": "bottom" - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "rate(jvm_gc_collection_seconds_sum{job=\"distribution-metrics\"}[1h])/rate(jvm_gc_collection_seconds_count{job=\"distribution-metrics\"}[1h])", - "interval": "", - "legendFormat": "avg {{action}} ({{cause}}) : {{ pod }}", - "refId": "A" - } - ], - "title": "Pause Durations", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 44 - }, - "id": 21, - "panels": [], - "title": "Statistics", - "type": "row" - }, - { - "description": "Stats for Distribution Statistics Count", - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] - }, - "gridPos": { - "h": 11, - "w": 12, - "x": 0, - "y": 45 - }, - "id": 32, - "options": { - "displayMode": "gradient", - "orientation": "vertical", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "showUnfilled": false, - "text": { - "titleSize": 12 - } - }, - "pluginVersion": "8.3.4", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "sum(total_distribution_received_count{job=\"distribution-metrics\"})", - "interval": "", - "legendFormat": "Total Count", - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "sum(distribution_success_count{job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Success Count", - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "sum(distribution_failure_count{job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Failure Count", - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "sum(total_download_received_count{job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Total Download Count", - "refId": "D" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "sum(download_success_count{job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Download Success Count", - "refId": "E" - }, - { - "datasource": { - "type": "prometheus", - "uid": "dkSf71fnz" - }, - "exemplar": true, - "expr": "sum(download_failure_count{job=\"distribution-metrics\"})", - "hide": false, - "interval": "", - "legendFormat": "Download Failure Count", - "refId": "F" - } - ], - "title": "Distribution Statistics", - "transparent": true, - "type": "bargauge" - } - ], - "refresh": "", - "schemaVersion": 34, - "style": "dark", - "tags": [], - "templating": { - "list": [] - }, - "time": { - "from": "now-24h", - "to": "now" - }, - "timepicker": {}, - "timezone": "", - "title": "Policy Distribution", - "uid": "5HkCopg4z", - "version": 5, - "weekStart": "" -}
\ No newline at end of file |