migue / brave

Java distributed tracing implementation compatible with Zipkin back-end services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Maven Central Gitter chat

Brave

Brave is a library used to capture latency information about distributed operations. It reports this data to Zipkin as spans.

Zipkin is based on Dapper. Dapper (dutch) = Brave (english)... So, that's where the name comes from.

You can look at our example project for how to trace a simple web application.

What's included

Brave's dependency-free tracer library works against JRE6+. This is the underlying api that instrumentation use to time operations and add tags that describe them. This library also includes code that parses X-B3-TraceId headers.

Most users won't write tracing code directly. Rather, they reuse instrumentation others have written. Check our instrumentation and Zipkin's list before rolling your own. Common tracing libraries like JDBC, Servlet and Spring already exist. Instrumentation written here are tested and benchmarked.

If you are trying to trace legacy applications, you may be interested in Spring XML Configuration. This allows you to setup tracing without any custom code.

You may want to put trace IDs into your log files, or change thread local behavior. Look at our context libraries, for integration with tools such as SLF4J.

Artifacts

Library Releases

Releases are uploaded to Bintray and synchronized to Maven Central

Library Snapshots

Snapshots are uploaded to JFrog after commits to master.

About

Java distributed tracing implementation compatible with Zipkin back-end services.

License:Other


Languages

Language:Java 97.3%Language:Shell 1.0%Language:Thrift 1.0%Language:Batchfile 0.5%Language:Protocol Buffer 0.1%Language:XSLT 0.1%