Skip to content

Support temporality (delta/cumulative) for counters and histograms #139189

@kkrik-es

Description

@kkrik-es

The current implementation of rate assumes that counters are cumulative, whereas histogram entries are treated as containing deltas. We need to add proper support for temporality of counters and histograms, in line with Otel.

While temporality can be part of the time series definition, we can expect different hosts to use different temporalities for the same metric name. In that respect, temporality needs to be somehow tracked (either per doc or through mappings) and used at query time to calculate aggregates correctly.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions