Commit 58eb7466 by Mitsuhiro Tanda Committed by Torkel Ödegaard

Fix: Cloudwatch fix for dimension value (#16356)

Fixes autocomplete suggestion after changing dimension key

Fixes #15984
parent 4e547980
......@@ -112,6 +112,7 @@ export class CloudWatchQueryParameterCtrl {
query = $scope.datasource.getDimensionKeys($scope.target.namespace, $scope.target.region);
} else if (segment.type === 'value') {
const dimensionKey = $scope.dimSegments[$index - 2].value;
delete target.dimensions[dimensionKey];
query = $scope.datasource.getDimensionValues(
target.region,
target.namespace,
......
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