Browse Source

[DOCS] Clarify `metrics` is array of strings (#65611)

James Rodewig 4 years ago
parent
commit
f727f8eb21
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/reference/rollup/apis/rollup-api.asciidoc

+ 1 - 1
docs/reference/rollup/apis/rollup-api.asciidoc

@@ -164,7 +164,7 @@ Collects and stores metrics for <<number,numeric>> fields.
 object, this property is required.
 
 `metrics`::
-(Required*, array)
+(Required*, array of strings)
 Array of metrics to collect. Each value corresponds to a
 <<search-aggregations-metrics,metric aggregation>>. Valid values are
 <<search-aggregations-metrics-min-aggregation,`min`>>,