anthonyikeda / docker-zipkin

Docker images for OpenZipkin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-zipkin

Build Status zipkin-base zipkin-cassandra zipkin-collector zipkin-query zipkin-web

Dockerfiles for starting a Zipkin instance backed by Cassandra. Automatically built images are available on Quay.io under the OpenZipkin organization, and are mirrored to Docker Hub.

Running

Use docker-compose by doing docker-compose up.

See the ui at (docker ip):8080

In the ui - click zipkin-query, then click "Find Traces"

Notes

Docker-Zipkin starts each of the services in their own containers: zipkin-cassandra, zipkin-collector, zipkin-query, and zipkin-web, and only link required dependencies together.

The started Zipkin instance will be backed by a single-node Cassandra.

All images share a base image, zipkin-base, which is built on the Alpine-based image [delitescere/java:8] (https://github.com/delitescere/docker-zulu), which is much smaller than the previously used debian:sid-based image.

zipkin-collector, zipkin-query, and zipkin-web honor the environment variable JAVA_OPTS, which can be used to set heap size, trust store location or other JVM system properties.

Connecting to Span Storage

zipkin-collector and zipkin-query store and retrieve spans from Cassandra, using its native protocol. Specify a list of one or more Cassandra nodes listening on port 9042, via the comma-separated environment variable CASSANDRA_CONTACT_POINTS.

ex.

docker run -d -p 9410:9410 -p 9900:9900 --name="zipkin-collector" -e "CASSANDRA_CONTACT_POINTS=node1,node2,node3" "openzipkin/zipkin-collector:latest"

About

Docker images for OpenZipkin

License:Apache License 2.0


Languages

Language:Shell 71.0%Language:Java 29.0%