Aliaksandr Valialkin
|
147c35ebd4
|
all: allow using KB , MB , GB , KiB , MiB and GiB suffixes in command-line flag values related to byte sizes or byte rates
|
2020-08-16 17:05:52 +03:00 |
|
Aliaksandr Valialkin
|
ef7e2af8f5
|
app: respect CPU limits set via cgroups
Update GOMAXPROCS to limits set via cgroups. This should reduce CPU trashing and reduce memory usage
for cases when VictoriaMetrics components run in containers with CPU limits.
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/685
|
2020-08-11 22:59:19 +03:00 |
|
Aliaksandr Valialkin
|
d5dddb0953
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:05:11 +03:00 |
|
Aliaksandr Valialkin
|
93c87d28f6
|
all: print --help output to stdout instead of stderr
This is easier to grep and pipe
|
2020-05-16 11:59:33 +03:00 |
|
Jason Gardner
|
66af7e40f3
|
app/vmbackup: added ability to create and delete snapshots during backup (#428)
* app/vmbackup: added ability to create and delete snapshots during backup
Resolves: https://github.com/VictoriaMetrics/VictoriaMetrics/issues/422
* Add snapshot create and delete url flags
* Fixed errcheck warnings in build
|
2020-04-24 22:35:03 +03:00 |
|
Aliaksandr Valialkin
|
8466ab0034
|
all: allow setting flags via environment vars
Now flags can be set via environment vars with the same names as flags.
Command-line flags override flags set via env vars.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/311
|
2020-02-10 13:29:13 +02:00 |
|
Aliaksandr Valialkin
|
443189fb0a
|
app/{vmbackup,vmrestore}: add -maxBytesPerSecond command-line flag for limiting the used network bandwidth during backup / restore
|
2019-11-19 20:31:52 +02:00 |
|
Aliaksandr Valialkin
|
1e46961d68
|
app/{vmbackup,vmrestore}: add vmbackup and vmrestore tools for creating backups on s3 or gcs from instant snapshots
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/203
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/38
|
2019-11-08 21:21:07 +02:00 |
|