Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jtolio/go-zipkin-sample
A sample Go program that uses Zipkin
https://github.com/jtolio/go-zipkin-sample
Last synced: 3 months ago
JSON representation
A sample Go program that uses Zipkin
- Host: GitHub
- URL: https://github.com/jtolio/go-zipkin-sample
- Owner: jtolio
- License: apache-2.0
- Created: 2014-10-20T05:44:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-17T19:49:14.000Z (almost 10 years ago)
- Last Synced: 2024-06-19T04:28:56.634Z (7 months ago)
- Language: Go
- Size: 225 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
go-zipkin-sample
===========This project is a toy example of how to use the
github.com/spacemonkeygo/monitor/trace Zipkin client library.There's a random number service that just returns random numbers, and there's
a random message service that returns a random word from the list
"hello, world", using the random number service. Both services send Zipkin
spans to the collector service over UDP, which sends the spans to Zipkin
directly.First, build the following binaries:
* `github.com/jtolds/go-zipkin-sample/bin/collector`
* `github.com/jtolds/go-zipkin-sample/bin/rand`
* `github.com/jtolds/go-zipkin-sample/bin/ui`Then, after starting Zipkin locally (https://github.com/itszero/docker-zipkin
is helpful), run all three services (`./rand & ./ui & ./collector &`)When you make a request to `http://localhost:8079`, a full Zipkin trace will
be sent to your Zipkin collector.### Screenshot of Zipkin trace
![Screenshot](/screenshot.png)