{ "__inputs": [ { "name": "DS_PROMETHEUS", "label": "Prometheus", "description": "", "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" } ], "__requires": [ { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "6.7.3" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "panel", "id": "heatmap", "name": "Heatmap", "version": "" }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, { "type": "panel", "id": "table", "name": "Table", "version": "" } ], "annotations": { "list": [ { "$$hashKey": "object:664", "builtIn": 1, "datasource": "-- Grafana --", "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" } ] }, "editable": true, "gnetId": null, "graphTooltip": 0, "id": null, "iteration": 1588936755847, "links": [], "panels": [ { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 16, "x": 0, "y": 0 }, "hiddenSeries": false, "id": 42, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.7.3", "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(limb_connect_connections{job=\"octopus-limb\"}) by (node,adaptor)", "interval": "", "intervalFactor": 2, "legendFormat": "{{node}} - {{adaptor}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Connecting Devices", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:445", "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:446", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 0 }, "hiddenSeries": false, "id": 44, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ceil(sum(rate(limb_connect_errors_total{job=\"octopus-limb\"}[$interval])) by (node,adaptor))", "interval": "", "intervalFactor": 2, "legendFormat": "{{node}} - {{adaptor}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Failed Connecting Devices (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cards": { "cardPadding": null, "cardRound": null }, "color": { "cardColor": "#b4ff00", "colorScale": "sqrt", "colorScheme": "interpolateBlues", "exponent": 0.5, "mode": "spectrum" }, "dataFormat": "timeseries", "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 8, "w": 8, "x": 0, "y": 8 }, "heatmap": {}, "hideZeroBuckets": true, "highlightCards": true, "id": 48, "legend": { "show": true }, "reverseYBuckets": false, "targets": [ { "expr": "sum(rate(limb_send_latency_seconds_bucket{job=\"octopus-limb\"}[$interval])) by (node,le,adaptor)", "interval": "", "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Sending Device Latency Over Time (in $interval)", "tooltip": { "show": true, "showHistogram": false }, "type": "heatmap", "xAxis": { "show": true }, "xBucketNumber": null, "xBucketSize": "1min", "yAxis": { "decimals": 0, "format": "s", "logBase": 1, "max": null, "min": null, "show": true, "splitFactor": null }, "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 8 }, "hiddenSeries": false, "id": 50, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:2347", "alias": "/^.*\\s-\\smean$/i", "dashes": true, "fill": 0, "zindex": 3 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.50, sum(rate(limb_send_latency_seconds_bucket{job=\"octopus-limb\"}[$interval])) by (node,le,adaptor))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{node}} - {{adaptor}} - 50%", "refId": "A" }, { "expr": "histogram_quantile(0.95, sum(rate(limb_send_latency_seconds_bucket{job=\"octopus-limb\"}[$interval])) by (node,le,adaptor))", "interval": "", "intervalFactor": 2, "legendFormat": "{{node}} - {{adaptor}} - 95%", "refId": "B" }, { "expr": "sum(rate(limb_send_latency_seconds_bucket{job=\"octopus-limb\"}[$interval])) by (node,adaptor) / sum(rate(limb_send_latency_seconds_bucket{job=\"octopus-limb\"}[$interval])) by (node,adaptor)", "interval": "", "intervalFactor": 2, "legendFormat": "{{node}} - {{adaptor}} - mean", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Sending Device Latency Quantile (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:2364", "decimals": null, "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:2365", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 8 }, "hiddenSeries": false, "id": 51, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ceil(sum(rate(limb_send_errors_total{job=\"octopus-limb\"}[$interval])) by (node,adaptor))", "interval": "", "intervalFactor": 2, "legendFormat": "{{node}} - {{adaptor}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Failed Sending Devices (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:766", "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:767", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "collapsed": true, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 16 }, "id": 40, "panels": [ { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 2 }, "hiddenSeries": false, "id": 6, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": false, "rightSide": false, "show": true, "sideWidth": 100, "sort": "max", "sortDesc": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(irate(process_cpu_seconds_total{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}})", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "CPU Usage (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:930", "decimals": null, "format": "s", "label": null, "logBase": 10, "max": null, "min": null, "show": true }, { "$$hashKey": "object:931", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 2 }, "hiddenSeries": false, "id": 4, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": true, "max": true, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:6607", "alias": "/.*-\\svirtual/i", "dashes": true, "fill": 0, "lines": true, "linewidth": 2, "zindex": 3 }, { "$$hashKey": "object:6608", "alias": "/.*-\\sresident/i", "dashes": true, "fill": 0, "lines": true, "zindex": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(process_virtual_memory_bytes{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}) by(job,node)", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - virtual", "refId": "A" }, { "expr": "sum(process_resident_memory_bytes{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}) by(job,node)", "hide": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - resident", "refId": "B" }, { "expr": "sum(go_memstats_heap_inuse_bytes{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}) by(job,node)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - go heap", "refId": "C" }, { "expr": "sum(go_memstats_stack_inuse_bytes{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}) by(job,node)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - go stack", "refId": "D" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Memory Usage", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:6643", "decimals": null, "format": "bytes", "label": null, "logBase": 2, "max": null, "min": null, "show": true }, { "$$hashKey": "object:6644", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cacheTimeout": null, "columns": [ { "$$hashKey": "object:1583", "text": "Max", "value": "max" }, { "$$hashKey": "object:1600", "text": "Current", "value": "current" } ], "datasource": "${DS_PROMETHEUS}", "fontSize": "90%", "gridPos": { "h": 8, "w": 8, "x": 16, "y": 2 }, "id": 9, "links": [], "pageSize": 10, "pluginVersion": "6.7.3", "showHeader": true, "sort": { "col": 1, "desc": false }, "styles": [ { "$$hashKey": "object:1444", "alias": "Process", "align": "right", "colorMode": null, "colors": [ "rgba(245, 54, 54, 0.9)", "rgba(237, 129, 40, 0.89)", "rgba(50, 172, 45, 0.97)" ], "decimals": 2, "link": false, "mappingType": 1, "pattern": "/Metric/", "preserveFormat": false, "sanitize": false, "thresholds": [], "type": "string", "unit": "short", "valueMaps": [] }, { "$$hashKey": "object:1683", "alias": "", "align": "right", "colorMode": null, "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, "link": false, "mappingType": 1, "pattern": "/.*/", "thresholds": [], "type": "number", "unit": "short" } ], "targets": [ { "expr": "process_open_fds{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}})", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Open Files", "transform": "timeseries_aggregations", "type": "table" }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 0, "y": 10 }, "hiddenSeries": false, "id": 8, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(go_goroutines{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}) by(job, node)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}})", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Goroutines", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:167", "decimals": 0, "format": "short", "label": "", "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:168", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 10 }, "hiddenSeries": false, "id": 14, "legend": { "alignAsTable": true, "avg": false, "current": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(go_threads{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}) by(job, node)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}})", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Threads", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:167", "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:168", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 10 }, "hiddenSeries": false, "id": 11, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": true, "hideZero": false, "max": true, "min": false, "show": true, "sort": "current", "sortDesc": false, "total": false, "values": true }, "lines": true, "linewidth": 1, "links": [], "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pluginVersion": "6.7.3", "pointradius": 0.5, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(rate(go_gc_duration_seconds_sum{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node) / sum(rate(go_gc_duration_seconds_count{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node)", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}})", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "GC Duration Mean (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "cumulative" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:3624", "decimals": 0, "format": "s", "label": null, "logBase": 10, "max": null, "min": null, "show": true }, { "$$hashKey": "object:3625", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } } ], "title": "Process", "type": "row" }, { "collapsed": true, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 17 }, "id": 28, "panels": [ { "cards": { "cardPadding": null, "cardRound": null }, "color": { "cardColor": "#b4ff00", "colorScale": "sqrt", "colorScheme": "interpolateBlues", "exponent": 0.5, "min": null, "mode": "spectrum" }, "dataFormat": "timeseries", "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 8, "w": 8, "x": 0, "y": 18 }, "heatmap": {}, "hideZeroBuckets": true, "highlightCards": true, "id": 31, "legend": { "show": true }, "reverseYBuckets": false, "targets": [ { "expr": "sum(rate(rest_client_request_latency_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,url,verb)", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Requesting Latency Over Time (in $interval)", "tooltip": { "show": true, "showHistogram": false }, "type": "heatmap", "xAxis": { "show": true }, "xBucketNumber": null, "xBucketSize": "1min", "yAxis": { "decimals": 0, "format": "s", "logBase": 1, "max": null, "min": null, "show": true, "splitFactor": 1 }, "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 18 }, "hiddenSeries": false, "id": 30, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "/^.*\\s-\\smean$/i", "dashes": true, "fill": 0, "zindex": 3 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.50, sum(rate(rest_client_request_latency_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,url,verb))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{url}} - {{verb}} - 50%", "refId": "A" }, { "expr": "histogram_quantile(0.95, sum(rate(rest_client_request_latency_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,url,verb))", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{url}} - {{verb}} - 95%", "refId": "B" }, { "expr": "sum(rate(rest_client_request_latency_seconds_sum{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,url,verb) / sum(rate(rest_client_request_latency_seconds_count{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,url,verb)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{url}} - {{verb}} - mean", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Requesting Latency Quantile (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 18 }, "hiddenSeries": false, "id": 26, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ceil(sum(increase(rest_client_requests_total{job=~\"^(octopus-$component)$\",node=~\"^($node)$\",code=~\"^(4|5).*$\"}[$interval])) by (job,node,host,method))", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{host}} - {{method}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Failed Request (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cards": { "cardPadding": null, "cardRound": null }, "color": { "cardColor": "#b4ff00", "colorScale": "sqrt", "colorScheme": "interpolateBlues", "exponent": 0.5, "min": null, "mode": "spectrum" }, "dataFormat": "timeseries", "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 8, "w": 8, "x": 0, "y": 26 }, "heatmap": {}, "hideZeroBuckets": true, "highlightCards": true, "id": 37, "legend": { "show": true }, "reverseYBuckets": false, "targets": [ { "expr": "sum(rate(workqueue_queue_duration_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval]))by(job,node,le,name)", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Workqueue Waiting Duration Over Time (in $interval)", "tooltip": { "show": true, "showHistogram": false }, "type": "heatmap", "xAxis": { "show": true }, "xBucketNumber": null, "xBucketSize": "1min", "yAxis": { "decimals": 0, "format": "s", "logBase": 1, "max": null, "min": null, "show": true, "splitFactor": 1 }, "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 26 }, "hiddenSeries": false, "id": 33, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:4804", "alias": "/^.*\\s-\\smean$/i", "dashLength": 8, "dashes": true, "fill": 0, "zindex": 3 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.50, sum(rate(workqueue_queue_duration_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,name))", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{name}} - 50%", "refId": "A" }, { "expr": "histogram_quantile(0.95, sum(rate(workqueue_queue_duration_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,name))", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{name}} - 95%", "refId": "B" }, { "expr": "sum(rate(workqueue_queue_duration_seconds_sum{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,name) / sum(rate(workqueue_queue_duration_seconds_count{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,name)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{name}} - mean", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Workqueue Waiting Duration Quantile (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:2045", "decimals": null, "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:2046", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 26 }, "hiddenSeries": false, "id": 32, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "sum(workqueue_depth{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"})by(job,node,name)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{name}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Workqueue Depth", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:2045", "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:2046", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } } ], "title": "Kubernetes Client", "type": "row" }, { "collapsed": true, "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 1, "w": 24, "x": 0, "y": 18 }, "id": 20, "panels": [ { "cards": { "cardPadding": null, "cardRound": null }, "color": { "cardColor": "#b4ff00", "colorScale": "sqrt", "colorScheme": "interpolateBlues", "exponent": 0.5, "min": null, "mode": "spectrum" }, "dataFormat": "timeseries", "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 8, "w": 8, "x": 0, "y": 19 }, "heatmap": {}, "hideZeroBuckets": true, "highlightCards": true, "id": 24, "legend": { "show": true }, "reverseYBuckets": false, "targets": [ { "expr": "sum(rate(controller_runtime_reconcile_time_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,controller)", "format": "time_series", "interval": "", "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Reconciling Latency Over Time (in $interval)", "tooltip": { "show": true, "showHistogram": false }, "type": "heatmap", "xAxis": { "show": true }, "xBucketNumber": null, "xBucketSize": "1min", "yAxis": { "decimals": 0, "format": "s", "logBase": 1, "max": null, "min": null, "show": true, "splitFactor": 1 }, "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 19 }, "hiddenSeries": false, "id": 22, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "alias": "/^.*\\s-\\smean$/i", "dashes": true, "fill": 0, "zindex": 3 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.50, sum(rate(controller_runtime_reconcile_time_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,controller))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{controller}} - 50%", "refId": "A" }, { "expr": "histogram_quantile(0.95, sum(rate(controller_runtime_reconcile_time_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,controller))", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{controller}} - 95%", "refId": "B" }, { "expr": "sum(rate(controller_runtime_reconcile_time_seconds_sum{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,controller) / sum(rate(controller_runtime_reconcile_time_seconds_count{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,controller)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{controller}} - mean", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Reconciling Latency Quantile (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "decimals": null, "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 16, "y": 19 }, "hiddenSeries": false, "id": 16, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:2345", "alias": "/.*\\s-\\s.*\\/error$/i", "lines": true, "linewidth": 2 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "ceil(sum(increase(controller_runtime_reconcile_total{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,controller,result))", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{controller}} - {{result}}", "refId": "A" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Reconciling Count (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:1994", "decimals": 0, "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:1995", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } }, { "cards": { "cardPadding": null, "cardRound": null }, "color": { "cardColor": "#b4ff00", "colorScale": "sqrt", "colorScheme": "interpolateBlues", "exponent": 0.5, "min": null, "mode": "spectrum" }, "dataFormat": "timeseries", "datasource": "${DS_PROMETHEUS}", "gridPos": { "h": 8, "w": 8, "x": 0, "y": 27 }, "heatmap": {}, "hideZeroBuckets": true, "highlightCards": true, "id": 38, "legend": { "show": true }, "reverseYBuckets": false, "targets": [ { "expr": "sum(rate(controller_runtime_webhook_latency_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,webhook)", "format": "time_series", "interval": "", "intervalFactor": 2, "legendFormat": "", "refId": "A" } ], "timeFrom": null, "timeShift": null, "title": "Webhook Latency Over Time (in $interval)", "tooltip": { "show": true, "showHistogram": false }, "type": "heatmap", "xAxis": { "show": true }, "xBucketNumber": null, "xBucketSize": "1min", "yAxis": { "decimals": 0, "format": "s", "logBase": 1, "max": null, "min": null, "show": true, "splitFactor": 1 }, "yBucketBound": "auto", "yBucketNumber": null, "yBucketSize": null }, { "aliasColors": {}, "bars": false, "dashLength": 10, "dashes": false, "datasource": "${DS_PROMETHEUS}", "decimals": null, "fill": 1, "fillGradient": 0, "gridPos": { "h": 8, "w": 8, "x": 8, "y": 27 }, "hiddenSeries": false, "id": 34, "legend": { "alignAsTable": true, "avg": false, "current": true, "hideEmpty": false, "hideZero": true, "max": true, "min": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, "nullPointMode": "null as zero", "options": { "dataLinks": [] }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [ { "$$hashKey": "object:8119", "alias": "/^.*\\s-\\smean$/i", "dashes": true, "fill": 0, "zindex": 3 } ], "spaceLength": 10, "stack": false, "steppedLine": false, "targets": [ { "expr": "histogram_quantile(0.50, sum(rate(controller_runtime_webhook_latency_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,webhook))", "format": "time_series", "instant": false, "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{webhook}} - 50%", "refId": "A" }, { "expr": "histogram_quantile(0.95, sum(rate(controller_runtime_webhook_latency_seconds_bucket{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,le,webhook))", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{webhook}} - 95%", "refId": "B" }, { "expr": "sum(rate(controller_runtime_webhook_latency_seconds_sum{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,webhook) / sum(rate(controller_runtime_webhook_latency_seconds_count{job=~\"^(octopus-$component)$\",node=~\"^($node)$\"}[$interval])) by (job,node,webhook)", "interval": "", "intervalFactor": 2, "legendFormat": "{{job}}({{node}}) - {{webhook}} - mean", "refId": "C" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, "title": "Webhook Latency Quantile (in $interval)", "tooltip": { "shared": true, "sort": 0, "value_type": "individual" }, "type": "graph", "xaxis": { "buckets": null, "mode": "time", "name": null, "show": true, "values": [] }, "yaxes": [ { "$$hashKey": "object:4721", "decimals": null, "format": "s", "label": null, "logBase": 1, "max": null, "min": null, "show": true }, { "$$hashKey": "object:4722", "format": "short", "label": null, "logBase": 1, "max": null, "min": null, "show": false } ], "yaxis": { "align": false, "alignLevel": null } } ], "title": "Controller Runtime", "type": "row" } ], "refresh": "10s", "schemaVersion": 22, "style": "dark", "tags": [ "rancher/octopus", "edge" ], "templating": { "list": [ { "allValue": ".*", "current": { "tags": [], "text": "All", "value": "$__all" }, "hide": 0, "includeAll": true, "label": "Component", "multi": false, "name": "component", "options": [ { "$$hashKey": "object:310", "selected": true, "text": "All", "value": "$__all" }, { "$$hashKey": "object:311", "selected": false, "text": "brain", "value": "brain" }, { "$$hashKey": "object:312", "selected": false, "text": "limb", "value": "limb" } ], "query": "brain,limb", "skipUrlSync": false, "type": "custom" }, { "allValue": ".*", "current": {}, "datasource": "${DS_PROMETHEUS}", "definition": "label_values(up{job=~\"octopus-$component\"}, node)", "hide": 0, "includeAll": true, "index": -1, "label": "Node", "multi": true, "name": "node", "options": [], "query": "label_values(up{job=~\"octopus-$component\"}, node)", "refresh": 1, "regex": "", "skipUrlSync": false, "sort": 0, "tagValuesQuery": "", "tags": [], "tagsQuery": "", "type": "query", "useTags": false }, { "auto": false, "auto_count": 30, "auto_min": "10s", "current": { "selected": false, "text": "1m", "value": "1m" }, "hide": 0, "label": "Interval", "name": "interval", "options": [ { "selected": false, "text": "30s", "value": "30s" }, { "selected": true, "text": "1m", "value": "1m" }, { "selected": false, "text": "5m", "value": "5m" }, { "selected": false, "text": "10m", "value": "10m" }, { "selected": false, "text": "15m", "value": "15m" }, { "selected": false, "text": "30m", "value": "30m" }, { "selected": false, "text": "1h", "value": "1h" }, { "selected": false, "text": "6h", "value": "6h" }, { "selected": false, "text": "12h", "value": "12h" }, { "selected": false, "text": "1d", "value": "1d" }, { "selected": false, "text": "7d", "value": "7d" }, { "selected": false, "text": "14d", "value": "14d" } ], "query": "30s,1m,5m,10m,15m,30m,1h,6h,12h,1d,7d,14d", "refresh": 2, "skipUrlSync": false, "type": "interval" } ] }, "time": { "from": "now-1h", "to": "now" }, "timepicker": { "refresh_intervals": [ "5s", "10s", "30s", "1m", "5m", "15m", "30m", "1h", "2h", "1d" ] }, "timezone": "browser", "title": "Octopus Overview", "uid": "ZKJ2qB6Zk", "variables": { "list": [] }, "version": 1 }