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/13 23:11:41 UTC
[incubator-pinot] branch master updated: [TE] rootcause -
adjustment anomaly baseline rather than other numbers (#3461)
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 ec9de38 [TE] rootcause - adjustment anomaly baseline rather than other numbers (#3461)
ec9de38 is described below
commit ec9de38a23afa9f3f899b2863b8e9996d6569d5d
Author: Alexander Pucher <ap...@linkedin.com>
AuthorDate: Tue Nov 13 15:11:37 2018 -0800
[TE] rootcause - adjustment anomaly baseline rather than other numbers (#3461)
---
.../app/pods/components/rootcause-anomaly/component.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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 7a5372a..d0d6e5e 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: {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org