Skip to content

Instantly share code, notes, and snippets.

@thekubebuddy
Created October 21, 2023 07:21
Show Gist options
  • Save thekubebuddy/894d00f177cda63775a7f5d70ca9f2a6 to your computer and use it in GitHub Desktop.
Save thekubebuddy/894d00f177cda63775a7f5d70ca9f2a6 to your computer and use it in GitHub Desktop.
GCP PSC-Service Consumer Dashboard
{
"dashboardFilters": [],
"displayName": "PSC - Service Consumer Dashboard",
"labels": {},
"mosaicLayout": {
"columns": 48,
"tiles": [
{
"height": 12,
"widget": {
"title": "Sent bytes count",
"xyChart": {
"chartOptions": {
"mode": "COLOR"
},
"dataSets": [
{
"breakdowns": [],
"dimensions": [],
"measures": [],
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"crossSeriesReducer": "REDUCE_SUM",
"groupByFields": [],
"perSeriesAligner": "ALIGN_RATE"
},
"filter": "metric.type=\"compute.googleapis.com/private_service_connect/consumer/sent_bytes_count\" resource.type=\"compute.googleapis.com/PrivateServiceConnectEndpoint\""
}
}
}
],
"thresholds": [],
"yAxis": {
"label": "",
"scale": "LINEAR"
}
}
},
"width": 22
},
{
"height": 12,
"widget": {
"title": "Sent packets dropped count",
"xyChart": {
"chartOptions": {
"mode": "COLOR"
},
"dataSets": [
{
"breakdowns": [],
"dimensions": [],
"measures": [],
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"crossSeriesReducer": "REDUCE_SUM",
"groupByFields": [],
"perSeriesAligner": "ALIGN_RATE"
},
"filter": "metric.type=\"compute.googleapis.com/private_service_connect/consumer/dropped_sent_packets_count\" resource.type=\"compute.googleapis.com/PrivateServiceConnectEndpoint\""
}
}
}
],
"thresholds": [],
"yAxis": {
"label": "",
"scale": "LINEAR"
}
}
},
"width": 21,
"xPos": 22
},
{
"height": 12,
"widget": {
"title": "Received bytes count",
"xyChart": {
"chartOptions": {
"mode": "COLOR"
},
"dataSets": [
{
"breakdowns": [],
"dimensions": [],
"measures": [],
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"crossSeriesReducer": "REDUCE_SUM",
"groupByFields": [],
"perSeriesAligner": "ALIGN_RATE"
},
"filter": "metric.type=\"compute.googleapis.com/private_service_connect/consumer/received_bytes_count\" resource.type=\"compute.googleapis.com/PrivateServiceConnectEndpoint\""
}
}
}
],
"thresholds": [],
"yAxis": {
"label": "",
"scale": "LINEAR"
}
}
},
"width": 22,
"yPos": 12
},
{
"height": 12,
"widget": {
"title": "Received packets dropped count",
"xyChart": {
"chartOptions": {
"mode": "COLOR"
},
"dataSets": [
{
"breakdowns": [],
"dimensions": [],
"measures": [],
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"crossSeriesReducer": "REDUCE_SUM",
"groupByFields": [],
"perSeriesAligner": "ALIGN_RATE"
},
"filter": "metric.type=\"compute.googleapis.com/private_service_connect/consumer/dropped_received_packets_count\" resource.type=\"compute.googleapis.com/PrivateServiceConnectEndpoint\""
}
}
}
],
"thresholds": [],
"yAxis": {
"label": "",
"scale": "LINEAR"
}
}
},
"width": 21,
"xPos": 22,
"yPos": 12
},
{
"height": 15,
"widget": {
"title": "Open Connection",
"xyChart": {
"chartOptions": {
"mode": "COLOR"
},
"dataSets": [
{
"breakdowns": [],
"dimensions": [],
"measures": [],
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"crossSeriesReducer": "REDUCE_MEAN",
"groupByFields": [],
"perSeriesAligner": "ALIGN_MEAN"
},
"filter": "metric.type=\"compute.googleapis.com/private_service_connect/consumer/open_connections\" resource.type=\"compute.googleapis.com/PrivateServiceConnectEndpoint\""
}
}
}
],
"thresholds": [],
"yAxis": {
"label": "",
"scale": "LINEAR"
}
}
},
"width": 22,
"yPos": 24
},
{
"height": 15,
"widget": {
"title": "Closed Connection",
"xyChart": {
"chartOptions": {
"mode": "COLOR"
},
"dataSets": [
{
"breakdowns": [],
"dimensions": [],
"measures": [],
"minAlignmentPeriod": "60s",
"plotType": "LINE",
"targetAxis": "Y1",
"timeSeriesQuery": {
"timeSeriesFilter": {
"aggregation": {
"alignmentPeriod": "60s",
"crossSeriesReducer": "REDUCE_SUM",
"groupByFields": [],
"perSeriesAligner": "ALIGN_RATE"
},
"filter": "metric.type=\"compute.googleapis.com/private_service_connect/consumer/closed_connections_count\" resource.type=\"compute.googleapis.com/PrivateServiceConnectEndpoint\""
}
}
}
],
"thresholds": [],
"yAxis": {
"label": "",
"scale": "LINEAR"
}
}
},
"width": 21,
"xPos": 22,
"yPos": 24
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment