Branch: refs/heads/no_midx
Home:
https://github.com/hawkular/hawkular-metrics
Commit: 00097dd0a6efbbcc6a269dbe8f070116517145fc
https://github.com/hawkular/hawkular-metrics/commit/00097dd0a6efbbcc6a269...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2016-08-23 (Tue, 23 Aug 2016)
Changed paths:
M
core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
Log Message:
-----------
[HWKMETRICS-422] Remove unneeded calls to findMetric. It is now almost equivalent to
query for data of non-existing metric when compared to trying to find if a metric exists.
Removing this call makes the stats method faster because it avoids a query to the metrics
index.