openzipkin/brave-example — 223★ on GitHub (Java). A collection of examples how to use brave instrumentation in various frameworks and libraries.
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
Basic example showing distributed tracing across Java applications
This is an example app where two Java services collaborate on a request.
Notably, these services send data to Zipkin, a
distributed tracing system. Zipkin allows you to see how long the operation
took, as well how much time was spent in each service.
Here's an example of what it looks like:
Implementation Overview
This example has two services: frontend and backend. Both are instrumented
to send tracing data to a third service Zipkin. Brave
performs this function.
Running the example
To set up the demo, you need to start Frontend, Backend and Zipkin. You can do
this using Java commands or Docker.
Once the services start, open http://localhost:8081/
This calls the backend (http://127.0.0.1:9000/api) and shows its result: a formatted date.
Afterward, you can view traces that went through the backend via http://127.0.0.1:9411/zipkin?serviceName=backend
This is a locally run zipkin service which keeps traces in memory
Tips
There are some interesting details that apply to all examples:
If you pass the header user_name Brave will automatically propagate it to the backend!
curl -s localhost:8081 -H'user_name: JC'
The below Logback pattern adds trace and span identifiers into log output
How active is development on openzipkin/brave-example?
The most recent commit recorded on openzipkin/brave-example was 8 months ago, based on the GitHub push timestamp. The repository has 131 forks — one of the better signals of community interest.
Is openzipkin/brave-example open source?
Yes — openzipkin/brave-example ships under the Apache-2.0 license, which makes its source code freely readable (and, depending on license terms, forkable and reusable). Source: github.com/openzipkin/brave-example.
What license does openzipkin/brave-example use?
openzipkin/brave-example is released under the Apache-2.0 license. Always verify the LICENSE file directly on GitHub for the authoritative terms — license strings can be edited out of sync with a project's actual stance.
What topics is openzipkin/brave-example associated with?
GitHub's repository topics for openzipkin/brave-example: "brave", "distributed-tracing", "openzipkin", "zipkin". TopGit's editorial category is open-source.
Where can I see openzipkin/brave-example in action?
The project maintains a homepage at https://gitter.im/openzipkin/zipkin. The README tab on this page also usually contains screenshots and a quickstart.
Where do I read more about openzipkin/brave-example?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/openzipkin/brave-example is the definitive source.
Read full README in the tab above.
Want a second opinion on brave-example?
Ask an AI that can read this page — one click and you get its take on brave-example.