mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-05 01:01:09 +01:00
eba4e92994
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.
34 lines
850 B
Markdown
34 lines
850 B
Markdown
### 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](http://localhost:3000).
|
|
|
|
Default creds:
|
|
* login - `admin`
|
|
* password - `admin`
|
|
|
|
Grafana is provisioned by default with following entities:
|
|
* VictoriaMetrics datasource
|
|
* Prometheus datasource
|
|
* VictoriaMetrics overview dashboard
|