carbon-relay-ng icon indicating copy to clipboard operation
carbon-relay-ng copied to clipboard

pickle=true unrecognized option

Open blysik opened this issue 9 years ago • 3 comments

  'addRoute consistentHashing graphite xx.xxx.xxx.xx:2004 pickle=true  xx.xxx.xxx.xx:2004 pickle=true  xx.xxx.xxx.xx:2004 pickle=true'

Give me the error:

▶ ERRO  could not apply init cmd #1
▶ ERRO  unrecognized option 'pickle='

Am I doing something wrong here?

blysik avatar Aug 25 '15 17:08 blysik

Add a second space before your first destination, i.e.,

graphite  xx.xxx.xxx.xx:2004 pickle=true

rtkrruvinskiy avatar Aug 26 '15 02:08 rtkrruvinskiy

this is admittedly a bit of a clunky method, the dual space thing. not sure what's the best way to make it more robust but still simple.

Dieterbe avatar Aug 26 '15 14:08 Dieterbe

I suppose one could separate the destination options with a ; (or another non-space separator) and then separate the destinations with a space.

rtkrruvinskiy avatar Aug 29 '15 01:08 rtkrruvinskiy