Merge pull request #11954 from martijnvg/percolator/stats/typo

Change `percolator.getTime` -> `percolator.time`
This commit is contained in:
Martijn van Groningen 2015-07-01 19:08:42 +02:00
commit 5a2a2861ab
2 changed files with 5 additions and 1 deletions

View File

@ -132,7 +132,7 @@ public class PercolateStats implements Streamable, ToXContent {
static final class Fields { static final class Fields {
static final XContentBuilderString PERCOLATE = new XContentBuilderString("percolate"); static final XContentBuilderString PERCOLATE = new XContentBuilderString("percolate");
static final XContentBuilderString TOTAL = new XContentBuilderString("total"); static final XContentBuilderString TOTAL = new XContentBuilderString("total");
static final XContentBuilderString TIME = new XContentBuilderString("getTime"); static final XContentBuilderString TIME = new XContentBuilderString("time");
static final XContentBuilderString TIME_IN_MILLIS = new XContentBuilderString("time_in_millis"); static final XContentBuilderString TIME_IN_MILLIS = new XContentBuilderString("time_in_millis");
static final XContentBuilderString CURRENT = new XContentBuilderString("current"); static final XContentBuilderString CURRENT = new XContentBuilderString("current");
static final XContentBuilderString MEMORY_SIZE_IN_BYTES = new XContentBuilderString("memory_size_in_bytes"); static final XContentBuilderString MEMORY_SIZE_IN_BYTES = new XContentBuilderString("memory_size_in_bytes");

View File

@ -720,3 +720,7 @@ to prevent clashes with the watcher plugin
* `watcher.interval.low` is now `resource.reload.interval.low` * `watcher.interval.low` is now `resource.reload.interval.low`
* `watcher.interval.medium` is now `resource.reload.interval.medium` * `watcher.interval.medium` is now `resource.reload.interval.medium`
* `watcher.interval.high` is now `resource.reload.interval.high` * `watcher.interval.high` is now `resource.reload.interval.high`
=== Percolator stats
Changed the `percolate.getTime` stat (total time spent on percolating) to `percolate.time` state.