The pcp2graphite -u example was not optimal, only ~two
out of 1000+ standard PCP metrics could be rescaled
using the units used in the example, use something more
widely applicable instead.
---
src/pcp2graphite/pcp2graphite.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/pcp2graphite/pcp2graphite.py b/src/pcp2graphite/pcp2graphite.py
index 455e2c6..f6cfe67 100644
--- a/src/pcp2graphite/pcp2graphite.py
+++ b/src/pcp2graphite/pcp2graphite.py
@@ -77,8 +77,8 @@ network.""")
self.opts.pmSetLongOption("text-port", 1, 'P', '',
"graphite plaintext port (usually 2003)")
self.opts.pmSetLongOption("units", 1, 'u', '',
- "rescale all metric units " +
- "(e.g., \"mbytes/5 sec\")")
+ "rescale units " +
+ "(e.g., \"MB\", will omit incompatible
units)")
self.opts.pmSetLongOption("prefix", 1, 'm', '',
"prefix for metric names (default \"pcp.\")")
self.opts.pmSetLongOptionHelp()
Thanks,
--
Marko Myllynen
|