percolator: `getTime` -> `time`

This commit is contained in:
Martijn van Groningen 2015-06-30 18:44:58 +02:00
parent 4102e263df
commit c6ae6fc6d9
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 XContentBuilderString PERCOLATE = new XContentBuilderString("percolate");
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 CURRENT = new XContentBuilderString("current");
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.medium` is now `resource.reload.interval.medium`
* `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.