将 SpringBoot / Sleuth Zipkin 跟踪发送到 Honeycomb.io
Sending SpringBoot / Sleuth Zipkin Traces to Honeycomb.io
将跟踪从现有的检测 Spring 引导应用程序发送到 honeycomb-opentracing-proxy 失败,代理控制台中出现以下错误:
time="2019-10-25T02:51:55Z" level=info msg="error unmarshaling spans" error="json: cannot unmarshal bool into Go struct field binaryAnnotation.value of type string" type=application/json
Spring 引导版本:2.1.3.RELEASE
Spring Cloud Sleuth 版本:2.1.1.RELEASE
运行 使用以下 docker 命令打开跟踪代理:
docker run -p 9411:9411 honeycombio/honeycomb-opentracing-proxy -k $KEY -d $DATA_SET
通过阅读文档 here honeycomb-opentracing-proxy 仅支持 JSON API 的 v1 所以我在 spring 云配置中明确设置为这似乎默认为 v2。
application.properties
spring.zipkin.sender.type=web
spring.zipkin.base-url=http://localhost:9411
spring.zipkin.enabled=true
spring.zipkin.encoder=json_v1
如有任何帮助,我们将不胜感激
可能最好将您在 github 中提出的问题与交叉发布相比较。这是一个错误 https://github.com/honeycombio/honeycomb-opentracing-proxy/issues/37
将跟踪从现有的检测 Spring 引导应用程序发送到 honeycomb-opentracing-proxy 失败,代理控制台中出现以下错误:
time="2019-10-25T02:51:55Z" level=info msg="error unmarshaling spans" error="json: cannot unmarshal bool into Go struct field binaryAnnotation.value of type string" type=application/json
Spring 引导版本:2.1.3.RELEASE Spring Cloud Sleuth 版本:2.1.1.RELEASE
运行 使用以下 docker 命令打开跟踪代理:
docker run -p 9411:9411 honeycombio/honeycomb-opentracing-proxy -k $KEY -d $DATA_SET
通过阅读文档 here honeycomb-opentracing-proxy 仅支持 JSON API 的 v1 所以我在 spring 云配置中明确设置为这似乎默认为 v2。
application.properties
spring.zipkin.sender.type=web
spring.zipkin.base-url=http://localhost:9411
spring.zipkin.enabled=true
spring.zipkin.encoder=json_v1
如有任何帮助,我们将不胜感激
可能最好将您在 github 中提出的问题与交叉发布相比较。这是一个错误 https://github.com/honeycombio/honeycomb-opentracing-proxy/issues/37