NOTE
4.1 Zipkin
Zipkin is an open-source distributed tracing system from Twitter. These notes cover its architecture, installation, and client integration, beginning with components such as the collector.
This is a historical learning note and may contain outdated or incomplete understanding.
1. What Is Zipkin
- A distributed tracing system open-sourced by Twitter.
2. Zipkin Architecture

- Collector: the collector component processes tracing information sent from external systems and converts it into the Span format used internally by Zipkin, supporting subsequent storage, analysis, display, and other functions.
- Storage: the storage component processes tracing information received by the collector. By default the information is stored in memory; the storage strategy can be changed to use other storage components, with support for MySQL, Elasticsearch, and so on.
- Web UI: the UI component is an application built on top of the API component. It provides web pages used to display call chains and system dependencies in Zipkin.
- RESTful API: the API component provides endpoints that the web interface uses to query stored data.
3. Using Zipkin
3.1. Install zipkin-server
3.1.1. In-Memory Version
- Download the jar package.
curl -sSL https://zipkin.io/quickstart.sh | bash -s
java -jar zipkin.jar
- Open a browser and visit http://127.0.0.1:9411/
3.2. zipkin-client
4. References
Drag to pan, scroll to zoom, and click a node to expand or collapse it. Large maps start with deeper levels collapsed; click nodes to expand them.
Discussion
Sign in with GitHub to comment. Discussions are stored as GitHub Issues.View on GitHub