apucher closed pull request #3461: [TE] rootcause - adjust anomaly baseline 
rather than other header numbers
URL: https://github.com/apache/incubator-pinot/pull/3461
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/thirdeye/thirdeye-frontend/app/pods/components/rootcause-anomaly/component.js 
b/thirdeye/thirdeye-frontend/app/pods/components/rootcause-anomaly/component.js
index 7a5372af60..d0d6e5e284 100644
--- 
a/thirdeye/thirdeye-frontend/app/pods/components/rootcause-anomaly/component.js
+++ 
b/thirdeye/thirdeye-frontend/app/pods/components/rootcause-anomaly/component.js
@@ -355,10 +355,10 @@ export default Component.extend({
     if (offset === 'predicted') {
       const value = parseFloat(predicted);
       if (value === 0.0) { return Number.NaN; }
-      return value;
+      return value / (aggregateMultiplier || 1.0);
     }
 
-    return aggregates[toOffsetUrn(metricUrn, offset)] * (aggregateMultiplier 
|| 1.0);
+    return aggregates[toOffsetUrn(metricUrn, offset)];
   },
 
   actions: {


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to