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

mixin: update units for disk and networking panels #2375

Merged
merged 2 commits into from
Jul 26, 2022

Commits on May 12, 2022

  1. Update units of network ad disk graphs

    https://prometheus.io/docs/prometheus/latest/querying/functions/#rate
    
    rate() calculates per-second average rate, therefore Bps units should be used for disks.
    
    In networking bandwidth throughput is usually measured in bits/s so units are changed accordingly.
    
    Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
    v-zhuravlev committed May 12, 2022
    Configuration menu
    Copy the full SHA
    7e5586f View commit details
    Browse the repository at this point in the history
  2. Change io time units to %util

    When appying rate() to seconds we have 'seconds per second' or fractions of the second, so actually it actually can be from 0 to 1.
    
    Also update intervalFactor to 1 for better rates.
    
    Signed-off-by: Vitaly Zhuravlev <zhuravlev.vitaly@gmail.com>
    v-zhuravlev committed May 12, 2022
    Configuration menu
    Copy the full SHA
    14d311a View commit details
    Browse the repository at this point in the history