druid-exporter: Error in decoding JSON sent by druid

Hello! Thank You for your great work! Would you be able to fix this bug ?

{"err":"json: cannot unmarshal number 0.2525 into Go struct field DruidEmittedData.value of type int","level":"error","msg":"Error in decoding JSON sent by druid","ts":"2020-05-18T15:14:57.180Z"}
{"level":"info","msg":"Successfully recieved data from druid emitter","ts":"2020-05-18T15:14:57.180Z"}
{"err":"json: cannot unmarshal number 0.038 into Go struct field DruidEmittedData.value of type int","level":"error","msg":"Error in decoding JSON sent by druid","ts":"2020-05-18T15:14:57.497Z"}
{"level":"info","msg":"Successfully recieved data from druid emitter","ts":"2020-05-18T15:14:57.497Z"}
{"err":"json: cannot unmarshal number 0.1245 into Go struct field DruidEmittedData.value of type int","level":"error","msg":"Error in decoding JSON sent by druid","ts":"2020-05-18T15:14:57.862Z"}
{"level":"info","msg":"Successfully recieved data from druid emitter","ts":"2020-05-18T15:14:57.862Z"}
{"err":"json: cannot unmarshal number 0.052333333333333336 into Go struct field DruidEmittedData.value of type int","level":"error","msg":"Error in decoding JSON sent by druid","ts":"2020-05-18T15:14:58.540Z"}
{"level":"info","msg":"Successfully recieved data from druid emitter","ts":"2020-05-18T15:14:58.541Z"}

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (7 by maintainers)

Most upvoted comments

Sure I will be fixing this soon