简体   繁体   English

Zipkin-有关在Java中创建跨度和跟踪的更多信息

[英]Zipkin - Is there any more informtaion about creating spans and traces in Java

I would like to create my own basic, minimalistic library used for distributed tracing with Zipkin. 我想创建自己的基本的,简约的库,用于Zipkin的分布式跟踪。 I will be sending traces via HTTP and nothing more fancy. 我将通过HTTP发送跟踪,仅此而已。 My question is if there is any more information about this topic than in the Zipkin docs and the source code of Zipkin and Brave? 我的问题是,与Zipkin文档以及Zipkin和Brave的源代码相比,是否有更多有关此主题的信息? I would like not to rely on Spring Framework. 我不想依赖Spring框架。 Spring Cloud Sleuth works very well, but my services are not built using Spring. Spring Cloud Sleuth工作得很好,但是我的服务不是使用Spring构建的。 Do you know any resources? 你知道资源吗? Or do you have any ideas where to start doing this? 还是您有任何从哪里开始的想法?

Instrumenting a library is something that sometimes folks have to do for one reason or another. 装备图书馆是人们有时出于某种原因要做的事情。 There are several tracer libraries in Java but the salient points about creating a tracer are either on the website, or issues on the website. Java中有几个跟踪器库,但是有关创建跟踪器的要点是在网站上还是在网站上。

http://zipkin.io/pages/instrumenting.html https://github.com/openzipkin/openzipkin.github.io/issues/11 http://zipkin.io/pages/instrumenting.html https://github.com/openzipkin/openzipkin.github.io/issues/11

OpenTracing also has some nice fundamentals to look at http://opentracing.io/ OpenTracing也具有一些不错的基础知识,可查看http://opentracing.io/

This isn't a one-answer type of question, in my experience, as you'll learn you'll need to address other things that tracer libraries address out-of-box. 根据我的经验,这不是一个简单的问题,因为您将了解到,您需要解决跟踪器库可以直接解决的其他问题。 For that reason I'd highly suggest joining gitter so that you can have a dialogue through your journey https://gitter.im/openzipkin/zipkin 因此,我强烈建议加入gitter,以便您可以在旅途中进行对话https://gitter.im/openzipkin/zipkin

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM