You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ap...@apache.org on 2018/11/27 23:16:41 UTC

[incubator-pinot] branch master updated: [TE] frontend - harleyjj/manage - pass correct granularity to buildMetricDataUrl (#3557)

This is an automated email from the ASF dual-hosted git repository.

apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new ac74d13  [TE] frontend - harleyjj/manage - pass correct granularity to buildMetricDataUrl (#3557)
ac74d13 is described below

commit ac74d1379e152e62dc92dfc819d7425ca80bb770
Author: Harley Jackson <ha...@gmail.com>
AuthorDate: Tue Nov 27 15:16:36 2018 -0800

    [TE] frontend - harleyjj/manage - pass correct granularity to buildMetricDataUrl (#3557)
---
 thirdeye/thirdeye-frontend/app/pods/manage/alert/explore/route.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/thirdeye/thirdeye-frontend/app/pods/manage/alert/explore/route.js b/thirdeye/thirdeye-frontend/app/pods/manage/alert/explore/route.js
index 2bfab38..dad6ea0 100644
--- a/thirdeye/thirdeye-frontend/app/pods/manage/alert/explore/route.js
+++ b/thirdeye/thirdeye-frontend/app/pods/manage/alert/explore/route.js
@@ -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'
         })});
       })


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org