Aliaksandr Valialkin
|
9d42546a27
|
docs: consistently use links to https://victoriametrics.github.io for documentation references
|
2020-12-11 21:08:18 +02:00 |
|
Aliaksandr Valialkin
|
4146fc4668
|
all: properly handle CPU limits set on the host system/container
This can reduce memory usage on systems with enabled CPU limits.
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/946
|
2020-12-08 21:07:29 +02:00 |
|
Aliaksandr Valialkin
|
9d787f9edd
|
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:47:37 +02:00 |
|
Aliaksandr Valialkin
|
7e8dcf9ddc
|
app/vmbackup: cosmetic fixes
|
2020-11-23 17:10:04 +02:00 |
|
kreedom
|
a51a7b2a20
|
vmbackup fix panic when no origin fs given (#859)
* use fsnil when no origin fs
|
2020-10-28 20:09:10 +02:00 |
|
Aliaksandr Valialkin
|
b449607181
|
lib/backup: add MustStop() method for all remote filesystems
|
2020-10-09 15:32:19 +03:00 |
|
Aliaksandr Valialkin
|
cf5f2874cd
|
lib/backup/fslocal: add FS.MustStop() method for stopping bandwidth limiter
|
2020-10-09 15:12:03 +03:00 |
|
Aliaksandr Valialkin
|
d7c04db1fc
|
docs: sync docs for vmalert, vmauth, vmbackup and vmrestore
|
2020-09-09 21:10:34 +03:00 |
|
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 |
|