Skip to content

Add an option to "trim edges" #213

@sjones94549

Description

@sjones94549

The first- and last- buckets in date histograms are often incomplete. Rather than showing artificially-low values near the edges (which look like steep declines in whatever metric is aggregated), it'd be nice to optionally "trim" N buckets off the ends. The ES data source allows this in its Date Histogram with the "Trim Edges" option.

For my current use-case, I can get away with AND date(field) < date(NOW() - INTERVAL '1' day), but the option would be extra snazzy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions