Skip to content

Commit a55f0e2

Browse files
deeb00Semyon Koshel
authored andcommitted
feat(cloudwatch_rds): changed interval in queries from 3 to 5 minutes
Signed-off-by: Semyon Koshel <deathmetal1414@gmail.com>
1 parent 1418980 commit a55f0e2

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)