Wingtips分布式跟踪系统
Wingtips,Nike 开源的分布式跟踪系统。
分布式追踪是一种通过分布式系统网络用于追踪请求的机制,用于创建透明度以及揭示那些系统有时复杂的相互作用和行为。例如在基于云的微服务架构里,单个请求能触摸数十或上百台服务器,因为它以树状的方式展开。
分布式追踪提供近乎实时监控或给予必要的工具来收集和解释踪迹以实现服务器之间相互作用的历史分析的能力。
示例代码:
import com.nike.wingtips.Span; import com.nike.wingtips.Tracer; // ======As early in the request cycle as possible====== try { // Determine if a parent span exists by inspecting the request (e.g. request headers) Span parentSpan = extractParentSpanFromRequest(request); // Start the overall request span (which becomes the "current span" for this thread unless/until a sub-span is created) if (parentSpan == null) Tracer.getInstance().startRequestWithRootSpan("newRequestSpanName"); else Tracer.getInstance().startRequestWithChildSpan(parentSpan, "newRequestSpanName"); // It's recommended that you include the trace ID of the overall request span in the response headers addTraceIdToResponseHeaders(response, Tracer.getInstance().getCurrentSpan()); // Execute the normal request logic doRequestLogic(); } finally { // ======As late in the request/response cycle as possible====== Tracer.getInstance().completeRequestSpan(); // Completes the overall request span and logs it to SLF4J }
评论
JD-Hydra分布式跟踪系统
京东开源的基于Dubbo的调用跟踪系统类似于Google的Dapper、类似于twitter的Zipkin、类似于淘宝的EagleEye。
JD-Hydra分布式跟踪系统
0
Zipkin分布式跟踪系统
Zipkin是一个分布式跟踪系统。它有助于收集解决服务体系结构中的延迟问题所需的时序数据。功能包括该数据的收集和查找。如果在日志文件中有跟踪ID,则可以直接跳至该跟踪ID。否则,你可以基于诸如服务,操
Zipkin分布式跟踪系统
0
Apache HTrace分布式系统跟踪框架
ApacheHTrace是Cloudera开源出来的一个分布式系统跟踪框架,支持HDFS和HBase等系统。该项目目前还在孵化阶段。ApacheHTrace是一个ApacheIncubator项目,
Apache HTrace分布式系统跟踪框架
0
eTraxisbug跟踪系统
eTraxis是基于网页的免费bug跟踪系统。主要特点是:完全自定义模板,先进的过滤器,LDAP支持,电子邮件通知,订阅报刊,提醒,灵活的权限管理,图形化的项目指标等。功能和特点操作系统独立性浏览器独
eTraxisbug跟踪系统
0