VictoriaMetrics can be used as long-term storage for Prometheus or for vmagent. See [these docs](#prometheus-setup) for details.
VictoriaMetrics implements MetricsQL, https://github.com/VictoriaMetrics/VictoriaMetrics/wiki/MetricsQL query language, which is inspired by PromQL.
Supports global query view. Multiple Prometheus instances may write data into VictoriaMetrics. Later this data may be used in a single query.
High performance and good scalability for both inserts and selects.
High data compression, so up to 70x more data points may be crammed into limited storage comparing to TimescaleDB.
Optimized for storage with high-latency IO and low IOPS (HDD and network storage in AWS, Google Cloud, Microsoft Azure, etc).
A single-node VictoriaMetrics may substitute moderately sized clusters built with competing solutions such as Thanos, M3DB, Cortex, InfluxDB or TimescaleDB.
Easy operation:
-storageDataPath
flag.to S3 or GCS with [vmbackup] / [vmrestore].
Storage is protected from corruption on unclean shutdown (i.e. OOM, hardware reset or kill -9
) thanks to the storage architecture.
Supports metrics' scraping, ingestion and backfilling via the following protocols:
-graphiteListenAddr
is set.-opentsdbListenAddr
is set.-opentsdbHTTPListenAddr
is set.Supports metrics' relabeling. See [these docs](#relabeling) for details.
Ideally works with big amounts of time series data from Kubernetes, IoT sensors, connected cars, industrial telemetry, financial data and various Enterprise workloads.
Has open source cluster version (https://github.com/VictoriaMetrics/VictoriaMetrics/tree/cluster).
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:8248/-/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/
.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
You are about to open
Do you wish to proceed?
Snaps are applications packaged with all their dependencies to run on all popular Linux distributions from a single build. They update automatically and roll back gracefully.
Snaps are discoverable and installable from the Snap Store, an app store with an audience of millions.
Snap is available for CentOS 7.6+, and Red Hat Enterprise Linux 7.6+, from the Extra Packages for Enterprise Linux (EPEL) repository. The EPEL repository can be added to your system with the following command:
sudo yum install epel-release
Snap can now be installed as follows:
sudo yum install snapd
Once installed, the systemd unit that manages the main snap communication socket needs to be enabled:
sudo systemctl enable --now snapd.socket
To enable classic snap support, enter the following to create a symbolic link between /var/lib/snapd/snap
and /snap
:
sudo ln -s /var/lib/snapd/snap /snap
Either log out and back in again, or restart your system, to ensure snap’s paths are updated correctly.
To install victoriametrics, simply use the following command:
sudo snap install victoriametrics
Browse and find snaps from the convenience of your desktop using the snap store snap.
Interested to find out more about snaps? Want to publish your own application? Visit snapcraft.io now.