Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update grafana rds datasource 2 #3146

Merged
merged 2 commits into from
Nov 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
105 changes: 47 additions & 58 deletions .rhcicd/grafana/grafana-dashboard-notifications-general.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4318,8 +4318,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -4431,8 +4430,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -4467,10 +4465,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"id": "",
Expand All @@ -4491,10 +4489,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"hide": false,
Expand All @@ -4520,7 +4518,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "Shows the databases read operations, the write operations, and the burst balance we currently have available.",
"fieldConfig": {
Expand Down Expand Up @@ -4568,8 +4566,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -4592,12 +4589,12 @@ data:
{
"targetBlank": true,
"title": "Database's IOPS and throughput details",
"url": "https://us-east-1.console.aws.amazon.com/rds/home?region=us-east-1#database:id=notifications-backend-prod;is-cluster=false;tab=configuration"
"url": "https://us-east-1.console.aws.amazon.com/rds/home?region=us-east-1#database:id=$dbinstanceidentifier;is-cluster=false;tab=configuration"
},
{
"targetBlank": true,
"title": "View in CloudWatch",
"url": "https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#metricsV2?graph=~(title~'EBS*20IO*20operations~metrics~(~(~'AWS*2fRDS~'ReadIOPS~'DBInstanceIdentifier~'notifications-backend-prod~(region~'us-east-1~label~'ReadIOPS~id~'m1~color~'*231f77b4))~(~'.~'WriteIOPS~'.~'.~(region~'us-east-1~label~'WriteIOPS~id~'m2~color~'*23ff7f0e)))~stacked~true~region~'us-east-1~view~'timeSeries~stat~'Average~period~60~yAxis~(left~(min~0~label~'Per*20second~showUnits~false))~annotations~(horizontal~(~(label~'Current*20Provisioned*20IOPS~value~3000)))~start~'-PT168H~end~'P0D)"
"url": "https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#metricsV2?graph=~(title~'EBS*20IO*20operations~metrics~(~(~'AWS*2fRDS~'ReadIOPS~'DBInstanceIdentifier~'$dbinstanceidentifier~(region~'us-east-1~label~'ReadIOPS~id~'m1~color~'*231f77b4))~(~'.~'WriteIOPS~'.~'.~(region~'us-east-1~label~'WriteIOPS~id~'m2~color~'*23ff7f0e)))~stacked~true~region~'us-east-1~view~'timeSeries~stat~'Average~period~60~yAxis~(left~(min~0~label~'Per*20second~showUnits~false))~annotations~(horizontal~(~(label~'Current*20Provisioned*20IOPS~value~3000)))~start~'-PT168H~end~'P0D)"
}
],
"options": {
Expand All @@ -4621,10 +4618,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"id": "",
Expand All @@ -4645,10 +4642,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"hide": false,
Expand Down Expand Up @@ -4690,7 +4687,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "Shows the current free available storage space for the database.",
"fieldConfig": {
Expand Down Expand Up @@ -4735,8 +4732,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -4771,10 +4767,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"id": "",
Expand All @@ -4799,7 +4795,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "Shows the current throughput of the database.",
"fieldConfig": {
Expand Down Expand Up @@ -4844,8 +4840,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -4868,12 +4863,12 @@ data:
{
"targetBlank": true,
"title": "Database's IOPS and throughput details",
"url": "https://us-east-1.console.aws.amazon.com/rds/home?region=us-east-1#database:id=notifications-backend-prod;is-cluster=false;tab=configuration"
"url": "https://us-east-1.console.aws.amazon.com/rds/home?region=us-east-1#database:id=$dbinstanceidentifier;is-cluster=false;tab=configuration"
},
{
"targetBlank": true,
"title": "View in CloudWatch",
"url": "https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#metricsV2?graph=~(metrics~(~(~'AWS*2fRDS~'WriteThroughput~'DBInstanceIdentifier~'notifications-backend-prod~(color~'*239467bd))~(~'.~'ReadThroughput~'.~'.~(color~'*23ff7f0e)))~title~'EBS*20IO*20operations~stacked~true~region~'us-east-1~view~'timeSeries~stat~'Average~period~60~yAxis~(left~(min~0~label~'Per*20second~showUnits~false))~annotations~(horizontal~(~(label~'Maximum*20throughput~value~125000000)))~start~'-PT168H~end~'P0D)&query=~'*7bAWS*2fRDS*2cDBInstanceIdentifier*7d*20ReadThroughput"
"url": "https://us-east-1.console.aws.amazon.com/cloudwatch/home?region=us-east-1#metricsV2?graph=~(metrics~(~(~'AWS*2fRDS~'WriteThroughput~'DBInstanceIdentifier~'$dbinstanceidentifier~(color~'*239467bd))~(~'.~'ReadThroughput~'.~'.~(color~'*23ff7f0e)))~title~'EBS*20IO*20operations~stacked~true~region~'us-east-1~view~'timeSeries~stat~'Average~period~60~yAxis~(left~(min~0~label~'Per*20second~showUnits~false))~annotations~(horizontal~(~(label~'Maximum*20throughput~value~125000000)))~start~'-PT168H~end~'P0D)&query=~'*7bAWS*2fRDS*2cDBInstanceIdentifier*7d*20ReadThroughput"
}
],
"options": {
Expand All @@ -4896,10 +4891,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"id": "",
Expand All @@ -4920,10 +4915,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"hide": false,
Expand Down Expand Up @@ -4966,7 +4961,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "Shows the number of active database connections.",
"fieldConfig": {
Expand Down Expand Up @@ -5012,8 +5007,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -5048,10 +5042,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"id": "",
Expand All @@ -5076,7 +5070,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "Shows the latency of the read and write operations.",
"fieldConfig": {
Expand Down Expand Up @@ -5125,8 +5119,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -5165,10 +5158,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"id": "",
Expand All @@ -5189,10 +5182,10 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
"DBInstanceIdentifier": "$dbinstanceidentifier"
},
"expression": "",
"hide": false,
Expand Down Expand Up @@ -5276,8 +5269,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -5424,8 +5416,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -5571,8 +5562,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -5665,8 +5655,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -9726,7 +9715,7 @@ data:
},
{
"current": {
"selected": true,
"selected": false,
"text": "AWS insights-prod",
"value": "AWS insights-prod"
},
Expand All @@ -9737,12 +9726,12 @@ data:
"name": "rds_datasource",
"options": [
{
"selected": true,
"selected": false,
"text": "AWS insights-prod",
"value": "AWS insights-prod"
},
{
"selected": false,
"selected": true,
"text": "AWS insights-stage",
"value": "AWS insights-stage"
}
Expand All @@ -9754,9 +9743,9 @@ data:
},
{
"current": {
"selected": true,
"text": "notifications-backend-prod",
"value": "notifications-backend-prod"
"selected": false,
"text": "$dbinstanceidentifier",
"value": "$dbinstanceidentifier"
},
"datasource": {
"uid": "$rds_datasource"
Expand Down Expand Up @@ -9817,7 +9806,7 @@ data:
"timezone": "",
"title": "Notifications Dashboard",
"uid": "KQIVyFuMk",
"version": 2,
"version": 3,
"weekStart": ""
}
kind: ConfigMap
Expand Down
Loading