Aliaksandr Valialkin
|
c0c9f30870
|
lib/pushmetrics: properly handle errors when initializing pushmetrics
|
2022-07-22 13:38:25 +03:00 |
|
Aliaksandr Valialkin
|
fe68bb3ba7
|
all: follow-up after 46f803fa7a
Add -pushmetrics.* command-line flags to all the VictoriaMetrics apps
|
2022-07-21 20:18:25 +03:00 |
|
Dmytro Kozlov
|
8b5a819266
|
vmbackup: Prevent save backups to the same folder where TSDB data is (#2547)
* {vmbackup, vmbackup/snapshot}: validate snapshot name
* vmbackup/snapshot: added another checks
* backup/actions: added check that we ignore backup_complete.ignore file
* vmbackup: moved snapshot to lib directory
* lib/snapshot: added functions description
* lib/snapshot: fixed typo
* vmbackup: code cleanup
* wip
* vmbackup: Prevent save backups to the same folder where TSDB data is
* Apply suggestions from code review
* wip
* wip
* wip
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
|
2022-05-06 18:04:58 +03:00 |
|
Dmytro Kozlov
|
4f40dc9829
|
{vmbackup, vmbackup/snapshot}: fixed problem with snapshot backup in another snapshot folder (#2535)
* {vmbackup, vmbackup/snapshot}: validate snapshot name
* vmbackup/snapshot: added another checks
* backup/actions: added check that we ignore backup_complete.ignore file
* vmbackup: moved snapshot to lib directory
* lib/snapshot: added functions description
* lib/snapshot: fixed typo
* vmbackup: code cleanup
* wip
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
|
2022-05-04 22:12:48 +03:00 |
|
Aliaksandr Valialkin
|
38f5bc7451
|
lib/httpserver: add missing 127.0.0.1 hostname to the logged address for http and pprof server if the address starts with ':'
This allows copy-pasting the url to http server from logs.
|
2021-12-08 16:15:12 +02:00 |
|
Aliaksandr Valialkin
|
2b7dee15dd
|
app/{vmbackup,vmrestore}: export internal metrics at /metrics http handler
|
2021-12-02 11:56:34 +02:00 |
|
Aliaksandr Valialkin
|
8dcf814c48
|
app/{vmbackup,vmrestore}: switch from gcs://... to gs://... urls for backups to GCS
The `gs://` urls are commonly used, so prefer them instead of `gcs://` urls,
while leaving support for `gcs://` urls for backwards compatibility.
|
2021-09-29 12:12:37 +03:00 |
|
Neo He
|
c5ab00ebee
|
app/{vmbackup,vmrestore},docs/vmrestore.md: typo fix: vbackup -> vmbackup (#1305)
|
2021-05-18 16:38:15 +03:00 |
|
Aliaksandr Valialkin
|
25ca108642
|
docs/vmbackup.md: typo fix: snaphosts -> snapshots
Thanks to @jelmd - see 1ab27582a3 (r50884395)
|
2021-05-18 01:14:01 +03:00 |
|
Aliaksandr Valialkin
|
e8478e1e97
|
app/vmbackup: make sure that -snapshotName isnt set if -snapshot.createURL is set
|
2021-05-07 08:44:44 +03:00 |
|
Aliaksandr Valialkin
|
aaee80d158
|
app/vmbackup: typo fix: snaphsot -> snapshot
Follow-up for 9de0fa3649
|
2021-04-22 11:18:13 +03:00 |
|
Aliaksandr Valialkin
|
6dc5d3b357
|
all: rename https://victoriametrics.github.io to https://docs.victoriametrics.com
|
2021-04-20 20:20:01 +03:00 |
|
Aliaksandr Valialkin
|
fc82c22e50
|
docs: consistently use links to https://victoriametrics.github.io for documentation references
|
2020-12-11 21:09:17 +02:00 |
|
Aliaksandr Valialkin
|
1a237c6903
|
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:03 +02:00 |
|
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 |
|