VictoriaMetrics/deployment/docker
Roman Khavronenko eba4e92994
deployment/docker: replace Prometheus with vmagent (#589)
vmagent replaces Prometheus to perform scrapes and writes
into VictoriaMetrics installation. Prometheus datasource was
dropped, but its config was reused to feed vmagent.

Change also contains simplification in dashboard propagation
to Grafana container by removing excessive json manipulation
steps.
2020-06-29 22:05:34 +03:00
..
base deployment/docker: allow building docker images on top of any base image set via ROOT_IMAGE environment var 2020-04-20 01:16:57 +03:00
builder deployment/docker: allow building docker images on top of any base image set via ROOT_IMAGE environment var 2020-04-20 01:16:57 +03:00
provisioning deployment/docker: replace Prometheus with vmagent (#589) 2020-06-29 22:05:34 +03:00
docker-compose.yml deployment/docker: replace Prometheus with vmagent (#589) 2020-06-29 22:05:34 +03:00
Makefile deployment/docker: update Go builder from v1.14.3 to v1.14.4 2020-06-04 18:07:04 +03:00
prometheus.yml deployment/docker: replace Prometheus with vmagent (#589) 2020-06-29 22:05:34 +03:00
README.md deployment/docker: replace Prometheus with vmagent (#589) 2020-06-29 22:05:34 +03:00

Folder contains basic images and tools for building and running Victoria Metrics in docker

Docker compose

To spin-up setup of VictoriaMetrics, vmagent and Grafana run following command:

docker-compose up

VictoriaMetrics

VictoriaMetrics opens following ports:

  • --graphiteListenAddr=:2003
  • --opentsdbListenAddr=:4242
  • --httpListenAddr=:8428
vmagent

vmagent is used for scraping and pushing timeseries to VictoriaMetrics instance. It accepts Prometheus-compatible configuration prometheus.yml with listed targets for scraping.

Grafana

To access service open following link.

Default creds:

  • login - admin
  • password - admin

Grafana is provisioned by default with following entities:

  • VictoriaMetrics datasource
  • Prometheus datasource
  • VictoriaMetrics overview dashboard