Skip to content

Commit 7d67e44

Browse files
authored
Add vended logs variable
1 parent f7d0e09 commit 7d67e44

File tree

1 file changed

+40
-10
lines changed

1 file changed

+40
-10
lines changed

artifacts/grafana-dashboards/amp/amp-alerts-and-recording-rules.json

Lines changed: 40 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,8 @@
323323
"label": "",
324324
"logGroups": [
325325
{
326-
"accountId": "891377329523",
327-
"arn": "arn:aws:logs:us-east-2:891377329523:log-group:/aws/vendedlogs/amp/o11y-demo:*",
328-
"name": "/aws/vendedlogs/amp/o11y-demo"
326+
"arn": "$AMPVendedLog",
327+
"name": "$AMPVendedLog"
329328
}
330329
],
331330
"matchExact": true,
@@ -369,7 +368,8 @@
369368
"mode": "absolute",
370369
"steps": [
371370
{
372-
"color": "semi-dark-yellow"
371+
"color": "semi-dark-yellow",
372+
"value": null
373373
},
374374
{
375375
"color": "transparent",
@@ -459,7 +459,8 @@
459459
"mode": "absolute",
460460
"steps": [
461461
{
462-
"color": "transparent"
462+
"color": "transparent",
463+
"value": null
463464
},
464465
{
465466
"color": "red",
@@ -549,7 +550,8 @@
549550
"mode": "absolute",
550551
"steps": [
551552
{
552-
"color": "transparent"
553+
"color": "transparent",
554+
"value": null
553555
},
554556
{
555557
"color": "red",
@@ -674,7 +676,8 @@
674676
"mode": "absolute",
675677
"steps": [
676678
{
677-
"color": "green"
679+
"color": "green",
680+
"value": null
678681
},
679682
{
680683
"color": "red",
@@ -782,7 +785,8 @@
782785
"mode": "absolute",
783786
"steps": [
784787
{
785-
"color": "green"
788+
"color": "green",
789+
"value": null
786790
},
787791
{
788792
"color": "red",
@@ -890,7 +894,8 @@
890894
"mode": "absolute",
891895
"steps": [
892896
{
893-
"color": "green"
897+
"color": "green",
898+
"value": null
894899
},
895900
{
896901
"color": "red",
@@ -1026,6 +1031,31 @@
10261031
"skipUrlSync": false,
10271032
"sort": 0,
10281033
"type": "query"
1034+
},
1035+
{
1036+
"current": {},
1037+
"datasource": {
1038+
"type": "cloudwatch",
1039+
"uid": "${DS_AMAZON_CLOUDWATCH US-EAST-2}"
1040+
},
1041+
"definition": "",
1042+
"hide": 0,
1043+
"includeAll": false,
1044+
"label": "AMP Vended Log",
1045+
"multi": false,
1046+
"name": "AMPVendedLog",
1047+
"options": [],
1048+
"query": {
1049+
"logGroupPrefix": "/aws/vendedlogs",
1050+
"queryType": "logGroups",
1051+
"refId": "CloudWatchVariableQueryEditor-VariableQuery",
1052+
"region": "default"
1053+
},
1054+
"refresh": 1,
1055+
"regex": "/.*(?:prometheus|amp).*/",
1056+
"skipUrlSync": false,
1057+
"sort": 0,
1058+
"type": "query"
10291059
}
10301060
]
10311061
},
@@ -1037,6 +1067,6 @@
10371067
"timezone": "browser",
10381068
"title": "AMP Alerts and Recording Rules",
10391069
"uid": "deme0g13gg9hca",
1040-
"version": 54,
1070+
"version": 55,
10411071
"weekStart": ""
10421072
}

0 commit comments

Comments
 (0)