Cloudwatch Logs: Ignore non-time grouping fields in expressions and alerts (#67608)

This commit is contained in:
Isabella Siu
2023-05-16 08:58:04 -04:00
committed by GitHub
parent 82114cb316
commit 0612f1f87a
4 changed files with 115 additions and 6 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ var executeSyncLogQuery = func(ctx context.Context, e *cloudWatchExecutor, req *
var frames []*data.Frame
if len(logsQuery.StatsGroups) > 0 && len(dataframe.Fields) > 0 {
frames, err = groupResults(dataframe, logsQuery.StatsGroups)
frames, err = groupResults(dataframe, logsQuery.StatsGroups, true)
if err != nil {
return nil, err
}