[TE] frontend - harleyjj/manage - pass correct granularity to buildMetricDataUrl
@@ -216,7 +216,6 @@ export default Route.extend({
bucketSize,
bucketUnit
} = alertData;
-
// Derive start/end time ranges based on querystring input with fallback on default '1 month'
const {
startStamp,
@@ -278,7 +277,7 @@ export default Route.extend({
startStamp: config.startStamp,
id: metricId,
filters: config.filters,
- granularity: config.bucketUnit,
+ granularity: `${config.bucketSize}_${config.bucketUnit}`,
dimension: 'All' // NOTE: avoid dimension explosion - config.exploreDimensions ? config.exploreDimensions.split(',')[0] : 'All'
})});
})
