Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

pcp2graphite: manual update; -r - pickleprotocol #69

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+16 −0
Split
@@ -14,6 +14,7 @@
[\f3\-g\f1 \f2graphitehost\f1]
[\f3\-p\f1 \f2pickleport\f1]
[\f3\-P\f1 \f2textport\f1]
+[\f3\-r\f1 \f2pickleprotocol\f1]
[\f3\-u\f1 \f2units\f1]
[\f3\-m\f1 \f2prefix\f1]
\f2metricname\f1 ...
@@ -84,6 +85,21 @@ communication, and use the given TCP port. This protocol is not
default, because it requires a separate TCP connection for each
metric. The typical port is \f32003\f1.
.TP
+.B \-r \f2pickleprotocol\f1
+Select the protocol for the "pickled" encoding. The possible values are:
+.RS
+.IP \[bu] 2
+0 - ASCII protocol (the slowest),
+.IP \[bu]
+1 - old binary protocol - pre Python 2.3,
+.IP \[bu]
+2 - new binary protocol introduced in Python 2.3.
+.RE
+.RS
+.TP
+The default is \f30\f1.
+.RE
+.TP
.B \-u \f2units\f1
Rescale the metrics to the given UNITS string, as parsed by the
.IR pmParseUnitsStr (3)