Skip to content
  1. Aug 14, 2019
    • Hannu Nyman's avatar
      luci-app-statistics: cpufreq: tweak graphs · 24c0e7ca
      Hannu Nyman authored
      
      
      * Frequency usage percentage stats are by kHz instead of Hz.
        Correct the labels. (Linux natively uses kHz for CPU frequency stats,
        but collectd scales the current frequency stats item to Hz.)
      
      * Show frequency usage percentage graph before the transition counts,
        as it is more descriptive.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      24c0e7ca
  2. Aug 10, 2019
  3. Aug 02, 2019
  4. Aug 01, 2019
    • Hannu Nyman's avatar
      luci-app-statistics: cpufreq: enhance additional data · 05cad423
      Hannu Nyman authored
      
      
      * Use the new data series sorting and coloring options to
        display the frequencies in order and with matching coloring in
        different cores.
      
      * Fix the y-axis text and legend in the frequency usage graph
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      05cad423
    • Hannu Nyman's avatar
      luci-app-statistics: add options for graph series sorting and color · 4ca57277
      Hannu Nyman authored
      
      
      Add two data series-level options "negweight" and "posweight" that
      will use the numerical value of the data instance name
      as the sorting factor. This enables e.g. sorting by CPU frequency
      in the cpufreq module.
      
      Add new graph-level option "ordercolor" to use colorsfrom a
      pre-defined color table for the data series. This enables keeping
      similar colors for similar data series in different plugin instances.
      E.g. CPU frequencies in several cores that are handled and displayed
      separately.
       (note: the table has 8 items and if there are more series, it uses
        the same colors again. The table can be easily extended/modified)
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      4ca57277
  5. Jul 30, 2019
    • Hannu Nyman's avatar
      luci-app-statistics: cpufreq: changes in data structure · e6f30bb7
      Hannu Nyman authored
      
      
      Collectd 5.9.0 changed the data structure of the cpufreq plugin:
      CPU cores are now handled as separate plugin instances.
      
      There are also new data items per core:
       * time spent at each frequency
       * amount of frequency transitions
      
      Enable these new data items, but initially hide them behind
      a new config option "ExtraItems" (default: disabled), as
      the amount of graphs in multi-core systems could be rather large.
      
      Note that the frequencies are not (yet) sorted, so the
      information value of the time-spent graph is semi-random.
      
      Signed-off-by: default avatarHannu Nyman <hannu.nyman@iki.fi>
      e6f30bb7
  6. Jul 13, 2019
  7. Jul 09, 2019
  8. Jul 05, 2019
  9. Jun 21, 2019
  10. Jun 09, 2019
  11. May 28, 2019
  12. May 14, 2019
  13. May 13, 2019
  14. Apr 30, 2019
  15. Apr 04, 2019
    • Martin Surovcak's avatar
      luci-app-statistics - allow rrd files to contain : · 7bab4a3e
      Martin Surovcak authored
      Fixes situations where RRD file name contains ":" (eg. _ping/ipv6_) in `rrdtool` it's unescaped - thus not able to render image. Adding simple escaping of `:` to `\\:` fixes the situation.
      
      Might be a solution for #958.
      7bab4a3e
  16. Mar 08, 2019
  17. Mar 07, 2019
  18. Mar 02, 2019
  19. Feb 25, 2019
  20. Feb 12, 2019
  21. Feb 05, 2019
  22. Feb 04, 2019
  23. Jan 24, 2019
  24. Jan 21, 2019
  25. Jan 03, 2019
  26. Dec 19, 2018
  27. Nov 21, 2018
  28. Nov 15, 2018
    • Kevin Locke's avatar
      luci-app-statistics: quote : in filenames for DEF · 1bbc419e
      Kevin Locke authored
      
      
      : is used to delimit fields in DEF: rrd instructions, so when it appears
      in a filename it must be escaped using \.[1]  This commit adds the
      escaping.
      
      I discovered the issue after configuring collectd-mod-ping to monitor an
      IPv6 host (2001:19f0:5:727:5b56:205d:ff55:2208).  Accessing
      https://192.168.0.1/cgi-bin/luci/admin/statistics/graph/ping would cause
      the following messages to be logged:
      
          Wed Nov 14 23:04:33 2018 daemon.err uhttpd[30261]: ERROR: can't parse DEF '2ping_avg_raw=/tmp/rrd/openwrthost/ping/ping-2001:19f0:5:727:5b56:205d:ff55:2208.rrd:value:AVERAGE' -2
          Wed Nov 14 23:04:33 2018 daemon.err uhttpd[30261]: ERROR: can't parse DEF '2ping_droprate_avg_raw=/tmp/rrd/openwrthost/ping/ping_droprate-2001:19f0:5:727:5b56:205d:ff55:2208.rrd:value:AVERAGE' -2
      
      and the graphs would not display.  After applying this commit, the
      graphs display correctly and no messages are logged.
      
      1.  https://oss.oetiker.ch/rrdtool/doc/rrdgraph_data.en.html#IDEF
      
      Signed-off-by: default avatarKevin Locke <kevin@kevinlocke.name>
      1bbc419e
  29. Nov 11, 2018
  30. Nov 10, 2018
  31. Nov 07, 2018
  32. Nov 04, 2018