Docker Compose

The purpose of this deployment is to achieve redundancy, high-availability via clustering.

This deployment example includes:

The leader election and target distribution is done with the help of a Consul server

gnmic will also register its Prometheus output service in Consul so that Prometheus can discover which Prometheus servers are available to be scraped

Deployment files:

Download the files, update the gnmic config files with the desired subscriptions and targets.

Deploy it with:

sudo docker-compose up -d

Check the Prometheus Output documentation page for more configuration options.