Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 550 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 550 Bytes

Swagger

The examples in this directory assume that the Zipkin API client has been generated using go-swagger into the client directory.

# once you've installed swagger, build the client
$ wget https://raw.githubusercontent.com/openzipkin/zipkin-api/master/zipkin2-api.yaml
$ swagger generate client -f zipkin2-api.yaml -A zipkin
# now, you can run one of the examples, such as POSTing a test span
$ DEBUG=1 go run post_sample_trace.go