Skip to content

Commit d62b56b

Browse files
author
Semyon Koshel
committed
feat(cloudwatch_rds): changed interval in queries from 3 to 5 minutes
1 parent 1418980 commit d62b56b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/app/cloudwatch/rds.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func (c *RdsFetcher) GetRDSInstanceMetrics(dbIdentifiers []string) (CloudWatchMe
283283
metrics := make(map[string]*RdsMetrics)
284284

285285
cloudWatchQueries := generateCloudWatchQueriesForInstances(dbIdentifiers)
286-
startTime := aws.Time(time.Now().Add(-3 * time.Minute)) // Start time - 1 hour ago
286+
startTime := aws.Time(time.Now().Add(-5 * time.Minute)) // Start time - 5 minutes ago
287287
endTime := aws.Time(time.Now()) // End time - now
288288
chunkSize := MaxQueriesPerCloudwatchRequest
289289

0 commit comments

Comments
 (0)