mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
add envvars details (#337)
This commit is contained in:
parent
f2a6948a14
commit
fed37ecfcb
1 changed files with 7 additions and 0 deletions
|
@ -115,6 +115,13 @@ Ports may be altered by setting `-httpListenAddr` on the corresponding nodes.
|
||||||
|
|
||||||
It is recommended setting up [monitoring](#monitoring) for the cluster.
|
It is recommended setting up [monitoring](#monitoring) for the cluster.
|
||||||
|
|
||||||
|
#### Environment variables
|
||||||
|
|
||||||
|
Each flag values can be set thru environment variables by following these rules:
|
||||||
|
|
||||||
|
- The `-envflag.enable` flag must be set
|
||||||
|
- Each `.` in flag names must be substituted by `_` (for example `-insert.maxQueueDuration <duration>` will translate to `insert_maxQueueDuration=<duration>`)
|
||||||
|
- For repeating flags, an alternative syntax can be used by joining the different values into one using `,` as separator (for example `-storageNode <nodeA> -storageNode <nodeB>` will translate to `storageNode=<nodeA>,<nodeB>`)
|
||||||
|
|
||||||
### Monitoring
|
### Monitoring
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue