graphite_exporter icon indicating copy to clipboard operation
graphite_exporter copied to clipboard

Support Pickle protocol

Open SuperQ opened this issue 6 years ago • 5 comments
trafficstars

It would be useful to support the Graphite Pickle protocol.

Looks like there is a Go library that does this already. Shouldn't be to hard to implement.

SuperQ avatar Feb 27 '19 21:02 SuperQ

yes, that seems really useful. This would be a separate port, right?

matthiasr avatar Feb 28 '19 09:02 matthiasr

Does anyone actually use this? I vaguely remember looking into it, and basically noone did so I never implemented it.

brian-brazil avatar Feb 28 '19 09:02 brian-brazil

Yes, it would live on a different port.

Someone posted on IRC that they needed it, said they would make an attempt at adding it. I filed the issue for tracking.

SuperQ avatar Feb 28 '19 17:02 SuperQ

One example user is Druid, which defaults to the pickle format. https://druid.apache.org/docs/latest/development/extensions-contrib/graphite.html. Producing/ingesting metrics in pickled batches seems to be more efficient, but the plaintext protocol option is available.

hhsnow avatar Jun 24 '20 02:06 hhsnow

I roamed a lot with the parsing error and came across this thread. Yeah adding picke support will be huge help @brian-brazil

rjshrjndrn avatar Jun 30 '20 12:06 rjshrjndrn