{
  "__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",
      "decimals": 2,
      "description": "",
      "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": { "h": 8, "w": 12, "x": 0, "y": 0 },
      "hiddenSeries": false,
      "id": 1,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": false,
      "linewidth": 1,
      "nullPointMode": "connected",
      "options": { "alertThreshold": false },
      "percentage": true,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": true,
      "steppedLine": false,
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_COUNT_TRUE",
            "perSeriesAligner": "ALIGN_NEXT_OLDER",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": ["metric.label.state"],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/instance_state",
            "projectName": "$project",
            "valueType": "BOOL"
          }
        }
      ],
      "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": "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",
      "fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": { "h": 8, "w": 12, "x": 12, "y": 0 },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/up",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        }
      ]
    },
    {
      "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": 3,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_SUM",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/cpu/reserved_cores",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        }
      ]
    },
    {
      "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": 4,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_95",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/cpu/utilization",
            "projectName": "$project",
            "unit": "10^2.%",
            "valueType": "DOUBLE"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_05",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/cpu/utilization",
            "projectName": "$project",
            "unit": "10^2.%",
            "valueType": "DOUBLE"
          }
        },
        {
          "queryType": "metrics",
          "refId": "C",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_50",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/cpu/utilization",
            "projectName": "$project",
            "unit": "10^2.%",
            "valueType": "DOUBLE"
          }
        }
      ]
    },
    {
      "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": 5,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_SUM",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/memory/quota",
            "projectName": "$project",
            "unit": "By",
            "valueType": "INT64"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_SUM",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/memory/usage",
            "projectName": "$project",
            "unit": "By",
            "valueType": "INT64"
          }
        }
      ]
    },
    {
      "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": 6,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_95",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/memory/utilization",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_05",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/memory/utilization",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        },
        {
          "queryType": "metrics",
          "refId": "C",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_50",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/memory/utilization",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        }
      ]
    },
    {
      "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": 7,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_SUM",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/disk/quota",
            "projectName": "$project",
            "unit": "By",
            "valueType": "INT64"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_SUM",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/disk/bytes_used",
            "projectName": "$project",
            "unit": "By",
            "valueType": "INT64"
          }
        }
      ]
    },
    {
      "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": 8,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_95",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/disk/utilization",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_05",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/disk/utilization",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        },
        {
          "queryType": "metrics",
          "refId": "C",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_50",
            "perSeriesAligner": "ALIGN_MEAN",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "GAUGE",
            "metricType": "cloudsql.googleapis.com/database/disk/utilization",
            "projectName": "$project",
            "unit": "1",
            "valueType": "DOUBLE"
          }
        }
      ]
    },
    {
      "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": 9,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_95",
            "perSeriesAligner": "ALIGN_RATE",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "cloudsql.googleapis.com/database/disk/read_ops_count",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_05",
            "perSeriesAligner": "ALIGN_RATE",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "cloudsql.googleapis.com/database/disk/read_ops_count",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        },
        {
          "queryType": "metrics",
          "refId": "C",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_50",
            "perSeriesAligner": "ALIGN_RATE",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "cloudsql.googleapis.com/database/disk/read_ops_count",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        }
      ]
    },
    {
      "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": 10,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false,
        "sideWidth": 220
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": { "alertThreshold": true },
      "percentage": false,
      "pluginVersion": "7.4.0-pre",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "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": "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 },
      "targets": [
        {
          "queryType": "metrics",
          "refId": "A",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_95",
            "perSeriesAligner": "ALIGN_RATE",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "cloudsql.googleapis.com/database/disk/write_ops_count",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        },
        {
          "queryType": "metrics",
          "refId": "B",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_05",
            "perSeriesAligner": "ALIGN_RATE",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "cloudsql.googleapis.com/database/disk/write_ops_count",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        },
        {
          "queryType": "metrics",
          "refId": "C",
          "metricQuery": {
            "aliasBy": "",
            "alignmentPeriod": "$alignmentPeriod",
            "crossSeriesReducer": "REDUCE_PERCENTILE_50",
            "perSeriesAligner": "ALIGN_RATE",
            "filters": ["resource.type", "=", "cloudsql_database"],
            "groupBys": [],
            "metricKind": "DELTA",
            "metricType": "cloudsql.googleapis.com/database/disk/write_ops_count",
            "projectName": "$project",
            "unit": "1",
            "valueType": "INT64"
          }
        }
      ]
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": ["Storage", "Cloud Monitoring", "GCP"],
  "templating": {
    "list": [
      {
        "current": {},
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Datasource",
        "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",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Project",
        "multi": false,
        "name": "project",
        "options": [],
        "query": {
          "labelKey": "",
          "loading": false,
          "projectName": "$project",
          "projects": [],
          "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
      },
      {
        "allValue": null,
        "current": { "selected": false, "text": "grafana auto", "value": "grafana-auto" },
        "datasource": "${datasource}",
        "definition": "",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "Alignment Period",
        "multi": false,
        "name": "alignmentPeriod",
        "options": [
          { "selected": true, "text": "grafana auto", "value": "grafana-auto" },
          { "selected": false, "text": "stackdriver auto", "value": "stackdriver-auto" },
          { "selected": false, "text": "cloud monitoring auto", "value": "cloud-monitoring-auto" },
          { "selected": false, "text": "1m", "value": "+60s" },
          { "selected": false, "text": "2m", "value": "+120s" },
          { "selected": false, "text": "5m", "value": "+300s" },
          { "selected": false, "text": "10m", "value": "+600s" },
          { "selected": false, "text": "30m", "value": "+1800s" },
          { "selected": false, "text": "1h", "value": "+3600s" },
          { "selected": false, "text": "3h", "value": "+7200s" },
          { "selected": false, "text": "6h", "value": "+21600s" },
          { "selected": false, "text": "1d", "value": "+86400s" },
          { "selected": false, "text": "3d", "value": "+259200s" },
          { "selected": false, "text": "1w", "value": "+604800s" }
        ],
        "query": {
          "labelKey": "",
          "loading": false,
          "projectName": "$project",
          "projects": [
            { "name": "project-1", "value": "project-1" },
            { "name": "project-2", "value": "project-2" }
          ],
          "refId": "CloudMonitoringVariableQueryEditor-VariableQuery",
          "selectedMetricType": "actions.googleapis.com/smarthome_action/num_active_users",
          "selectedQueryType": "alignmentPeriods",
          "selectedSLOService": "",
          "selectedService": "actions.googleapis.com",
          "sloServices": []
        },
        "refresh": 0,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": { "from": "now-24h", "to": "now" },
  "timepicker": {},
  "timezone": "",
  "title": "Cloud SQL Monitoring",
  "uid": "",
  "version": 5
}
