Skip to content

Add minimum_interval setting to auto_date_histogram aggregation #41757

@simianhacker

Description

@simianhacker

In TSVB, I introduced the concept of a "minimum auto interval" because metrics usually have a minimum resolution that works. For example, if a user installs Metricbeat and modifies collection interval to be 1 minute, any time they request data that returns buckets smaller than 1m they will have gaps in their data. Once that happens most pipeline aggregations stop working as well, especially the derivative pipeline aggregation which is very common with counters like network traffic. This scenario is what usually drives users to start requesting interpolation between the points.

The concept of >=1m interval data math was born in TSVB to address the issue above. Adding support for this was trivial because you just calculate the interval and if it's less the the minimum, the minimum is returned instead.

I would rather use auto_date_histogram for most of the metrics UI's I develop but without support for a minimum interval, it's a non-starter.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions