Skip to content

Check for recording rules with ranges too short for a given scrape interval #81

Open
@rgeyer

Description

@rgeyer

The dashboard linter checks that rate/irate/increase queries use the Grafana $__rate_interval to ensure that the ranges are large enough to capture sufficient datapoints to calculate.

However, in recording rules, the ranges must be hardcoded, and can be too short for a given scrape interval.

The linting of recording rules should allow some way to specify a target scrape interval, and warn when the range is too small to produce a result.

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