Skip to content

When scrape interval is used, metrics are not available outside the scrape window #314

@redelang

Description

@redelang

When using scrape interval on global level you can also define scrape interval per metric. Metrics which have an individual scrape interval configured in the configuration (toml) file, are only available at the moment it's actually scraped from the database. On the next global scrape interval the metric is no longer available. My expectation is that the metric would still be available, but with the old value.

e.g. global scrape interval is 2 minutes and an individual metric has a scrape interval of 1 hour configured. In this case that metric is only available for 2 minutes per hour.

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