OpenSearch/plugin/rollup
Zachary Tong 7810dc6146 [Rollup] Add `value_count` metric (elastic/x-pack-elasticsearch#4315)
Adds `value_count` as one of the accepted metrics.  The caveat is that
it only accepts numeric values for two reasons:

- Job validation at creation makes sure all metrics are numeric fields.
Changing this would require new syntax (or disallowing anything but
value_count on mixed fields)
- when `toBuilders()` is called, we have to supply a ValueSource to
the ValueCountBuilder, and we don't know what the field type is at that
time.

These are both fixable, but relatively more involved.  I think numeric-only
is a reasonable limitation to start with

Original commit: elastic/x-pack-elasticsearch@270f24c8bf
2018-04-06 10:47:33 -07:00
..
src [Rollup] Add `value_count` metric (elastic/x-pack-elasticsearch#4315) 2018-04-06 10:47:33 -07:00
build.gradle Rollups for Elasticsearch (elastic/x-pack-elasticsearch#4002) 2018-02-23 17:10:37 -05:00