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

Use variable rate interval for blob thoughput metrics based on time interval #621

Merged
merged 1 commit into from
Jun 26, 2024

Commits on Jun 26, 2024

  1. Use variable rate interval for blob thoughput metrics based on time i…

    …nterval
    
    DA internal dashboard blob throughput does not match blob explorer throughput graphs because dataapi query uses 2m rate interval and DA dashboard uses auto `$__rate_interval`
    
    See https://grafana.com/blog/2020/09/28/new-in-grafana-7.2-__rate_interval-for-prometheus-rate-queries-that-just-work/
    
    The problem is that `$__rate_interval` is a grafana only feature and can not be used for raw prometheus queries. This change converts dataAPI metrics to use the auto variable rate based
    on query interval length and changes the default rate from 2m to 4m to match what `$__rate_interval` does under the covers.
    
    Use `4m` for < 7d time interval
    Use `11m` for >= 7d time interval
    pschork committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    d1484e7 View commit details
    Browse the repository at this point in the history