2019-06-02 18:07:21 +02:00
|
|
|
### Folder contains basic images and tools for building and running Victoria Metrics in docker
|
2019-06-03 13:53:08 +02:00
|
|
|
|
2019-06-02 18:07:21 +02:00
|
|
|
#### Docker compose
|
|
|
|
|
2020-06-29 21:05:34 +02:00
|
|
|
To spin-up setup of VictoriaMetrics, vmagent and Grafana run following command:
|
2019-06-02 18:07:21 +02:00
|
|
|
|
2019-06-06 22:37:44 +02:00
|
|
|
`docker-compose up`
|
2019-06-02 18:07:21 +02:00
|
|
|
|
2019-06-06 22:37:44 +02:00
|
|
|
##### VictoriaMetrics
|
|
|
|
|
|
|
|
VictoriaMetrics opens following ports:
|
|
|
|
* `--graphiteListenAddr=:2003`
|
|
|
|
* `--opentsdbListenAddr=:4242`
|
|
|
|
* `--httpListenAddr=:8428`
|
|
|
|
|
2020-06-29 21:05:34 +02:00
|
|
|
##### vmagent
|
2019-06-06 22:37:44 +02:00
|
|
|
|
2020-06-29 21:05:34 +02:00
|
|
|
vmagent is used for scraping and pushing timeseries to
|
|
|
|
VictoriaMetrics instance. It accepts Prometheus-compatible
|
|
|
|
configuration `prometheus.yml` with listed targets for scraping.
|
2019-06-06 22:37:44 +02:00
|
|
|
|
|
|
|
##### 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
|