Skip to content

Commit

Permalink
Introduce Grafana RDS datasource variable (#3144)
Browse files Browse the repository at this point in the history
* Introduce Grafana RDS datasource variable
  • Loading branch information
g-duval authored Nov 27, 2024
1 parent d4eceb6 commit 66229ec
Showing 1 changed file with 51 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ data:
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 1,
"id": 951332,
"links": [
{
"asDropdown": false,
Expand Down Expand Up @@ -4274,7 +4273,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "",
"fieldConfig": {
Expand Down Expand Up @@ -4359,7 +4358,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"dimensions": {
"DBInstanceIdentifier": "notifications-backend-prod"
Expand Down Expand Up @@ -4387,7 +4386,7 @@ data:
{
"datasource": {
"type": "cloudwatch",
"uid": "PD4288CE6A02EB473"
"uid": "$rds_datasource"
},
"description": "The freeable memory is the amount of memory available in the RDS instance. A low freeable memory value and a high swap value might signal that the instance needs to be upgraded.",
"fieldConfig": {
Expand Down Expand Up @@ -6874,8 +6873,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
}
Expand Down Expand Up @@ -7041,8 +7039,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
}
Expand Down Expand Up @@ -7209,8 +7206,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
}
Expand Down Expand Up @@ -7376,8 +7372,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
}
Expand Down Expand Up @@ -7560,8 +7555,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -7654,8 +7648,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -7748,8 +7741,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -7840,8 +7832,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -7933,8 +7924,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8026,8 +8016,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8128,8 +8117,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8257,8 +8245,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8368,8 +8355,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8466,8 +8452,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8663,8 +8648,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -8764,8 +8748,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
}
]
},
Expand Down Expand Up @@ -8857,8 +8840,7 @@ data:
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand Down Expand Up @@ -9710,7 +9692,7 @@ data:
"type": "timeseries"
}
],
"refresh": "30s",
"refresh": "15m",
"schemaVersion": 39,
"tags": [
"notifications"
Expand All @@ -9719,7 +9701,7 @@ data:
"list": [
{
"current": {
"selected": false,
"selected": true,
"text": "crcs02ue1-prometheus",
"value": "crcs02ue1-prometheus"
},
Expand Down Expand Up @@ -9749,6 +9731,34 @@ data:
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
},
{
"current": {
"selected": true,
"text": "prod",
"value": "PD4288CE6A02EB473"
},
"hide": 0,
"includeAll": false,
"label": "RDS",
"multi": false,
"name": "rds_datasource",
"options": [
{
"selected": false,
"text": "stage",
"value": "PB2EEA3F591968575"
},
{
"selected": true,
"text": "prod",
"value": "PD4288CE6A02EB473"
}
],
"query": "stage, prod",
"queryValue": "",
"skipUrlSync": false,
"type": "custom"
}
]
},
Expand Down Expand Up @@ -9784,7 +9794,7 @@ data:
"timezone": "",
"title": "Notifications Dashboard",
"uid": "KQIVyFuMk",
"version": 3,
"version": 1,
"weekStart": ""
}
kind: ConfigMap
Expand Down

0 comments on commit 66229ec

Please sign in to comment.