-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
telegraf zipkin plugin "Error in plugin [inputs.zipkin]: Unknown data type 97" #3137
Comments
Just to make sure, is this the source of the sample? https://github.com/spring-cloud/spring-cloud-sleuth/tree/master/spring-cloud-sleuth-samples |
and I also tried following example , but got same error message.. created spring starter with web, zipkin client on eclipse
|
@danielnelson
|
Thank @entrix-yscho , this should make it much easier for me to reproduce. |
Hi @entrix-yscho, thank you for writing in. I'm pretty sure the problem is that by default that zipkin client will send with JSON encoding while telegraf, currently, only accepts thrift. I'm seeing the default JSON encoding here: https://github.com/spring-cloud/spring-cloud-sleuth/blob/cbbb3c2a40c65a113a021a979e5a908323267b7e/spring-cloud-sleuth-zipkin/src/main/java/org/springframework/cloud/sleuth/zipkin/HttpZipkinSpanReporter.java#L32 I'm not sure, yet, how to change the encoding in the client, but, I'll work on getting telegraf to accept the JSON format as well. |
@entrix-yscho This bug should be fixed now, it would be really helpful if you could try it again and let us know how it goes. |
@danielnelson |
Bug report
When I try telegraf zipkin plugin with example of "spring-cloud-sleuth-sample-zipkin",
I got error message "Error in plugin [inputs.zipkin]: Unknown data type 97"
But, when I use example "brave-tracer-example", working good.
both of above examples are work properly on zipkin server.
Relevant telegraf.conf:
./telegraf --input-filter zipkin --output-filter influxdb config > telegraf.conf
System info:
[Include Telegraf version, operating system name, and other relevant details]
Telegraf v1.5.0~pre3006ccbf (git: master 3006ccb)
OS : OSX
Steps to reproduce:
Expected behavior:
Actual behavior:
Additional info:
[Include gist of relevant config, logs, etc.]
The text was updated successfully, but these errors were encountered: