Aliaksandr Valialkin
|
bdac2171f1
|
all: do not print usage info for all the flags when incorrect command-line flag is passed
This should improve usability for VictoriaMetrics apps that have big number of command-line flags,
i.e. all the apps.
|
2020-12-03 21:46:19 +02:00 |
|
Aliaksandr Valialkin
|
2cc288c023
|
app/vmbackup: cosmetic fixes
|
2020-11-23 17:10:13 +02:00 |
|
kreedom
|
40172c0721
|
vmbackup fix panic when no origin fs given (#859)
* use fsnil when no origin fs
|
2020-11-01 23:17:01 +02:00 |
|
Aliaksandr Valialkin
|
de1c07b937
|
lib/backup: add MustStop() method for all remote filesystems
|
2020-10-09 15:32:13 +03:00 |
|
Aliaksandr Valialkin
|
bf6d523bef
|
lib/backup/fslocal: add FS.MustStop() method for stopping bandwidth limiter
|
2020-10-09 15:11:55 +03:00 |
|
Aliaksandr Valialkin
|
475698d2ad
|
docs: sync docs for vmalert, vmauth, vmbackup and vmrestore
|
2020-09-09 21:10:48 +03:00 |
|
Aliaksandr Valialkin
|
6aab2f4989
|
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:08:28 +03:00 |
|
Aliaksandr Valialkin
|
6721e47ae9
|
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 23:01:03 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
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:33:46 +03:00 |
|
Aliaksandr Valialkin
|
2784015a4d
|
all: print --help output to stdout instead of stderr
This is easier to grep and pipe
|
2020-05-16 12:03:06 +03:00 |
|
Jason Gardner
|
7a6b2839b4
|
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:50 +03:00 |
|
Aliaksandr Valialkin
|
1010a57882
|
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:31:21 +02:00 |
|
Aliaksandr Valialkin
|
216a260ced
|
app/{vmbackup,vmrestore}: add -maxBytesPerSecond command-line flag for limiting the used network bandwidth during backup / restore
|
2019-11-19 20:32:43 +02:00 |
|
Aliaksandr Valialkin
|
7d7fbf890e
|
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-07 21:26:43 +02:00 |
|