mirror of https://github.com/grafana/grafana.git
Cloudwatch: Add Frametype to Metrics response (#103617)
This should enable compatability with sql expressions fixes #103196
This commit is contained in:
parent
59f3ca09ab
commit
5698159ee3
|
|
@ -254,6 +254,7 @@ func buildDataFrames(ctx context.Context, aggregatedResponse models.QueryRowResp
|
||||||
RefID: query.RefId,
|
RefID: query.RefId,
|
||||||
Meta: createMeta(query),
|
Meta: createMeta(query),
|
||||||
}
|
}
|
||||||
|
frame.Meta.Type = data.FrameTypeTimeSeriesMulti
|
||||||
|
|
||||||
for code := range aggregatedResponse.ErrorCodes {
|
for code := range aggregatedResponse.ErrorCodes {
|
||||||
if aggregatedResponse.ErrorCodes[code] {
|
if aggregatedResponse.ErrorCodes[code] {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue