mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Cloud Monitoring: Add curated dashboards for the most popular GCP services (#29930)
* Add dashboards that are converted from GCP format * Changes according to pr feedback * Remove dashboards that could not be tested using real data
This commit is contained in:
BIN
pkg/cmd/grafana-server/__debug_bin
Executable file
BIN
pkg/cmd/grafana-server/__debug_bin
Executable file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,593 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 6 charts for the related [Cloud Storage metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-storage), including `Total object count`, `Total bytes`, `Bucket object count`, `Bucket total bytes`, `Bucket - Received/Sent Bytes`, and `Bucket - Request count`."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Cloud Storage Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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 object 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_SUM",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "storage.googleapis.com/storage/object_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": 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": "Total bytes",
|
||||
"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", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "storage.googleapis.com/storage/total_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"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": 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": "Bucket object 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "storage.googleapis.com/storage/object_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": 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": "Bucket total bytes",
|
||||
"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", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "storage.googleapis.com/storage/total_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"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": "Bucket - Received bytes, Sent bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "storage.googleapis.com/network/received_bytes_count",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "storage.googleapis.com/network/sent_bytes_count",
|
||||
"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": "Bucket - Request 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "gcs_bucket"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "storage.googleapis.com/api/request_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 Storage Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,611 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 5 charts for the related [Cloud Functions metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-cloudfunctions), including `Active instances`, `Execution count`, `Execution times`, `Network egress`, and `Memory usage`."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Cloud Functions Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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": "Active instances",
|
||||
"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", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/active_instances",
|
||||
"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": 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": "Execution 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/execution_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": 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": "Execution times",
|
||||
"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_99",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/execution_times",
|
||||
"projectName": "$project",
|
||||
"unit": "ns",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_50",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/execution_times",
|
||||
"projectName": "$project",
|
||||
"unit": "ns",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_05",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/execution_times",
|
||||
"projectName": "$project",
|
||||
"unit": "ns",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Network egress",
|
||||
"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_MAX",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/network_egress",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_MIN",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/network_egress",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_MEAN",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/network_egress",
|
||||
"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": 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": "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_MAX",
|
||||
"perSeriesAligner": "ALIGN_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/user_memory_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_MIN",
|
||||
"perSeriesAligner": "ALIGN_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/user_memory_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_MEAN",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "cloud_function"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudfunctions.googleapis.com/function/user_memory_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Compute", "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 Functions Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,607 @@
|
||||
{
|
||||
"__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": 1,
|
||||
"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": "Cloud SQL Database - Queries",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/queries",
|
||||
"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": 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": "MySQL Connections",
|
||||
"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/network/connections",
|
||||
"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": "Network bytes received by MySQL",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/received_bytes_count",
|
||||
"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": 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": "Network bytes sent by MySQL",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/sent_bytes_count",
|
||||
"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": 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": "InnoDB dirty pages, InnoDB free pages, InnoDB total pages",
|
||||
"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/mysql/innodb_buffer_pool_pages_dirty",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/innodb_buffer_pool_pages_free",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/innodb_buffer_pool_pages_total",
|
||||
"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": 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": "InnoDB pages read, InnoDB pages written",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/innodb_pages_read",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudsql.googleapis.com/database/mysql/innodb_pages_written",
|
||||
"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(MySQL) Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,352 @@
|
||||
{
|
||||
"__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": 1,
|
||||
"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": "Number of transactions",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "cloudsql_database"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudsql.googleapis.com/database/postgresql/transaction_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": 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": "PostgreSQL Connections",
|
||||
"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/postgresql/num_backends",
|
||||
"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": "Lag bytes",
|
||||
"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/postgresql/replication/replica_byte_lag",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"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(PostgreSQL) Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,421 @@
|
||||
{
|
||||
"__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": 1,
|
||||
"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": "Cloud Tasks Queue - API requests",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "cloud_tasks_queue"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudtasks.googleapis.com/api/request_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": 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": "Queue depth",
|
||||
"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", "=", "cloud_tasks_queue"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "cloudtasks.googleapis.com/queue/depth",
|
||||
"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": "Task attempt 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "cloud_tasks_queue"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudtasks.googleapis.com/queue/task_attempt_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": 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": "Task attempt delays",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "cloud_tasks_queue"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "cloudtasks.googleapis.com/queue/task_attempt_delays",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Tools", "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 Tasks Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,626 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard demonstrates 6 different charts in a single dashboard that provides a single view for the data processing pipeline [metrics](https://cloud.google.com/monitoring/api/metrics_gcp). Read the blog post [Use SRE principles to monitor pipelines with Cloud Monitoring dashboards](https://cloud.google.com/blog/products/management-tools/the-right-metrics-to-monitor-cloud-data-pipelines) for additional details."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Data Processing Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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": "Dataflow (traffic)",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "dataflow_job"],
|
||||
"groupBys": ["resource.label.job_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "dataflow.googleapis.com/job/elements_produced_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": 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": "Pubsub (traffic)",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "pubsub_topic"],
|
||||
"groupBys": ["metric.label.response_code"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "pubsub.googleapis.com/topic/send_request_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": 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": "BigQuery (traffic)",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "bigquery_dataset"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "bigquery.googleapis.com/storage/uploaded_bytes",
|
||||
"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": 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": "System lag (latency)",
|
||||
"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", "=", "dataflow_job"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "dataflow.googleapis.com/job/system_lag",
|
||||
"projectName": "$project",
|
||||
"unit": "s",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "dataflow_job"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "dataflow.googleapis.com/job/data_watermark_age",
|
||||
"projectName": "$project",
|
||||
"unit": "s",
|
||||
"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": 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": "Dataflow processing volume (throughput)",
|
||||
"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", "=", "dataflow_job"],
|
||||
"groupBys": ["resource.label.job_name"],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "dataflow.googleapis.com/job/element_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": 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": "Pipeline logging (errors)",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "bigquery_dataset", "AND", "metric.label.severity", "=", "ERROR"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "logging.googleapis.com/log_entry_count",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "pubsub_topic", "AND", "metric.label.severity", "=", "ERROR"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "logging.googleapis.com/log_entry_count",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "dataflow_job", "AND", "metric.label.severity", "=", "ERROR"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "logging.googleapis.com/log_entry_count",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Bigdata", "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": "Data Processing Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,299 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 2 charts for the [Firewall insights metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-firewallinsights). Those two metrics are `Subnet Firewall Hit Counts` and `VM Firewall Hit Counts`."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Firewall Insights Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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": "Subnet Firewall Hit Counts",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_subnetwork"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "firewallinsights.googleapis.com/subnet/firewall_hit_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": 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": "VM Firewall Hit Counts",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "firewallinsights.googleapis.com/vm/firewall_hit_count",
|
||||
"projectName": "$project",
|
||||
"unit": "1",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Networking", "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": "Firewall Insights Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,475 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 4 charts for the related [GCE VM networking metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-networking), including `GCE VM Instance - Egress bytes`, `GCE VM Instance - Ingress bytes`, `Number of probes`, and `GCE VM Instance - RTT latencies`."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "GCE Network Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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": "GCE VM Instance - Egress bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "networking.googleapis.com/vm_flow/egress_bytes_count",
|
||||
"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": 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": "GCE VM Instance - Ingress bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "networking.googleapis.com/vm_flow/ingress_bytes_count",
|
||||
"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": 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": "Number of probes",
|
||||
"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_COUNT",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "gce_zone_network_health"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "networking.googleapis.com/cloud_netslo/active_probing/probe_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": 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": "GCE VM Instance - RTT latencies",
|
||||
"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_DELTA",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "networking.googleapis.com/vm_flow/rtt",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_50",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "networking.googleapis.com/vm_flow/rtt",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_05",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "networking.googleapis.com/vm_flow/rtt",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Networking", "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": "GCE Network Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,851 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 10 charts for the related [GCE VM metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-compute), including metrics for CPU, disk read/write, and network."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "GCE VM Instance Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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": "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": [
|
||||
{ "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": "{{metric.label.instance_name}}",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "GAUGE",
|
||||
"metricType": "compute.googleapis.com/instance/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": 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": "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": [
|
||||
{ "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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/uptime",
|
||||
"projectName": "$project",
|
||||
"unit": "s{uptime}",
|
||||
"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": 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": "Disk read operations",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/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": 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": "Disk write operations",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/disk/write_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": 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": "Disk read bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/disk/read_bytes_count",
|
||||
"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": "Disk write bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/disk/write_bytes_count",
|
||||
"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": 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": "GCE VM Instance - Received packets",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/network/received_packets_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": 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": "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": [
|
||||
{ "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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/nat/sent_packets_count",
|
||||
"projectName": "$project",
|
||||
"unit": "{packet}",
|
||||
"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": 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": "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": [
|
||||
{ "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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/network/received_bytes_count",
|
||||
"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": 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": "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": [
|
||||
{ "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_RATE",
|
||||
"filters": ["resource.type", "=", "gce_instance"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "compute.googleapis.com/instance/network/sent_bytes_count",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Compute", "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": "GCE VM Instance Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,591 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has example charts for metrics exported by Prometheus, for example metrics from [Kubernetes pod metrics](https://github.com/kubernetes/kube-state-metrics/blob/master/docs/pod-metrics.md)"
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "GKE Prometheus Pod/Node Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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_SUM",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": ["metric.label.phase"],
|
||||
"metricKind": "",
|
||||
"metricType": "external.googleapis.com/prometheus/kube_pod_status_phase",
|
||||
"projectName": "$project",
|
||||
"unit": "",
|
||||
"valueType": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"thresholds": [],
|
||||
"timeFrom": null,
|
||||
"timeRegions": [],
|
||||
"timeShift": null,
|
||||
"title": "kube_pod_status_phase [SUM]",
|
||||
"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": true,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "$datasource",
|
||||
"decimals": 2,
|
||||
"description": "",
|
||||
"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": 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_SUM",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": ["metric.label.namespace"],
|
||||
"metricKind": "",
|
||||
"metricType": "external.googleapis.com/prometheus/kube_pod_status_ready",
|
||||
"projectName": "$project",
|
||||
"unit": "",
|
||||
"valueType": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"thresholds": [],
|
||||
"timeFrom": null,
|
||||
"timeRegions": [],
|
||||
"timeShift": null,
|
||||
"title": "kube_pod_status_ready [SUM]",
|
||||
"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": 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": 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": 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_SUM",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": ["metric.label.namespace"],
|
||||
"metricKind": "",
|
||||
"metricType": "external.googleapis.com/prometheus/kube_pod_container_status_running",
|
||||
"projectName": "$project",
|
||||
"unit": "",
|
||||
"valueType": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"thresholds": [],
|
||||
"timeFrom": null,
|
||||
"timeRegions": [],
|
||||
"timeShift": null,
|
||||
"title": "kube_pod_container_status_running [SUM]",
|
||||
"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": true,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "$datasource",
|
||||
"decimals": 2,
|
||||
"description": "",
|
||||
"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": 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_SUM",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": ["metric.label.condition"],
|
||||
"metricKind": "",
|
||||
"metricType": "external.googleapis.com/prometheus/kube_node_status_condition",
|
||||
"projectName": "$project",
|
||||
"unit": "",
|
||||
"valueType": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"thresholds": [],
|
||||
"timeFrom": null,
|
||||
"timeRegions": [],
|
||||
"timeShift": null,
|
||||
"title": "kube_node_status_condition [SUM]",
|
||||
"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": 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": 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": 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",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": [],
|
||||
"metricKind": "",
|
||||
"metricType": "external.googleapis.com/prometheus/kube_node_status_capacity_pods",
|
||||
"projectName": "$project",
|
||||
"unit": "",
|
||||
"valueType": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"thresholds": [],
|
||||
"timeFrom": null,
|
||||
"timeRegions": [],
|
||||
"timeShift": null,
|
||||
"title": "kube_node_status_capacity_pods",
|
||||
"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": true,
|
||||
"dashLength": 10,
|
||||
"dashes": false,
|
||||
"datasource": "$datasource",
|
||||
"decimals": 2,
|
||||
"description": "",
|
||||
"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": 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",
|
||||
"perSeriesAligner": "ALIGN_MEAN",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": [],
|
||||
"metricKind": "",
|
||||
"metricType": "external.googleapis.com/prometheus/kube_node_status_allocatable_pods",
|
||||
"projectName": "$project",
|
||||
"unit": "",
|
||||
"valueType": ""
|
||||
}
|
||||
}
|
||||
],
|
||||
"thresholds": [],
|
||||
"timeFrom": null,
|
||||
"timeRegions": [],
|
||||
"timeShift": null,
|
||||
"title": "kube_node_status_allocatable_pods",
|
||||
"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 }
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Compute", "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": "GKE Prometheus Pod/Node Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,885 @@
|
||||
{
|
||||
"__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": 1,
|
||||
"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": "Backend Request Count by Code Class",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [
|
||||
"resource.label.url_map_name",
|
||||
"resource.label.backend_target_name",
|
||||
"metric.label.response_code_class"
|
||||
],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_request_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": 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": "Backend Request Count by Path",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [
|
||||
"resource.label.url_map_name",
|
||||
"resource.label.backend_target_name",
|
||||
"resource.label.matched_url_path_rule"
|
||||
],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_request_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": 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": "Error Rate",
|
||||
"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",
|
||||
"mqlQuery": {
|
||||
"projectName": "$project",
|
||||
"query": "fetch https_lb_rule::loadbalancing.googleapis.com/https/backend_request_count\n| { t_0:\n filter metric.response_code_class = 500\n | align delta()\n | group_by [resource.backend_target_name],\n [value_backend_request_count_aggregate:\n aggregate(value.backend_request_count)]\n ; t_1:\n ident\n | align delta()\n | group_by [resource.backend_target_name],\n [value_backend_request_count_aggregate:\n aggregate(value.backend_request_count)] }\n| outer_join [0]\n| value\n [t_0_value_backend_request_count_aggregate_div:\n div(t_0.value_backend_request_count_aggregate,\n t_1.value_backend_request_count_aggregate)]",
|
||||
"expression": "fetch https_lb_rule::loadbalancing.googleapis.com/https/backend_request_count\n| { t_0:\n filter metric.response_code_class = 500\n | align delta()\n | group_by [resource.backend_target_name],\n [value_backend_request_count_aggregate:\n aggregate(value.backend_request_count)]\n ; t_1:\n ident\n | align delta()\n | group_by [resource.backend_target_name],\n [value_backend_request_count_aggregate:\n aggregate(value.backend_request_count)] }\n| outer_join [0]\n| value\n [t_0_value_backend_request_count_aggregate_div:\n div(t_0.value_backend_request_count_aggregate,\n t_1.value_backend_request_count_aggregate)]",
|
||||
"aliasBy": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Error Count by Path and Code",
|
||||
"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",
|
||||
"mqlQuery": {
|
||||
"projectName": "$project",
|
||||
"query": "fetch https_lb_rule::loadbalancing.googleapis.com/https/backend_request_count\n| filter metric.response_code_class = 500\n| align delta()\n| group_by\n [resource.matched_url_path_rule, resource.backend_target_name,\n metric.response_code],\n [value_backend_request_count_aggregate:\n aggregate(value.backend_request_count)]",
|
||||
"expression": "fetch https_lb_rule::loadbalancing.googleapis.com/https/backend_request_count\n| filter metric.response_code_class = 500\n| align delta()\n| group_by\n [resource.matched_url_path_rule, resource.backend_target_name,\n metric.response_code],\n [value_backend_request_count_aggregate:\n aggregate(value.backend_request_count)]",
|
||||
"aliasBy": ""
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Backend Latency",
|
||||
"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_DELTA",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": ["resource.label.url_map_name", "resource.label.backend_target_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_05",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_50",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Backend P50 Latency by Path",
|
||||
"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_50",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [
|
||||
"resource.label.url_map_name",
|
||||
"resource.label.backend_target_name",
|
||||
"resource.label.matched_url_path_rule"
|
||||
],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "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": "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_RATE",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": ["resource.label.url_map_name", "resource.label.backend_target_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_request_bytes_count",
|
||||
"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": "Backend Request Bytes by Path",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [
|
||||
"resource.label.url_map_name",
|
||||
"resource.label.backend_target_name",
|
||||
"resource.label.matched_url_path_rule"
|
||||
],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_request_bytes_count",
|
||||
"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": 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": "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": "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_RATE",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": ["resource.label.url_map_name", "resource.label.backend_target_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_response_bytes_count",
|
||||
"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": 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": "Backend Response Bytes by Path",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "https_lb_rule"],
|
||||
"groupBys": [
|
||||
"resource.label.url_map_name",
|
||||
"resource.label.backend_target_name",
|
||||
"resource.label.matched_url_path_rule"
|
||||
],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/https/backend_response_bytes_count",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Networking", "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": "HTTP/S LB Backend Services",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,713 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 8 charts to display the metrics for the microservices in our [demo application](https://github.com/GoogleCloudPlatform/microservices-demo). The metrics include request count, response latencies, and request/response bytes."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "MicroService Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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 Request 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/server/request_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": 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 Response Latencies",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/server/response_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Server Response Bytes",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/server/response_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Server Request Bytes",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "k8s_container"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/server/request_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Client Roundtrip Latencies",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "k8s_pod"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/client/roundtrip_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Client Request 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 },
|
||||
"targets": [
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "A",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"perSeriesAligner": "ALIGN_RATE",
|
||||
"filters": ["resource.type", "=", "k8s_pod"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/client/request_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": 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": "Client Response Bytes",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "k8s_pod"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/client/response_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Client Request Bytes",
|
||||
"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_PERCENTILE_99",
|
||||
"filters": ["resource.type", "=", "k8s_pod"],
|
||||
"groupBys": [],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "istio.io/service/client/request_bytes",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Microservices", "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": "MicroService Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -0,0 +1,545 @@
|
||||
{
|
||||
"__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": [
|
||||
{
|
||||
"datasource": null,
|
||||
"description": "",
|
||||
"fieldConfig": { "defaults": { "custom": {} }, "overrides": [] },
|
||||
"gridPos": { "h": 3, "w": 24, "x": 0, "y": 0 },
|
||||
"id": 0,
|
||||
"options": {
|
||||
"mode": "markdown",
|
||||
"content": "This dashboard has 5 charts for the related [network TCP load balancer metrics](https://cloud.google.com/monitoring/api/metrics_gcp#gcp-loadbalancing), including `RTT latencies`, `Ingress TCP packets`, `Ingress TCP bytes`, `Egress TCP packets`, and `Egress TCP bytes`."
|
||||
},
|
||||
"pluginVersion": "7.4.0-pre",
|
||||
"timeFrom": null,
|
||||
"timeShift": null,
|
||||
"title": "Network TCP Load Balancer Monitoring",
|
||||
"type": "text"
|
||||
},
|
||||
{
|
||||
"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": 1,
|
||||
"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": "RTT latencies [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_DELTA",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/rtt_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "B",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_05",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/rtt_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
},
|
||||
{
|
||||
"queryType": "metrics",
|
||||
"refId": "C",
|
||||
"metricQuery": {
|
||||
"aliasBy": "",
|
||||
"alignmentPeriod": "$alignmentPeriod",
|
||||
"crossSeriesReducer": "REDUCE_PERCENTILE_50",
|
||||
"perSeriesAligner": "ALIGN_DELTA",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/rtt_latencies",
|
||||
"projectName": "$project",
|
||||
"unit": "ms",
|
||||
"valueType": "DISTRIBUTION"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "Ingress TCP packets",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/ingress_packets_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": 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": "Ingress TCP bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/ingress_bytes_count",
|
||||
"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": 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": "Egress TCP packets",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/egress_packets_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": 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": "Egress TCP bytes",
|
||||
"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_RATE",
|
||||
"filters": ["resource.type", "=", "tcp_lb_rule"],
|
||||
"groupBys": ["resource.label.load_balancer_name"],
|
||||
"metricKind": "DELTA",
|
||||
"metricType": "loadbalancing.googleapis.com/l3/external/egress_bytes_count",
|
||||
"projectName": "$project",
|
||||
"unit": "By",
|
||||
"valueType": "INT64"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"schemaVersion": 26,
|
||||
"style": "dark",
|
||||
"tags": ["Networking", "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": "Network TCP Load Balancer Monitoring",
|
||||
"uid": "",
|
||||
"version": 5
|
||||
}
|
||||
@@ -8,11 +8,71 @@
|
||||
"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" }
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Data Processing Monitoring",
|
||||
"path": "dashboards/dataprocessing-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Cloud Functions Monitoring",
|
||||
"path": "dashboards/cloudfunctions-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "GCE VM Instance Monitoring",
|
||||
"path": "dashboards/gce-vm-instance-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "GKE Prometheus Pod/Node Monitoring",
|
||||
"path": "dashboards/gke-prometheus-pod-node-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Firewall Insights Monitoring",
|
||||
"path": "dashboards/firewall-insight-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "GCE Network Monitoring",
|
||||
"path": "dashboards/gce-network-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "HTTP/S LB Backend Services",
|
||||
"path": "dashboards/https-lb-backend-services-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "HTTP/S Load Balancer Monitoring",
|
||||
"path": "dashboards/https-loadbalancer-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Network TCP Load Balancer Monitoring",
|
||||
"path": "dashboards/network-tcp-loadbalancer-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "MicroService Monitoring",
|
||||
"path": "dashboards/micro-service-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Cloud Storage Monitoring",
|
||||
"path": "dashboards/cloud-storage-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Cloud SQL Monitoring",
|
||||
"path": "dashboards/cloudsql-monitoring.json"
|
||||
},
|
||||
{
|
||||
"type": "dashboard",
|
||||
"name": "Cloud SQL(MySQL) Monitoring",
|
||||
"path": "dashboards/cloudsql-mysql-monitoring.json"
|
||||
}
|
||||
],
|
||||
"queryOptions": {
|
||||
"maxDataPoints": true,
|
||||
|
||||
Reference in New Issue
Block a user