openzipkin/brave-example là dự án mã nguồn mở trên GitHub với 223 sao, viết chủ yếu bằng Java. A collection of examples how to use brave instrumentation in various frameworks and libraries.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
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
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/openzipkin/brave-example là nguồn chính thức.
openzipkin/brave-example có những chủ đề gì?
GitHub topics của openzipkin/brave-example: "brave", "distributed-tracing", "openzipkin", "zipkin". TopGit xếp repo vào nhóm mã nguồn mở.
openzipkin/brave-example có phải mã nguồn mở không?
Có — openzipkin/brave-example phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/openzipkin/brave-example.
openzipkin/brave-example có trang demo không?
Dự án có trang chủ ở https://gitter.im/openzipkin/zipkin. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
openzipkin/brave-example còn đang phát triển không?
Commit gần nhất trên openzipkin/brave-example là 8 tháng trước (theo timestamp GitHub). Repo có 131 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
openzipkin/brave-example dùng license gì?
openzipkin/brave-example phát hành theo license Apache-2.0. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
Đọc đầy đủ README ở tab phía trên.
brave-example có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về brave-example.