Browse Source

Tiny tsdb docs update (#95333)

Update definition of metric type counter to include it resets to zero.

Just like is defined on the tsdb page:
https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html#time-series-metric
Martijn van Groningen 2 years ago
parent
commit
1f40ced134
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/reference/mapping/params/meta.asciidoc

+ 2 - 2
docs/reference/mapping/params/meta.asciidoc

@@ -48,5 +48,5 @@ metric_type::
   The metric type of a numeric field: `"gauge"` or `"counter"`. A gauge is a
   single-value measurement that can go up or down over time, such as a
   temperature. A counter is a single-value cumulative counter that only goes
-  up, such as the number of requests processed by a web server. By default,
-  no metric type is associated with a field. Only valid for numeric fields.
+  up, such as the number of requests processed by a web server, or resets to 0 (zero).
+  By default, no metric type is associated with a field. Only valid for numeric fields.