mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: simplify instructions for spinning up docker env
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
e29fe0933b
commit
d71218d6ce
1 changed files with 12 additions and 14 deletions
|
@ -7,24 +7,18 @@ and [Grafana](https://grafana.com/).
|
|||
For starting the docker-compose environment ensure you have docker installed and running and access to the Internet.
|
||||
**All commands should be executed from the root directory of [the repo](https://github.com/VictoriaMetrics/VictoriaMetrics).**
|
||||
|
||||
To spin-up environment for single server VictoriaMetrics run the following command:
|
||||
To spin-up environment with VictoriaMetrics components run one of the following commands:
|
||||
```
|
||||
make docker-single-up
|
||||
make docker-single-up # start single server VictoriaMetrics
|
||||
or
|
||||
make docker-cluster-up # start cluster VictoriaMetrics
|
||||
```
|
||||
|
||||
To shut down the docker-compose environment for single server run the following command:
|
||||
To shut down the docker-compose environment run one the following commands:
|
||||
```
|
||||
make docker-single-down
|
||||
```
|
||||
|
||||
For cluster version the command will be the following:
|
||||
```
|
||||
make docker-cluster-up
|
||||
```
|
||||
|
||||
To shut down the docker compose environment for cluster version run the following command:
|
||||
```
|
||||
make docker-cluster-down
|
||||
make docker-single-down # shutdown single server VictoriaMetrics
|
||||
or
|
||||
make docker-cluster-down # shutdown cluster VictoriaMetrics
|
||||
```
|
||||
|
||||
Optionally, environment with [VictoriaMetrics Grafana datasource](https://github.com/VictoriaMetrics/grafana-datasource)
|
||||
|
@ -133,6 +127,10 @@ Grafana is provisioned by default with following entities:
|
|||
|
||||
Remember to pick `VictoriaMetrics - cluster` datasource when viewing `VictoriaMetrics - cluster` dashboard.
|
||||
|
||||
If environment was started via `docker-single-vm-datasource-up` or `docker-cluster-vm-datasource-up`, then
|
||||
Grafana will have [VictoriaMetrics Grafana datasource](https://github.com/VictoriaMetrics/grafana-datasource)
|
||||
installed by default.
|
||||
|
||||
## Alerts
|
||||
|
||||
See below a list of recommended alerting rules for various VictoriaMetrics components for running in production.
|
||||
|
|
Loading…
Reference in a new issue