Skip to content

tsdb: need histogram support for created-timestamp handling #13384

@beorn7

Description

@beorn7

Proposal

OM introduced created timestamps, but doesn't support native histograms yet. However, we have backported created-timestamps to the classic protobuf format, which also supports native histograms. (And of course, OM is supposed to support native histograms soon.)

Combining both features, we run into the problem that AppendCTZeroSample will always insert a float zero sample, even into a series of histograms. Which will make rate calculation impossible whenever the zero float sample and any histogram sample is in the range at the same time.

So we need to find a way to insert a zero histogram in case the created timestamp comes with a histogram sample.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions