go-graphite / go-carbon

Golang implementation of Graphite/Carbon server with classic architecture: Agent -> Cache -> Persister
MIT License
803 stars 123 forks source link

Bad message error while sending metrics from Aerospike Server #281

Open akannan-dx opened 5 years ago

akannan-dx commented 5 years ago

I am trying to send metrics from Aerospike server to Graphite server using go-carbon. I am receiving the following message

[2019-03-22T08:54:34.830Z] INFO [tcp] parse failed {"error": "bad message: \"aerospike-test1.host.test-as04.context.histogram.objsz.bucket_15 0 1553244874 \n\"", "peer": "10.57.147.108:16953"}

I am able to send if disable go-carbon and enable carbon-cache. Issue seems to be with go-carbon. I using go-carbon version 0.13.0

From the aerospike server, when we send metrics to a different go-carbon server running version 0.9.0 it is working properly

lomik commented 5 years ago

Thanks for report Fixed https://github.com/lomik/go-carbon/commit/82e9bed4a84198431233a260cb08077111cdae07

akannan-dx commented 5 years ago

Thanks for fixing it fast. We are able to post metrics now.

akannan-dx commented 5 years ago

Hi @lomik , when we can expect this bug fix available as a release version.