Skip to content

Basic stats aggregator plugin's cumulative effect for Prometheus scraping #16591

@opengamer29

Description

@opengamer29

Use Case

We collect events count on the mobile application (like count of errors), send them to Telegraf and scrape data by Prometheus.
We don't have a monotonic increasing without cumulative effect (like for histogram aggregator). Sum is reset based on period settings, which prevents us from building graphs with different time intervals.

Expected behavior

It would be great to have a config parameter for the basicstats plugin to enable accumulation of data.

Actual behavior

We are forced to do it with starlack plugins

Additional info

Here is an old similar issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequests for new plugin and for new features to existing plugins

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions