From 3f916010d634e4c3df54aa5b78f7811793459b6d Mon Sep 17 00:00:00 2001 From: test-account-0 Date: Thu, 11 Feb 2016 12:53:08 +0100 Subject: [PATCH] pcp2graphite: manual update; -r - pickleprotocol --- src/pcp2graphite/pcp2graphite.1 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/pcp2graphite/pcp2graphite.1 b/src/pcp2graphite/pcp2graphite.1 index 7ff1e065c..f5877916c 100644 --- a/src/pcp2graphite/pcp2graphite.1 +++ b/src/pcp2graphite/pcp2graphite.1 @@ -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)