Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus: support disabling aggregation at query time #2219

Closed

Commits on May 4, 2024

  1. prometheus: support disabling aggregation at query time

    In Seastar, metrics can be defined with implicit aggregation by specific labels,
    which occurs at query time. This feature is useful, for instance to define metrics
    per shard or even more finely grained per an application-defined entity while reporting
    them in a more aggregated manner, such as sum or histogram per server.
    
    However, there are times when it is necessary to inspect the fine-grained metrics.
    This can be achieved by adding `__aggregate__=false` to the query string. For example:
    `http://localhost:9180/metrics?__aggregate__=false`
    nvartolomei committed May 4, 2024
    Configuration menu
    Copy the full SHA
    166f48c View commit details
    Browse the repository at this point in the history