VictoriaMetrics¶
In this article
Information
VictoriaMetrics is a high-performance database and monitoring system for storing and analyzing metrics with open-source code. It serves as an effective alternative to Prometheus, providing high performance, compact storage, and horizontal scalability.
VictoriaMetrics. Key Features¶
- High Performance: Processes and stores millions of metrics per second, supporting both single-user and multi-user scenarios using a cluster.
- Low Resource Consumption: Minimal CPU and memory requirements.
- Horizontal Scalability: Supports adding new nodes to the cluster, increasing performance and allowing efficient handling of growing data volumes.
- Prometheus Ecosystem Compatibility: Supports PromQL, the Prometheus API, and integration with tools like Grafana, simplifying migration and use in a familiar environment.
- Fast Metric Search and Aggregation: Minimal latency for query responses.
Deployment Features¶
ID | Compatible OS | VM | BM | VGPU | GPU | Min CPU (Cores) | Min RAM (Gb) | Min HDD/SDD (Gb) | Active |
---|---|---|---|---|---|---|---|---|---|
224 | Ubuntu 22.04, Ubuntu 24.04, Debian 11, Debian 12 | + | + | + | + | - | - | - | Yes |
- Deployment via Docker Compose;
- Built-in SSL support (Nginx + Certbot);
- Compatibility with modern containerization infrastructures;
- Primary project directory:
/root/victoria-metrics-data
; - Installed software:
- Docker CE;
- Docker Compose;
- VictoriaMetrics.
Getting Started After Deploying VictoriaMetrics¶
After paying for the order, a notification about the server's readiness will be sent to the email address specified during registration. It will include the VPS IP address, as well as login and password for connection. Our company's clients manage equipment through the server management panel and API — Invapi. Authentication data, which can be found either in the Information >> Tags tab of the server management panel or in the email sent upon server readiness:
- Link to access the VictoriaMetrics web interface: in the tag webpanel;
- Login:
root
; - Password: Sent in the email upon server readiness after deploying the software.
When you click the link to access the VictoriaMetrics control panel, a page with information about Single-node VictoriaMetrics opens. This page is the main menu with a list of useful endpoints:
- vmui - web interface for monitoring and visualizing metrics;
- targets - detailed information panel about detected and active targets (endpoints) for monitoring, displaying current status, labels, and connection parameters of each metric source;
- service-discovery - automatic discovery and dynamic configuration mechanism of monitoring targets with the possibility of relabeling and filtering detected endpoints using flexible labeling rules;
- metric-relabel-debug - specialized tool for diagnosing and detailed analysis of the metric relabeling process;
- expand-with-exprs - detailed guide on using advanced expressions, including examples, recommendations, and methods for effectively querying, filtering, aggregating, and mathematically processing time series;
- api/v1/targets - programmatic interface for retrieving complete information about monitoring targets in JSON format, including configuration details, status, and metadata of each detected metric source;
- config - section displaying the full contents of the current VictoriaMetrics configuration file with the ability to view all setting parameters, including global options, discovery and filtering rules;
- metrics - a complete list of all available internal VictoriaMetrics metrics, allowing you to assess the performance, load, and internal state of the monitoring system;
- flags - reference guide to all command-line flags with detailed descriptions of their purpose, possible values, and impact on configuration and behavior of VictoriaMetrics;
- api/v1/status/tsdb - database status page, displaying key performance metrics, resource usage, index size, and overall efficiency of the data storage system;
- api/v1/status/top_queries - analytical panel with information about the most resource-intensive and frequent queries, allowing you to identify and optimize slow or system-loading requests;
- api/v1/status/active_queries - monitor of currently running queries with display of their status, duration, used resources, and ability to manage active requests;
- reload - function for dynamic reloading of configuration without stopping the service, allowing you to apply changes in VictoriaMetrics settings on the fly, minimizing downtime of the monitoring system.
These elements provide all the necessary information and functionality for configuring and monitoring the operation of VictoriaMetrics.
Note
Detailed information on basic VictoriaMetrics settings can be found in the developer documentation.
Ordering VictoriaMetrics Using API¶
To install this software using the API, follow these instructions.