Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add spigo instructions #6

Closed
codefromthecrypt opened this issue May 25, 2016 · 1 comment
Closed

Add spigo instructions #6

codefromthecrypt opened this issue May 25, 2016 · 1 comment

Comments

@codefromthecrypt
Copy link

codefromthecrypt commented May 25, 2016

zipkin has self-tracing, which can generate pretty interesting stuff based on what zipkin is doing. Another option is to use spigo, which can simulate larger architectures.

Here's something we might want to add to the readme or a wiki vs expecting people to harvest slides..

http://www.slideshare.net/adriancockcroft/microservices-application-tracing-standards-and-simulators-adrians-at-oscon

The following works after you've run docker-compose up. We could probably contribute to spigo to smooth or lessen some of the steps below.

# get spigo
$ git clone https://github.com/adrianco/spigo.git;cd spigo
# build spigo
$ sh build.sh
# run netflix for 2 seconds
$ ./spigo -a netflix -d 2 -c
# post json_metrics/netflix_flow.json zipkin
$ sh misc/zipkin.sh netflix

One way to reduce steps is to make some script to rebase the timestamps of json_metrics/netflix_flow.json during the curl (in misc/zipkin.sh). Ex if we rebase the stamps to today, then someone can just use the files that exist vs generating new ones (via spigo).

Another option is to make spigo report directly as opposed to writing a file first. ex adrianco/spigo#67

@codefromthecrypt
Copy link
Author

closed via openzipkin-attic/docker-zipkin#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant