Branch: refs/heads/HWKMETRICS-292
Home:
https://github.com/hawkular/hawkular-metrics
Commit: e8c153118f005b3bde67fba4d6e7c21f64ca7a25
https://github.com/hawkular/hawkular-metrics/commit/e8c153118f005b3bde67f...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2015-10-02 (Fri, 02 Oct 2015)
Changed paths:
M
api/metrics-api-jaxrs-1.1/src/main/java/org/hawkular/metrics/api/jaxrs/handler/GaugeHandler.java
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/handler/GaugeHandler.java
M
core/metrics-core-api/src/main/java/org/hawkular/metrics/core/api/MetricsService.java
M
core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/MetricsServiceImpl.java
M
core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/NumericDataPointCollector.java
A core/metrics-core-impl/src/main/java/org/hawkular/metrics/core/impl/Percentile.java
M
core/metrics-core-impl/src/test/java/org/hawkular/metrics/core/impl/MetricsITest.java
M
core/metrics-core-impl/src/test/java/org/hawkular/metrics/core/impl/MetricsServiceITest.java
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/GaugeMetricStatisticsITest.groovy
Log Message:
-----------
[HWKMETRICS-292] initial support for aggregating data across multiple metrics
This commit also includes a change to NumericDataPointCollector to facilitate
testing. The order of input of values will effect the results of percentiles.
This makes testing the new API difficult because we are fetching data points
from multiple metrics concurrently which means the order of input is
non-deterministic. The test hook allows for using a different implementation in
which the order of inputs does not matter.