From aae4ca754497ebfdbf70560596cd9185fd787b21 Mon Sep 17 00:00:00 2001 From: Sofia Papagiannaki Date: Wed, 14 Oct 2020 16:05:17 +0300 Subject: [PATCH] Cloud monitoring: out-of-the-box dashboards (#27864) * Cloud monitoring: out-of-the-box dashboards * Remove redundant information related to dev account * Update docs/sources/features/datasources/cloudmonitoring.md Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> * Rename JSON files * Fix docs * Fixe docs * Parameterise dashboards by CM datasource * Fix metric kind in CloudSQL dashboard * Set alias to instance name for GCE dashboard panels Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com> --- docs/sources/datasources/cloudmonitoring.md | 21 + .../cloud-monitoring/dashboards/bigQuery.json | 1451 ++++++++++ .../cloud-monitoring/dashboards/cloudSQL.json | 1385 +++++++++ .../cloud-monitoring/dashboards/gce.json | 1209 ++++++++ .../cloud-monitoring/dashboards/gke.json | 2548 +++++++++++++++++ .../dashboards/loadBalancer.json | 1143 ++++++++ .../datasource/cloud-monitoring/plugin.json | 7 + 7 files changed, 7764 insertions(+) create mode 100644 public/app/plugins/datasource/cloud-monitoring/dashboards/bigQuery.json create mode 100644 public/app/plugins/datasource/cloud-monitoring/dashboards/cloudSQL.json create mode 100644 public/app/plugins/datasource/cloud-monitoring/dashboards/gce.json create mode 100644 public/app/plugins/datasource/cloud-monitoring/dashboards/gke.json create mode 100644 public/app/plugins/datasource/cloud-monitoring/dashboards/loadBalancer.json diff --git a/docs/sources/datasources/cloudmonitoring.md b/docs/sources/datasources/cloudmonitoring.md index 45b686cb03f..5c65ccf452c 100644 --- a/docs/sources/datasources/cloudmonitoring.md +++ b/docs/sources/datasources/cloudmonitoring.md @@ -335,3 +335,24 @@ Only available in Grafana v7.1+. Click on a time series in the panel to see a context menu with a link to View in Metrics Explorer in Google Cloud Console. Clicking that link opens the Metrics Explorer in the Google Cloud Console and runs the query from the Grafana panel there. The link navigates the user first to the Google Account Chooser and after successfully selecting an account, the user is redirected to the Metrics Explorer. The provided link is valid for any account, but it only displays the query if your account has access to the GCP project specified in the query. + +## Out-of-the-box dashboards + +> Only available in Grafana v7.3+. + +The updated Cloud Monitoring data source ships with pre-configured dashboards for five of the most popular GCP services: + +1. BigQuery Query Monitoring +1. Cloud SQL Monitoring +1. GCE VM Instance Monitoring +1. GKE Cluster Monitoring +1. HTTP_S Load Balancer Monitoring + +To import the pre-configured dashboards, go to the configuration page of a Cloud monitoring data source and click on the `Dashboards` tab. Click `Import` for the dashboard you would like to use. +The datasource of the newly created dashboard panels will be the one selected above. + +The dashboards have a template variable which is populated with the projects accessible by the configured service account every time the dashboard is loaded. After the dashboard is loaded, you can select the project you prefer from the drop-down list. + +To customize the dashboard, we recommend saving the dashboard under a different name, because otherwise the dashboard will be overwritten when a new version of the dashboard is released. + +{{< docs-imagebox img="/img/docs/v73/cloud-monitoring-dashboard-import.png" caption="Cloud Monitoring dashboard import" >}} diff --git a/public/app/plugins/datasource/cloud-monitoring/dashboards/bigQuery.json b/public/app/plugins/datasource/cloud-monitoring/dashboards/bigQuery.json new file mode 100644 index 00000000000..2b460e8fc14 --- /dev/null +++ b/public/app/plugins/datasource/cloud-monitoring/dashboards/bigQuery.json @@ -0,0 +1,1451 @@ +{ + "__inputs": [], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "7.3.0-pre" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "stackdriver", + "name": "Google Cloud Monitoring", + "version": "1.0.0" + } + ], + "annotations": { + "list": [ + { + "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, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "DELTA", + "metricType": "bigquery.googleapis.com/storage/uploaded_bytes_billed", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Uploaded bytes billed by label.project_id [SUM]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "hiddenSeries": false, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "DELTA", + "metricType": "bigquery.googleapis.com/query/scanned_bytes", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "DELTA", + "metricType": "bigquery.googleapis.com/query/scanned_bytes_billed", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "DELTA", + "metricType": "bigquery.googleapis.com/storage/uploaded_bytes_billed", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Scanned bytes, billed and uploaded by label.project_id [SUM], ...", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.dataset_id"], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/storage/stored_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Stored bytes by label.dataset_id [SUM]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "DELTA", + "metricType": "bigquery.googleapis.com/storage/uploaded_row_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Uploaded rows by label.project_id [SUM]", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/storage/table_count", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Table count by label.project_id [SUM]", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "hiddenSeries": false, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/job/num_in_flight", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Job count by label.project_id [SUM]", + "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, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "hiddenSeries": false, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_99", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/query/execution_times", + "perSeriesAligner": "ALIGN_NEXT_OLDER", + "projectName": "$project", + "unit": "s", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Query execution times by label.project_id [99TH PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "hiddenSeries": false, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/query/count", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A", + "scenarioId": "random_walk" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Query count by label.project_id [SUM]", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "hiddenSeries": false, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/slots/allocated", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Slots used by project, reservation, and job type", + "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, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "hiddenSeries": false, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquery.googleapis.com/slots/allocated", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Slots used by project, reservation, and job type by label.project_id [SUM]", + "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, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 40 + }, + "hiddenSeries": false, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_99", + "filters": ["resource.label.service", "=", "bigquery.googleapis.com"], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "serviceruntime.googleapis.com/api/request_latencies", + "perSeriesAligner": "ALIGN_SUM", + "projectName": "$project", + "unit": "s", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Consumed API - Request latencies (filtered) (grouped) [99TH PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "hiddenSeries": false, + "id": 18, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquerybiengine.googleapis.com/reservation/total_bytes", + "perSeriesAligner": "ALIGN_INTERPOLATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.project_id"], + "metricKind": "GAUGE", + "metricType": "bigquerybiengine.googleapis.com/reservation/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Reservation total bytes by label.project_id [SUM], ...", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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 + } + } + ], + "schemaVersion": 26, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "cloud-monitoring", + "value": "cloud-monitoring" + }, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "datasource", + "options": [], + "query": "stackdriver", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": {}, + "datasource": "$datasource", + "definition": "Google Cloud Monitoring - Projects", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "project", + "options": [], + "query": { + "labelKey": "", + "loading": false, + "projectName": "$project", + "projects": [ + { + "name": "project-1", + "value": "project-1" + }, + { + "name": "project-2", + "value": "project-2" + } + ], + "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", + "selectedQueryType": "projects", + "selectedSLOService": "", + "selectedService": "actions.googleapis.com", + "sloServices": [] + }, + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "BigQuery Query Monitoring", + "uid": "DjFjtrvMa", + "version": 5 +} diff --git a/public/app/plugins/datasource/cloud-monitoring/dashboards/cloudSQL.json b/public/app/plugins/datasource/cloud-monitoring/dashboards/cloudSQL.json new file mode 100644 index 00000000000..53e154deab6 --- /dev/null +++ b/public/app/plugins/datasource/cloud-monitoring/dashboards/cloudSQL.json @@ -0,0 +1,1385 @@ +{ + "__inputs": [], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "7.3.0-pre" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "stackdriver", + "name": "Google Cloud Monitoring", + "version": "1.0.0" + } + ], + "annotations": { + "list": [ + { + "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, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": true, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": false, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.state}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_COUNT_TRUE", + "filters": [], + "groupBys": ["metric.label.state"], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/instance_state", + "perSeriesAligner": "ALIGN_NEXT_OLDER", + "projectName": "$project", + "unit": "", + "valueType": "BOOL" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Instance state [COUNT]", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "hiddenSeries": false, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MEAN", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/up", + "perSeriesAligner": "ALIGN_INTERPOLATE", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Server up", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/cpu/reserved_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total CPU reserved cores", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/cpu/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "10^2.%", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/cpu/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "10^2.%", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/cpu/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "10^2.%", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "CPU utilization [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/memory/quota", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "{{metric.name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/memory/usage", + "perSeriesAligner": "ALIGN_INTERPOLATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total Memory quota, Memory usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "hiddenSeries": false, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/memory/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/memory/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/memory/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Memory utilization [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "hiddenSeries": false, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/disk/quota", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "{{metric.name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/disk/bytes_used", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total Disk quota, Bytes used", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "hiddenSeries": false, + "id": 18, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/disk/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/disk/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "cloudsql.googleapis.com/database/disk/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk utilization [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "hiddenSeries": false, + "id": 19, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "cloudsql.googleapis.com/database/disk/read_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "cloudsql.googleapis.com/database/disk/read_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "cloudsql.googleapis.com/database/disk/read_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk read IO [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "hiddenSeries": false, + "id": 20, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "cloudsql.googleapis.com/database/disk/write_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "cloudsql.googleapis.com/database/disk/write_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "cloudsql.googleapis.com/database/disk/write_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk write IO [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "bytes", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "refresh": false, + "schemaVersion": 26, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "cloud-monitoring", + "value": "cloud-monitoring" + }, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "datasource", + "options": [], + "query": "stackdriver", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": {}, + "datasource": "$datasource", + "definition": "Google Cloud Monitoring - Projects", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "project", + "options": [], + "query": { + "labelKey": "", + "loading": false, + "projectName": "$project", + "projects": [ + { + "name": "project-1", + "value": "project-1" + }, + { + "name": "project-2", + "value": "project-2" + } + ], + "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", + "selectedQueryType": "projects", + "selectedSLOService": "", + "selectedService": "actions.googleapis.com", + "sloServices": [] + }, + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Cloud SQL Monitoring", + "uid": "vRBxCcKGa", + "version": 3 +} diff --git a/public/app/plugins/datasource/cloud-monitoring/dashboards/gce.json b/public/app/plugins/datasource/cloud-monitoring/dashboards/gce.json new file mode 100644 index 00000000000..5bec75785ae --- /dev/null +++ b/public/app/plugins/datasource/cloud-monitoring/dashboards/gce.json @@ -0,0 +1,1209 @@ +{ + "__inputs": [], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "7.3.0-pre" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "stackdriver", + "name": "Google Cloud Monitoring", + "version": "1.0.0" + } + ], + "annotations": { + "list": [ + { + "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, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 2, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "compute.googleapis.com/instance/cpu/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "10^2.%", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GCE VM Instance - CPU Utilization", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:106", + "format": "percent", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:107", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "hiddenSeries": false, + "id": 4, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/uptime", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "s{uptime}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GCE VM Instance - Uptime", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:247", + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:248", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/disk/read_ops_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk read operations", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/disk/write_ops_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk write operations", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/disk/read_bytes_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk read bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "hiddenSeries": false, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/disk/write_bytes_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Disk write bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "hiddenSeries": false, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/network/received_packets_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GCE VM Instance - Received packets count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "hiddenSeries": false, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/nat/sent_packets_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "{packet}", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GCE VM Instance - Sent packets count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "hiddenSeries": false, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/network/received_bytes_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GCE VM Instance - Received bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "hiddenSeries": false, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{metric.label.instance_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "compute.googleapis.com/instance/network/sent_bytes_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "GCE VM Instance - Sent bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "$$hashKey": "object:505", + "format": "Bps", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "$$hashKey": "object:506", + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + } + ], + "schemaVersion": 26, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "cloud-monitoring", + "value": "cloud-monitoring" + }, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "datasource", + "options": [], + "query": "stackdriver", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": {}, + "datasource": "$datasource", + "definition": "Google Cloud Monitoring - Projects", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "project", + "options": [], + "query": { + "labelKey": "", + "loading": false, + "projectName": "$project", + "projects": [ + { + "name": "project-1", + "value": "project-1" + }, + { + "name": "project-2", + "value": "project-2" + } + ], + "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", + "selectedQueryType": "projects", + "selectedSLOService": "", + "selectedService": "actions.googleapis.com", + "sloServices": [] + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "GCE VM Instance Monitoring", + "uid": "4ZIrp9DMa", + "version": 1 +} diff --git a/public/app/plugins/datasource/cloud-monitoring/dashboards/gke.json b/public/app/plugins/datasource/cloud-monitoring/dashboards/gke.json new file mode 100644 index 00000000000..0e0e7ee76c0 --- /dev/null +++ b/public/app/plugins/datasource/cloud-monitoring/dashboards/gke.json @@ -0,0 +1,2548 @@ +{ + "__inputs": [], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "7.3.0-pre" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "stackdriver", + "name": "Google Cloud Monitoring", + "version": "1.0.0" + } + ], + "annotations": { + "list": [ + { + "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, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/cpu/allocatable_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/cpu/total_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Node - Total, Request, Allocatable CPU cores", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "hiddenSeries": false, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/memory/total_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/memory/allocatable_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Node - Total memory, Memory usage, Allocatable memory", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MEAN", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/node/network/received_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MAX", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/node/network/received_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Node - Bytes received [MEAN], Bytes received [MAX]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MEAN", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/node/network/sent_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MAX", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/node/network/sent_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Node - Bytes transmitted [MEAN], Bytes transmitted [MAX]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 11, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/ephemeral_storage/total_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/ephemeral_storage/allocatable_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/ephemeral_storage/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Node - Total ephemeral storage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "hiddenSeries": false, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/ephemeral_storage/inodes_total", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/node/ephemeral_storage/inodes_free", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/ephemeral_storage/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Node - Total inodes", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "hiddenSeries": false, + "id": 13, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/limit_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - Total CPU Cores limit, Cores request", + "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, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "hiddenSeries": false, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/limit_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_cores", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "{cpu}", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - CPU cores limit utilization[95/50/5 PERCENTILE]", + "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, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "hiddenSeries": false, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/cpu/request_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - CPU request utilization [95/50/5 PERCENTILE]", + "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, + "datasource": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 32 + }, + "hiddenSeries": false, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/limit_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/request_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - Memory limit, Memory request", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 40 + }, + "hiddenSeries": false, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/limit_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/limit_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/limit_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - Memory limit utilization[90/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 40 + }, + "hiddenSeries": false, + "id": 18, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/request_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "1", + "valueType": "DOUBLE" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/request_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/container/memory/request_utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - Memory request utilization [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percent", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 48 + }, + "hiddenSeries": false, + "id": 19, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/container/restart_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Container - Restart count [SUM]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 48 + }, + "hiddenSeries": false, + "id": 20, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/pod/network/received_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/pod/network/received_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/pod/network/received_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod - Bytes received [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 56 + }, + "hiddenSeries": false, + "id": 21, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/pod/network/sent_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/pod/network/sent_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "CUMULATIVE", + "metricType": "kubernetes.io/pod/network/sent_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod - Bytes transmitted [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 56 + }, + "hiddenSeries": false, + "id": 22, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_MIN", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MIN", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/total_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_MAX", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MAX", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/total_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_MEAN", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MEAN", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/total_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod - Volume capacity", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 64 + }, + "hiddenSeries": false, + "id": 23, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_MIN", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MIN", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_MAX", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MAX", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_MEAN", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_MEAN", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/used_bytes", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod - Volume capacity", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 64 + }, + "hiddenSeries": false, + "id": 24, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "GAUGE", + "metricType": "kubernetes.io/pod/volume/utilization", + "perSeriesAligner": "ALIGN_MEAN", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod - Volume utilization [95/50/5 PERCENTILE]", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "bytes", + "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 + } + } + ], + "schemaVersion": 26, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "cloud-monitoring", + "value": "cloud-monitoring" + }, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "datasource", + "options": [], + "query": "stackdriver", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": {}, + "datasource": "$datasource", + "definition": "Google Cloud Monitoring - Projects", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "project", + "options": [], + "query": { + "labelKey": "", + "loading": false, + "projectName": "$project", + "projects": [ + { + "name": "project-1", + "value": "project-1" + }, + { + "name": "project-2", + "value": "project-2" + } + ], + "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", + "selectedQueryType": "projects", + "selectedSLOService": "", + "selectedService": "actions.googleapis.com", + "sloServices": [] + }, + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-1h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "GKE Cluster Monitoring", + "uid": "Z1HlU5FMa", + "version": 4 +} diff --git a/public/app/plugins/datasource/cloud-monitoring/dashboards/loadBalancer.json b/public/app/plugins/datasource/cloud-monitoring/dashboards/loadBalancer.json new file mode 100644 index 00000000000..2eaf3ed3313 --- /dev/null +++ b/public/app/plugins/datasource/cloud-monitoring/dashboards/loadBalancer.json @@ -0,0 +1,1143 @@ +{ + "__inputs": [], + "__requires": [ + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "7.3.0-pre" + }, + { + "type": "panel", + "id": "graph", + "name": "Graph", + "version": "" + }, + { + "type": "datasource", + "id": "stackdriver", + "name": "Google Cloud Monitoring", + "version": "1.0.0" + } + ], + "annotations": { + "list": [ + { + "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, + "links": [], + "panels": [ + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 0 + }, + "hiddenSeries": false, + "id": 7, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/request_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Request Count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "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": "$datasource", + "description": "", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 0 + }, + "hiddenSeries": false, + "id": 8, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/total_latencies", + "perSeriesAligner": "ALIGN_PERCENTILE_99", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Total Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "ms", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 8 + }, + "hiddenSeries": false, + "id": 9, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/request_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Request Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 8 + }, + "hiddenSeries": false, + "id": 10, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/response_bytes_count", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Response Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 16 + }, + "hiddenSeries": false, + "id": 12, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "ALIGN_DELTA REDUCE_PERCENTILE_95 {{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/frontend_tcp_rtt", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "ALIGN_PERCENTILE_99 REDUCE_PERCENTILE_05 {{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/frontend_tcp_rtt", + "perSeriesAligner": "ALIGN_PERCENTILE_99", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "ALIGN_DELTA REDUCE_PERCENTILE_50 {{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/frontend_tcp_rtt", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Frontend RTT [95/50/5 PERCENTILE].", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 16 + }, + "hiddenSeries": false, + "id": 14, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/backend_request_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "1", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Backend Request Count", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 24 + }, + "hiddenSeries": false, + "id": 15, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/backend_request_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Backend Request Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 24 + }, + "hiddenSeries": false, + "id": 16, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "{{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_SUM", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/backend_response_bytes_count", + "perSeriesAligner": "ALIGN_RATE", + "projectName": "$project", + "unit": "By", + "valueType": "INT64" + }, + "queryType": "metrics", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Backend Response Bytes", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "Bps", + "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": "$datasource", + "fieldConfig": { + "defaults": { + "custom": {} + }, + "overrides": [] + }, + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 32 + }, + "hiddenSeries": false, + "id": 17, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "alertThreshold": true + }, + "percentage": false, + "pluginVersion": "7.3.0-pre", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_95 {{resource.label.url_map_name}}", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_95", + "filters": [], + "groupBys": ["resource.label.url_map_name"], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/backend_latencies", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "A" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_05", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_05", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/backend_latencies", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "B" + }, + { + "metricQuery": { + "aliasBy": "REDUCE_PERCENTILE_50", + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_PERCENTILE_50", + "filters": [], + "groupBys": [], + "metricKind": "DELTA", + "metricType": "loadbalancing.googleapis.com/https/backend_latencies", + "perSeriesAligner": "ALIGN_DELTA", + "projectName": "$project", + "unit": "ms", + "valueType": "DISTRIBUTION" + }, + "queryType": "metrics", + "refId": "C" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Backend Latency", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "ms", + "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 + } + } + ], + "schemaVersion": 26, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": true, + "text": "cloud-monitoring", + "value": "cloud-monitoring" + }, + "error": null, + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "datasource", + "options": [], + "query": "stackdriver", + "queryValue": "", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "type": "datasource" + }, + { + "allValue": null, + "current": {}, + "datasource": "$datasource", + "definition": "Google Cloud Monitoring - Projects", + "hide": 0, + "includeAll": false, + "label": null, + "multi": false, + "name": "project", + "options": [], + "query": { + "labelKey": "", + "loading": false, + "projectName": "$project", + "projects": [ + { + "name": "project-1", + "value": "project-1" + }, + { + "name": "project-2", + "value": "project-2" + } + ], + "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users", + "selectedQueryType": "projects", + "selectedSLOService": "", + "selectedService": "actions.googleapis.com", + "sloServices": [] + }, + "refresh": 2, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "tagValuesQuery": "", + "tags": [], + "tagsQuery": "", + "type": "query", + "useTags": false + } + ] + }, + "time": { + "from": "now-3h", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "HTTP/S GCP Load Balancer Monitoring", + "uid": "WO1Za5FMl", + "version": 3 +} diff --git a/public/app/plugins/datasource/cloud-monitoring/plugin.json b/public/app/plugins/datasource/cloud-monitoring/plugin.json index 70ec883173c..846bca33107 100644 --- a/public/app/plugins/datasource/cloud-monitoring/plugin.json +++ b/public/app/plugins/datasource/cloud-monitoring/plugin.json @@ -7,6 +7,13 @@ "metrics": true, "alerting": true, "annotations": true, + "includes": [ + { "type": "dashboard", "name": "BigQuery Query Monitoring", "path": "dashboards/bigQuery.json" }, + { "type": "dashboard", "name": "Cloud SQL Monitoring", "path": "dashboards/cloudSQL.json" }, + { "type": "dashboard", "name": "GCE VM Instance Monitoring", "path": "dashboards/gce.json" }, + { "type": "dashboard", "name": "GKE Cluster Monitoring", "path": "dashboards/gke.json" }, + { "type": "dashboard", "name": "HTTP_S Load Balancer Monitoring", "path": "dashboards/loadBalancer.json" } + ], "queryOptions": { "maxDataPoints": true, "cacheTimeout": true