diff --git a/spinnaker-monitoring-third-party/third_party/prometheus/experimental/redis-system-dashboard.json b/spinnaker-monitoring-third-party/third_party/prometheus/experimental/redis-system-dashboard.json new file mode 100644 index 0000000..a50763b --- /dev/null +++ b/spinnaker-monitoring-third-party/third_party/prometheus/experimental/redis-system-dashboard.json @@ -0,0 +1,1526 @@ +{ + "__inputs": [ + { + "name": "DS_SPINNAKER", + "label": "Spinnaker", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "4.4.3" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + } + ], + "annotations": { + "list": [] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 74, + "panels": [], + "repeat": null, + "title": "Redis Errors", + "type": "row" + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 62, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": true, + "targets": [ + { + "expr": "sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", success!=\"true\"}[$SamplePeriod])) by (method, spin_service)", + "format": "time_series", + "hide": false, + "intervalFactor": 2, + "legendFormat": "{{method}} / {{spin_service}}", + "metric": "", + "refId": "A", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Redis Failure Rate by Method / Instance ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "transparent": false, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 7, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 111, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", success!=\"true\"}[$SamplePeriod])) by (method, spin_service) / sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod])) by (method, spin_service)", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "{{method}} / {{spin_service}}", + "metric": "", + "refId": "A", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Redis Failure Percentage by Method / Instance ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "transparent": false, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": "1.2", + "min": "0", + "show": true + }, + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 8 + }, + "id": 97, + "panels": [], + "title": "Redis Performance", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 110, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{spin_service}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Completion Rate by Service", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 99, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "topk(5, avg(rate(external_redis_completions__totalTime_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod]) / rate(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod])) by (method, spin_service))", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "{{method}} / {{spin_service}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Top 5 Avg Redis Method Latency by Service ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ns", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ns", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 5, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 113, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", pipelined=\"true\"}[$SamplePeriod])) by (method, spin_service)", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": " {{method}} / {{spin_service}}", + "metric": "", + "refId": "A", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pipelined Method Rate / Instance ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "transparent": false, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 5, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 112, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", pipelined=\"true\"}[$SamplePeriod])) by (spin_service) / sum($Function(external_redis_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": " {{spin_service}}", + "metric": "", + "refId": "A", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pipelined Method Percentage / Instance ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "transparent": false, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 23 + }, + "id": 102, + "panels": [], + "title": "Payload Size", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 4, + "w": 12, + "x": 0, + "y": 24 + }, + "id": 114, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg(rate(external_redis_payloadSize__totalAmount_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod]) / rate(external_redis_payloadSize__count_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod])) by (method)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{method}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg Redis Payload Size by Method ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 4, + "w": 12, + "x": 12, + "y": 24 + }, + "id": 105, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg(rate(external_redis_payloadSize__totalAmount_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod]) / rate(external_redis_payloadSize__count_total{instance=~\"$Instance\", spin_service=~\"$Service\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "interval": "", + "intervalFactor": 1, + "legendFormat": "{{spin_service}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg Redis Payload Size by Service Instance", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 28 + }, + "id": 86, + "panels": [], + "title": "CATS Keys", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 29 + }, + "id": 93, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg($Function(clouddriver_cache_redis_get_keys_total{instance=~\"$Instance\",spin_service=~\"$Service\"}[$SamplePeriod])) by (platform, spin_variant)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{platform}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg CATS Keys Requested ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 8, + "x": 8, + "y": 29 + }, + "id": 89, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg($Function(clouddriver_cache_redis_merge_keys_total{instance=~\"$Instance\",spin_service=~\"$Service\"}[$SamplePeriod])) by (platform, spin_variant)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{platform}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg CATS Keys Merged ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "transparent": false, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 8, + "x": 16, + "y": 29 + }, + "id": 90, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg($Function(clouddriver_cache_redis_evict_keys_total{instance=~\"$Instance\",spin_service=~\"$Service\"}[$SamplePeriod])) by (platform, spin_variant)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{platform}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg CATS Keys Evicted ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 38 + }, + "id": 92, + "panels": [], + "title": "CATS Items", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 8, + "x": 0, + "y": 39 + }, + "id": 88, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg($Function(clouddriver_cache_redis_get_items_total{instance=~\"$Instance\",spin_service=~\"$Service\"}[$SamplePeriod])) by (platform, spin_variant)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{platform}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg CATS Items Requested ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 8, + "x": 8, + "y": 39 + }, + "id": 94, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg($Function(clouddriver_cache_redis_merge_items_total{instance=~\"$Instance\",spin_service=~\"$Service\"}[$SamplePeriod])) by (platform, spin_variant)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{platform}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg CATS Items Merged ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 9, + "w": 8, + "x": 16, + "y": 39 + }, + "id": 95, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg($Function(clouddriver_cache_redis_evict_items_total{instance=~\"$Instance\",spin_service=~\"$Service\"}[$SamplePeriod])) by (platform, spin_variant)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{platform}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Avg CATS Items Evicted ($Instance, $Service)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": false, + "schemaVersion": 16, + "style": "dark", + "tags": [ + "spinnaker", + "redis" + ], + "templating": { + "list": [ + { + "allValue": ".*", + "current": { + "text": "All", + "value": "$__all" + }, + "datasource": "Spinnaker", + "definition": "", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "Service", + "options": [], + "query": "label_values(external_redis_completions__count_total, spin_service)", + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": ".*", + "current": { + "text": "All", + "value": "$__all" + }, + "datasource": "Spinnaker", + "definition": "label_values(external_redis_completions__count_total, instance)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "Instance", + "options": [], + "query": "label_values(external_redis_completions__count_total, instance)", + "refresh": 2, + "regex": "/(.*?):.*?/", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "selected": true, + "tags": [], + "text": "Delta", + "value": "delta" + }, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "Function", + "options": [ + { + "selected": true, + "text": "Delta", + "value": "delta" + }, + { + "selected": false, + "text": "Rate", + "value": "rate" + }, + { + "selected": false, + "text": "Instant Delta", + "value": "idelta" + }, + { + "selected": false, + "text": "Instant Rate", + "value": "irate" + } + ], + "query": "delta,rate,idelta,irate", + "skipUrlSync": false, + "type": "custom" + }, + { + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "tags": [], + "text": "1m", + "value": "1m" + }, + "hide": 0, + "label": "Sample Period", + "name": "SamplePeriod", + "options": [ + { + "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" + } + ], + "query": "1m,5m,10m,15m,30m,1h", + "refresh": 2, + "skipUrlSync": false, + "type": "interval" + } + ] + }, + "time": { + "from": "now-3h", + "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": "browser", + "title": "Redis Spinnaker System", + "version": 1 +} diff --git a/spinnaker-monitoring-third-party/third_party/prometheus/experimental/spinnaker-system-dashboard.json b/spinnaker-monitoring-third-party/third_party/prometheus/experimental/spinnaker-system-dashboard.json new file mode 100644 index 0000000..1da1c09 --- /dev/null +++ b/spinnaker-monitoring-third-party/third_party/prometheus/experimental/spinnaker-system-dashboard.json @@ -0,0 +1,1547 @@ +{ + "__inputs": [ + { + "name": "DS_SPINNAKER", + "label": "Spinnaker", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "4.3.2" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + } + ], + "annotations": { + "list": [] + }, + "editable": true, + "gnetId": null, + "graphTooltip": 0, + "id": null, + "links": [], + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 67, + "panels": [], + "title": "Invocations", + "type": "row" + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 1 + }, + "id": 63, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(service_controller_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=\"\",status=\"5xx\"}[$SamplePeriod])) by (spin_service,status)", + "format": "time_series", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}.{{status}}", + "refId": "A", + "step": 30 + }, + { + "expr": "sum($Function(service_controller_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant!=\"\",status=\"5xx\"}[$SamplePeriod])) by (spin_service,status)", + "format": "time_series", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}/{{spin_variant}}.{{status}}", + "refId": "B", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "5xx Invocation Errors ($Instance)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 6 + }, + "id": 72, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(service_controller_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=\"\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}", + "refId": "A", + "step": 30 + }, + { + "expr": "sum($Function(service_controller_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant!~\"\"}[$SamplePeriod])) by (spin_service, spin_variant)", + "format": "time_series", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}.{{spin_variant}}", + "refId": "B", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Controller Invocation Rate ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 10, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 10, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 11 + }, + "id": 26, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg(delta(service_controller_completions__totalTime_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\"}[$SamplePeriod])) by (spin_service) / avg(delta(service_controller_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}/{{controller}}", + "refId": "A", + "step": 30 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Controller Invocation Latency by Method ($Instance)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ns", + "label": null, + "logBase": 10, + "max": null, + "min": null, + "show": true + }, + { + "format": "ns", + "label": null, + "logBase": 10, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 74, + "panels": [], + "title": "Processing", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "fill": 1, + "gridPos": { + "h": 5, + "w": 24, + "x": 0, + "y": 18 + }, + "id": 81, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(workflow_execution_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\",success=\"false\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{spin_service}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Workflow Errors by Service ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "fill": 1, + "gridPos": { + "h": 4, + "w": 24, + "x": 0, + "y": 23 + }, + "id": 79, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg(delta(queue_message_lag__totalTime_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\"}[$SamplePeriod])) by (spin_service) / avg(delta(queue_message_lag__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{spin_service}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Message Lag by Service ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ns", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ns", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 6, + "w": 24, + "x": 0, + "y": 27 + }, + "id": 77, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(workflow_execution_completions__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\"}[$SamplePeriod])) by (spin_service, executionType)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "{{spin_service}}/{{executionType}}", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Workflow Execution Rate by Service ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 33 + }, + "id": 6, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(clouddriver_operations__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\",success=\"true\"}[$SamplePeriod]))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "SUCCESS", + "refId": "B" + }, + { + "expr": "sum($Function(clouddriver_operations__count_total{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\",success!=\"true\"}[$SamplePeriod]))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "FAILED", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Clouddriver Operation Rate ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": "0", + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 40 + }, + "id": 71, + "panels": [], + "title": "Hystrix", + "type": "row" + }, + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 6, + "w": 8, + "x": 0, + "y": 41 + }, + "id": 11, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(hystrix_rollingCount_shortCircuited{instance=~\"$Instance\",spin_service=~\"$Service\",spin_variant=~\"$Variant\"}) by (metricGroup, metricType, spin_ervice, spin_variant)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}.{{spin_variant}}.{{metricGroup}}({{metricType}})", + "metric": "", + "refId": "A", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Hystrix Short Circuited ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 10, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 10, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 6, + "w": 8, + "x": 8, + "y": 41 + }, + "id": 37, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(hystrix_rollingCount_attempt{instance=~\"$Instance\",spin_service=~\"$Service\",success=\"true\"}[$SamplePeriod])) by (metricType, spin_service)", + "format": "time_series", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}.{{metricType}}/SUCCESS", + "metric": "", + "refId": "A", + "step": 40 + }, + { + "expr": "-sum($Function(hystrix_rollingCount_attempt{instance=~\"$Instance\",spin_service=~\"$Service\",success!=\"true\"}[$SamplePeriod])) by (metricType, spin_service)", + "format": "time_series", + "interval": "", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}.{{metricType}}/FAIL", + "metric": "", + "refId": "B", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Hystrix Rolling Count Attempts ($Instance)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 6, + "w": 8, + "x": 16, + "y": 41 + }, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": false, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(hystrix_rollingCount_attempt{instance=~\"$Instance\",spin_service=~\"$Service\",success=\"true\"}) by (spin_service, metricType)", + "format": "time_series", + "hide": false, + "intervalFactor": 2, + "legendFormat": "{{spin_service}}.{{metricType}}", + "metric": "", + "refId": "A", + "step": 40 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Hystrix Rolling Count Fallback Success ($Instance)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "cumulative" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 47 + }, + "id": 83, + "panels": [], + "title": "Platform", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "fill": 1, + "gridPos": { + "h": 7, + "w": 24, + "x": 0, + "y": 48 + }, + "id": 85, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(platform_appengine_deploy_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success!=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Gae", + "refId": "A" + }, + { + "expr": "sum($Function(platform_appengine_repository_downloads__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success!=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "GaeDownload", + "refId": "B" + }, + { + "expr": "sum($Function(platform_aws_api_http_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success!=\"true\"}[$SamplePeriod])) by (spin_service, statusCode)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Aws.{{statusCode}}", + "refId": "C" + }, + { + "expr": "sum($Function(platform_google_api_compute_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", status!=\"2xx\"}[$SamplePeriod])) by (spin_service, status)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Compute.{{status}}", + "refId": "D" + }, + { + "expr": "sum($Function(platform_google_api_storage_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", status!=\"2xx\"}[$SamplePeriod])) by (spin_service, status)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Storage.{{status}}", + "refId": "E" + }, + { + "expr": "sum($Function(platform_kubernetes_api_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success!=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Gke", + "refId": "F" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Error Rate by Platform ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "fill": 1, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 55 + }, + "id": 86, + "legend": { + "avg": false, + "current": false, + "hideEmpty": true, + "hideZero": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum($Function(platform_appengine_deploy_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Gae", + "refId": "A" + }, + { + "expr": "sum($Function(platform_appengine_repository_downloads__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "GaeDownload", + "refId": "B" + }, + { + "expr": "sum($Function(platform_aws_api_http_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Aws", + "refId": "C" + }, + { + "expr": "sum($Function(platform_google_api_compute_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", status=\"2xx\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Compute", + "refId": "D" + }, + { + "expr": "sum($Function(platform_google_api_storage_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", status=\"2xx\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Storage", + "refId": "E" + }, + { + "expr": "sum($Function(platform_kubernetes_api_completions__count_total{instance=~\"$Instance\", spin_service=~\"$Service\", spin_variant=~\"$Variant\", success=\"true\"}[$SamplePeriod])) by (spin_service)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "Gke", + "refId": "F" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Success Rate by Platform ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 63 + }, + "id": 76, + "panels": [], + "title": "JVM Memory", + "type": "row" + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "Spinnaker", + "fill": 1, + "gridPos": { + "h": 8, + "w": 24, + "x": 0, + "y": 64 + }, + "id": 21, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "avg(platform_java_memory{instance=~\"$Instance\",segment=~\"PS Old Gen\"}) by (spin_service)", + "format": "time_series", + "intervalFactor": 2, + "legendFormat": "{{spin_service}}", + "metric": "", + "refId": "G", + "step": 10 + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "JVM PS Old Gen Memory ($Instance, $Service, $Variant)", + "tooltip": { + "shared": true, + "sort": 2, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "decbytes", + "label": null, + "logBase": 10, + "max": null, + "min": null, + "show": true + }, + { + "format": "decbytes", + "label": null, + "logBase": 10, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": "30s", + "schemaVersion": 16, + "style": "dark", + "tags": [ + "spinnaker" + ], + "templating": { + "list": [ + { + "allValue": null, + "current": { + "text": "All", + "value": "$__all" + }, + "datasource": "Spinnaker", + "definition": "label_values(service_controller_completions__count_total, spin_service)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "Service", + "options": [], + "query": "label_values(service_controller_completions__count_total, spin_service)", + "refresh": 2, + "regex": ".*", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "text": "All", + "value": "$__all" + }, + "datasource": "Spinnaker", + "definition": "label_values(service_controller_completions__count_total, spin_variant)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "Variant", + "options": [], + "query": "label_values(service_controller_completions__count_total, spin_variant)", + "refresh": 2, + "regex": ".*", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": ".*", + "current": { + "text": "All", + "value": "$__all" + }, + "datasource": "Spinnaker", + "definition": "label_values(service_controller_completions__count_total, instance)", + "hide": 0, + "includeAll": true, + "label": null, + "multi": false, + "name": "Instance", + "options": [], + "query": "label_values(service_controller_completions__count_total, instance)", + "refresh": 1, + "regex": "/(.*):.*/", + "skipUrlSync": false, + "sort": 1, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + }, + { + "allValue": null, + "current": { + "tags": [], + "text": "Instant Rate", + "value": "irate" + }, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "Function", + "options": [ + { + "selected": false, + "text": "Delta", + "value": "delta" + }, + { + "selected": false, + "text": "Rate", + "value": "rate" + }, + { + "selected": false, + "text": "Instant Delta", + "value": "idelta" + }, + { + "selected": true, + "text": "Instant Rate", + "value": "irate" + } + ], + "query": "delta,rate,idelta,irate", + "skipUrlSync": false, + "type": "custom" + }, + { + "auto": false, + "auto_count": 30, + "auto_min": "10s", + "current": { + "text": "1m", + "value": "1m" + }, + "hide": 0, + "label": "Sample Period", + "name": "SamplePeriod", + "options": [ + { + "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" + } + ], + "query": "1m,5m,10m,15m,30m,1h", + "refresh": 2, + "skipUrlSync": false, + "type": "interval" + } + ] + }, + "time": { + "from": "now-3h", + "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": "browser", + "title": "Spinnaker System Overview", + "version": 1 +} diff --git a/spinnaker-monitoring-third-party/third_party/stackdriver/experimental/spinnaker-system-dashboard.json b/spinnaker-monitoring-third-party/third_party/stackdriver/experimental/spinnaker-system-dashboard.json new file mode 100644 index 0000000..fb9de49 --- /dev/null +++ b/spinnaker-monitoring-third-party/third_party/stackdriver/experimental/spinnaker-system-dashboard.json @@ -0,0 +1,687 @@ +{ + "revision": 0, + "displayName": "Spinnaker System Summary", + "root": { + "rowLayout": { + "rows": [ + { + "widgets": [ + { + "title": "Service 5xx Errors", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/service/controller/completions__count\" AND metric.label.status=\"5xx\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Service Invocation Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/service/controller/completions__count\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Service Invocation Latency", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/service/controller/completions__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/service/controller/completions__count\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Clouddriver Operation Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/clouddriver/operations__count\" AND metric.label.success=\"true\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "legendTemplate": "SUCCESS" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/clouddriver/operations__count\" AND metric.label.success!=\"true\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "legendTemplate": "FAILED" + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Failed Task Execution Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/workflow/task/execution/completions/withType__count\" AND metric.label.success!=\"true\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + }, + { + "title": "Messages Orphaned or Dead", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/queue/message/orphaned\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/queue/message/dead\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Completed Task Execution Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/workflow/task/execution/completions/withType__count\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + }, + { + "title": "Completed Task Execution Time", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/workflow/task/execution/completions/withType__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/workflow/task/execution/completions/withType__count\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Lagging Message Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/queue/message/lag__count\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + }, + { + "title": "Lagging Message Time", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/queue/message/lag__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/queue/message/lag__count\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service" + ], + "unitOverride": "1" + } + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "Platform API Failure Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/kubernetes/api/completions__count\" AND metric.label.success!=\"true\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Kubernetes" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/compute/completions__count\" AND metric.label.status!=\"2xx\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Compute" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/storage/completions__count\" AND metric.label.status!=\"2xx\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Storage" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/appengine/deploy/completions__count\" AND metric.label.success!=\"true\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Appengine" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/aws/api/http/completions__count\" AND metric.label.success!=\"true\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Amazon" + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + { + "widgets": [ + { + "title": "Platform API Rate", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/kubernetes/completions__count\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Kubernetes" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/compute/completions__count\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Compute" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/storage/completions__count\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Storage" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/appengine/deploy/completions__count\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Appengine" + }, + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/aws/api/http/completions__count\"", + "perSeriesAligner": "ALIGN_RATE", + "crossSeriesReducer": "REDUCE_SUM" + }, + "legendTemplate": "Amazon" + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + { + "widgets": [ + { + "title": "Platform API Time", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/appengine/deploy/completions__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/appengine/deploy/completions__count\"", + + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + }, + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/aws/api/http/completions__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/aws/api/http/completions__count\"", + + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + }, + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/compute/completions__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/compute/completions__count\"", + + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + }, + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/storage/completions__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/google/api/storage/completions__count\"", + + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + }, + { + "timeSeriesFilterRatio": { + "numerator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/kubernetes/completions__totalTime\"", + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + }, + "denominator_filter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/kubernetes/api/completions__count\"", + + "perSeriesAligner": "ALIGN_DELTA", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + }, + + { + "widgets": [ + { + "title": "JVM Memory Usage", + "xyChart": { + "dataSets": [ + { + "timeSeriesFilter": { + "filter": "metric.type=\"custom.googleapis.com/spinnaker/platform/java/memory\" AND metric.label.segment=\"PS Old Gen\"", + "perSeriesAligner": "ALIGN_MEAN", + "crossSeriesReducer": "REDUCE_SUM", + "secondaryCrossSeriesReducer": "REDUCE_NONE", + "minAlignmentPeriod": "60s", + "groupByFields": [ + "metric.label.spin_service", + "metric.label.spin_variant" + ], + "unitOverride": "1" + } + } + ], + "constantLines": [ + {} + ], + "options": {}, + "y1Axis": {}, + "xAxis": {} + } + } + ] + } + ] + } + } +} +