mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
4c854c3ae2
The update includes a security fix to the crypto/tls package, as well as bug fixes to the assembler and the compiler. See the list of issues addressed in Go1.20.7 here: https://github.com/golang/go/issues?q=milestone%3AGo1.20.7+label%3ACherryPickApproved Signed-off-by: hagen1778 <roman@victoriametrics.com> |
||
---|---|---|
.. | ||
Dockerfile | ||
Makefile | ||
README.md | ||
victoriametrics-wrapper |
Snap integration
snap link: https://snapcraft.io/victoriametrics
develop
Install snapcraft or docker
build snap package with command
make build-snap
It produces snap package with current git version - victoriametrics_v1.46.0+git1.1bebd021a-dirty_all.snap
.
You can install it with command: snap install victoriametrics_v1.46.0+git1.1bebd021a-dirty_all.snap --dangerous
usage
installation and configuration:
# install
snap install victoriametrics
# logs
snap logs victoriametrics
# restart
snap restart victoriametrics
Configuration management:
Prometheus scrape config can be edited with your favorite editor, its located at
vi /var/snap/victoriametrics/current/etc/victoriametrics-scrape-config.yaml
after changes, you can trigger config reread with curl localhost:8428/-/reload
.
Configuration tuning is possible with editing extra_flags:
echo 'FLAGS="-selfScrapeInterval=10s -search.logSlowQueryDuration=20s"' > /var/snap/victoriametrics/current/extra_flags
snap restart victoriametrics
Data folder located at /var/snap/victoriametrics/current/var/lib/victoriametrics/