Commit 22d6cfc3 by kay delaney Committed by GitHub

DataSource/CloudWatch: Adds metadata to grouped CW Logs dataframe (#27454)

parent 6b0f56b7
...@@ -175,6 +175,7 @@ func groupResults(results *data.Frame, groupingFieldNames []string) ([]*data.Fra ...@@ -175,6 +175,7 @@ func groupResults(results *data.Frame, groupingFieldNames []string) ([]*data.Fra
if _, exists := groupedDataFrames[groupKey]; !exists { if _, exists := groupedDataFrames[groupKey]; !exists {
newFrame := results.EmptyCopy() newFrame := results.EmptyCopy()
newFrame.Name = groupKey newFrame.Name = groupKey
newFrame.Meta = results.Meta
groupedDataFrames[groupKey] = newFrame groupedDataFrames[groupKey] = newFrame
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment