Skip to content

Commit a620ed7

Browse files
authored
Merge pull request #260 from vmercierfr/status-log-exports
Add Configuring log exports status
2 parents 82ae224 + c4df842 commit a620ed7

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

configs/grafana/panels/instance.libsonnet

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -487,9 +487,10 @@ local colors = common.colors;
487487
'3': { index: 13, color: colors.ok, text: 'Starting' },
488488
'4': { index: 14, color: colors.info, text: 'Modifying' },
489489
'5': { index: 15, color: colors.info, text: 'Configuring enhanced monitoring' },
490-
'10': { index: 16, colors: colors.info, text: 'Storage initialization' },
491-
'11': { index: 17, colors: colors.notice, text: 'Storage optimization' },
492-
'20': { index: 18, colors: colors.notice, text: 'Renaming' },
490+
'6': { index: 16, color: colors.info, text: 'Configuring log exports' },
491+
'10': { index: 17, colors: colors.info, text: 'Storage initialization' },
492+
'11': { index: 18, colors: colors.notice, text: 'Storage optimization' },
493+
'20': { index: 19, colors: colors.notice, text: 'Renaming' },
493494
}),
494495
])
495496
+ standardOptions.withMin(null)

configs/grafana/public/rds-instance.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2398,12 +2398,12 @@
23982398
},
23992399
"10": {
24002400
"colors": "blue",
2401-
"index": 16,
2401+
"index": 17,
24022402
"text": "Storage initialization"
24032403
},
24042404
"11": {
24052405
"colors": "yellow",
2406-
"index": 17,
2406+
"index": 18,
24072407
"text": "Storage optimization"
24082408
},
24092409
"2": {
@@ -2413,7 +2413,7 @@
24132413
},
24142414
"20": {
24152415
"colors": "yellow",
2416-
"index": 18,
2416+
"index": 19,
24172417
"text": "Renaming"
24182418
},
24192419
"3": {
@@ -2430,6 +2430,11 @@
24302430
"color": "blue",
24312431
"index": 15,
24322432
"text": "Configuring enhanced monitoring"
2433+
},
2434+
"6": {
2435+
"color": "blue",
2436+
"index": 16,
2437+
"text": "Configuring log exports"
24332438
}
24342439
},
24352440
"type": "value"

internal/app/rds/rds.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ const (
179179
InstanceStatusStarting int = 3
180180
InstanceStatusModifying int = 4
181181
InstanceStatusConfiguringEnhancedMonitoring int = 5
182+
InstanceStatusConfiguringLogExports int = 6
182183
InstanceStatusStorageInitialization int = 10
183184
InstanceStatusStorageOptimization int = 11
184185
InstanceStatusRenaming int = 20
@@ -227,6 +228,7 @@ var instanceStatuses = map[string]int{ // retrieved from https://docs.aws.amazon
227228
"available": InstanceStatusAvailable,
228229
"backing-up": InstanceStatusBackingUp,
229230
"configuring-enhanced-monitoring": InstanceStatusConfiguringEnhancedMonitoring,
231+
"configuring-log-exports": InstanceStatusConfiguringLogExports,
230232
"creating": InstanceStatusCreating,
231233
"deleting": InstanceStatusDeleting,
232234
"failed": InstanceStatusFailed,

0 commit comments

Comments
 (0)