author | Florian Forster <octo@collectd.org> | |
Sat, 1 Jun 2013 07:19:07 +0000 (09:19 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Sat, 1 Jun 2013 07:19:07 +0000 (09:19 +0200) | ||
commit | a6ea8a31f4f27655640f7a517d2b157fa8fc62d7 | |
tree | 211bf9dadf8d74accd1b4c439a0d2a50e87c9253 | tree | snapshot |
parent | 2cef48ae374f267e46c9c4219c97919e04f5b0a7 | commit | diff |
df plugin: Rename the percent metrics.
* Change type to "percent".
* Use "<disk>-bytes" and "<disk>-inodes" as plugin instance. This way we're
able to use "percent" for both.
* Remove one level of indentation.
* Make casting more explicit (e.g. don't divide a float by a size_t).
* Change type to "percent".
* Use "<disk>-bytes" and "<disk>-inodes" as plugin instance. This way we're
able to use "percent" for both.
* Remove one level of indentation.
* Make casting more explicit (e.g. don't divide a float by a size_t).
src/df.c | diff | blob | history | |
src/types.db | diff | blob | history |