VictoriaMetrics/deployment/docker
Dmytro Kozlov e7119de7f7
vmagent: expose metric vmagent_remotewrite_queues (#2871) (#3087)
* vmagent: expose metric `vmagent_remotewrite_queues` (#2871)

The new metric `vmagent_remotewrite_queues` exports a static value of
number of configured remote write queus. This metric is useful to
calculate total saturation per each configured URL with given number
of queues. See corresponding changes to vmagent alerts and dashboard.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* Update dashboards/vmagent.json

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Roman Khavronenko <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-09-08 20:53:51 +03:00
..
base deployment/docker: embed tzdata into prod Go app instead of installing it into base docker image 2021-02-12 04:54:27 +02:00
builder deployment/docker: upgrade Go builder for production builds from v1.17.7 to v1.18.0 2022-03-16 14:07:43 +02:00
provisioning deployment/docker: replace Prometheus with vmagent (#589) 2020-06-29 22:05:34 +03:00
alertmanager.yml docker-compose: add blackhole receiver for alertmanager (#999) 2021-01-07 23:33:53 +02:00
alerts.yml vmagent: expose metric vmagent_remotewrite_queues (#2871) (#3087) 2022-09-08 20:53:51 +03:00
docker-compose.yml deployment/docker/docker-compose.yml: update Grafana from v8.5.1 to v9.0.2 (#2858) 2022-07-12 20:03:02 +03:00
Makefile deployment/docker/Makefile: bump version of Alpine linux to latest 3.16.2 to fix CVE-2022-37434 (#3035) 2022-08-30 11:27:10 +03:00
prometheus.yml Vmalert metrics update (#1580) 2021-08-31 12:28:02 +03:00
README.md A good change for MD files (#2353) 2022-03-22 13:40:55 +02:00

Docker compose environment for VictoriaMetrics

To spin-up VictoriaMetrics, vmagent, vmalert, Alertmanager and Grafana run the following command:

docker-compose up

For clustered version check docker compose in cluster branch.

VictoriaMetrics

VictoriaMetrics will be accessible on the 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.

Web interface link.

vmalert

vmalert evaluates alerting rules (alerts.yml) to track VictoriaMetrics health state. It is connected with AlertManager for firing alerts, and with VictoriaMetrics for executing queries and storing alert's state.

Web interface link.

alertmanager

AlertManager accepts notifications from vmalert and fires alerts. All notifications are blackholed according to alertmanager.yml config.

Web interface link.

Grafana

To access service open following link.

Default credential:

  • login - admin
  • password - admin

Grafana is provisioned by default with following entities:

  • VictoriaMetrics datasource
  • Prometheus datasource
  • VictoriaMetrics overview dashboard