diff options
author | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2015-11-26 01:30:57 +0200 |
---|---|---|
committer | Costa Tsaousis (ktsaou) <costa@tsaousis.gr> | 2015-11-26 01:30:57 +0200 |
commit | 171a60571572067aad59fbee9f975b05b8663001 (patch) | |
tree | 82b6756bf87354155c0dd842fa30687f2688cc71 /charts.d/cpu_apps.chart.sh | |
parent | 62aac417f30aba33549f4e706b43f685d988a58d (diff) |
fixed a bug in the incremental calculations where the exact duration (in nanoseconds) between incremental updates was not taken into account, so the values were always calculated using the pre-agreed update_every duration
Diffstat (limited to 'charts.d/cpu_apps.chart.sh')
-rwxr-xr-x | charts.d/cpu_apps.chart.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/charts.d/cpu_apps.chart.sh b/charts.d/cpu_apps.chart.sh index d0165ad331..879cbbddd3 100755 --- a/charts.d/cpu_apps.chart.sh +++ b/charts.d/cpu_apps.chart.sh @@ -34,7 +34,7 @@ cpu_apps_create() { local x= for x in $cpu_apps_apps do - echo "DIMENSION $x $x incremental 1000 $((cpu_apps_clockticks * cpu_apps_update_every))" + echo "DIMENSION $x $x incremental 1000 $cpu_apps_clockticks" # this string is needed later in the update() function # to finalize the instructions for the bc command |