[Hawkular-commits] [hawkular/hawkular-metrics] 00097d: [HWKMETRICS-422] Remove unneeded calls to findMetr...
Stefan Negrea
snegrea at redhat.com
Tue Aug 23 11:39:14 EDT 2016
Branch: refs/heads/no_midx
Home: https://github.com/hawkular/hawkular-metrics
Commit: 00097dd0a6efbbcc6a269dbe8f070116517145fc
https://github.com/hawkular/hawkular-metrics/commit/00097dd0a6efbbcc6a269dbe8f070116517145fc
Author: Stefan Negrea <snegrea at 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.
More information about the hawkular-commits
mailing list