openzipkin-attic / docker-zipkin-dependencies

Docker build for zipkin-dependencies.
Apache License 2.0
22 stars 4 forks source link
openzipkin

Archived

This repository is archived as it has been folded into https://github.com/openzipkin/zipkin-dependencies/tree/master/docker

docker-zipkin-dependencies

This repository contains the Docker build definition and release process for openzipkin/zipkin-dependencies.

The zipkin dependencies job pre-aggregates data such that http://your_host:9411/dependency shows links between services.

Automatically built images are available on Quay.io as quay.io/openzipkin/zipkin-dependencies, and are mirrored to Docker Hub as openzipkin/zipkin-dependencies.

Running

On-demand

To process all spans since midnight UTC, run the default entrypoint of this image pointed at your storage backend.

$ docker run --env STORAGE_TYPE=cassandra --env CASSANDRA_CONTACT_POINTS=host1,host2 openzipkin/zipkin-dependencies

Cron

To process spans since midnight every hour, and all spans each day, change the entrypoint to cron.

$ docker run ... openzipkin/zipkin-dependencies sh -c 'crond -f'

Configuration

Configuration is via environment variables, defined by zipkin-dependencies.

In docker, the following can also be set:

* `JAVA_OPTS`: Use to set java arguments, such as heap size or trust store location.