ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sid Wagle" <swa...@hortonworks.com>
Subject Review Request 33601: Ambari API should support querying metric values with aggregation type (max, min, avg and sum )
Date Mon, 27 Apr 2015 22:29:31 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/33601/
-----------------------------------------------------------

Review request for Ambari, Dmytro Sen, Jaimin Jetly, Sumit Mohanty, and Tom Beerbower.


Bugs: AMBARI-10779
    https://issues.apache.org/jira/browse/AMBARI-10779


Repository: ambari


Description
-------

Each metric present in metrics descriptor should support avg, min, max and sum.
Ambari serviceComponent API endpoint should support querying metrics with the aggregation
types (min, max, avg and sum)


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/MetricsPropertyProviderProxy.java
d2cd959 
  ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSComponentPropertyProvider.java
1fb0869 
  ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProvider.java
77ffbc1 
  ambari-server/src/test/java/org/apache/ambari/server/controller/metrics/timeline/AMSPropertyProviderTest.java
052f86c 
  ambari-server/src/test/resources/ams/aggregate_component_metric.json PRE-CREATION 
  ambari-server/src/test/resources/ams/multiple_component_metrics.json 3d231fa 

Diff: https://reviews.apache.org/r/33601/diff/


Testing
-------

Manually verified. Related unit test pass.


Thanks,

Sid Wagle


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message