CloudWatch: Improve method name, performance optimization (#28632)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@@ -46,7 +46,7 @@ func (e *cloudWatchExecutor) parseResponse(metricDataOutputs []*cloudwatch.GetMe
|
||||
}
|
||||
}
|
||||
|
||||
cloudWatchResponses := make([]*cloudwatchResponse, 0)
|
||||
cloudWatchResponses := make([]*cloudwatchResponse, 0, len(mdrs))
|
||||
for id, lr := range mdrs {
|
||||
query := queries[id]
|
||||
frames, partialData, err := parseMetricResults(lr, labels[id], query)
|
||||
|
||||
Reference in New Issue
Block a user