Skip to content

Commit 1f40ced

Browse files
authored
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
1 parent a2c8e9c commit 1f40ced

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/mapping/params/meta.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ metric_type::
4848
The metric type of a numeric field: `"gauge"` or `"counter"`. A gauge is a
4949
single-value measurement that can go up or down over time, such as a
5050
temperature. A counter is a single-value cumulative counter that only goes
51-
up, such as the number of requests processed by a web server. By default,
52-
no metric type is associated with a field. Only valid for numeric fields.
51+
up, such as the number of requests processed by a web server, or resets to 0 (zero).
52+
By default, no metric type is associated with a field. Only valid for numeric fields.

0 commit comments

Comments
 (0)