This repository contains the Docker build definition and release process for 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 Docker Hub as openzipkin/zipkin-dependencies.
To process all spans since midnight UTC, run the default entrypoint of this image pointed at your storage backend.
# Note: this is mirrored as ghcr.io/openzipkin/zipkin-slim
docker run --env STORAGE_TYPE=cassandra --env CASSANDRA_CONTACT_POINTS=host1,host2 openzipkin/zipkin-dependencies
To process spans since midnight every hour, and all spans each day, change the entrypoint to cron.
# Note: this is mirrored as ghcr.io/openzipkin/zipkin-slim
$ docker run ... --entrypoint /usr/sbin/crond openzipkin/zipkin-dependencies -f
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.
To build a zipkin-dependencies Docker image from source, in the top level of the repository, run:
$ build-bin/docker/docker_build openzipkin/zipkin-dependencies:test
To build from a published version, run this instead:
$ build-bin/docker/docker_build openzipkin/zipkin-dependencies:test 2.5.1