Fast, cost-effective and scalable time series database for monitoring, and long-term storage for Prometheus
open coreApache-2.0self-hostablefreeMCP
VictoriaMetrics is a time series database and monitoring stack that works as long-term remote storage for Prometheus or as a drop-in replacement for Prometheus and Graphite in Grafana. It is a single small binary with no dependencies, or a cluster of vminsert, vmselect and vmstorage nodes, and it ingests Prometheus remote write and scrapes, InfluxDB line protocol, Graphite, OpenTSDB, Datadog and New Relic agents and OpenTelemetry (OTLP) metrics, queried with PromQL or its own MetricsQL. Single-node and cluster versions are Apache-2.0; the Enterprise edition adds downsampling, per-label retention, anomaly detection, mTLS and LTS releases, and VictoriaMetrics Cloud runs it managed on AWS. The company also makes VictoriaLogs and VictoriaTraces.
Ways to install
On your own server
On Kubernetes
Package managers
Problems it solves
- Prometheus runs out of memory as our number of active time series keeps growing
- keep years of metrics on cheap disks with good compression instead of weeks
- a single binary metrics database that can replace a whole Thanos or Cortex cluster for our size
- store metrics from Prometheus, InfluxDB agents and Graphite in one place and query them together
- our churn from short-lived Kubernetes pods creates millions of series and slows the TSDB down
- send OpenTelemetry metrics to a backend I can query with PromQL from Grafana
- migrate historical data from Prometheus, InfluxDB or Thanos into a new metrics store
- aggregate high-cardinality metrics before storing them, like a StatsD replacement
- cap the cardinality of what each team can write so one bad label doesn't explode storage
- a managed Prometheus-compatible metrics backend so we stop operating our own
- downsample old metrics and keep different retention per team or metric
- multi-tenant metrics storage for several teams or customers in one cluster
- lightweight agent to scrape targets and remote write to several destinations with buffering
- receive Datadog agent or DogStatsD metrics into a self-hosted database
Features
- long-term storage for Prometheus and a drop-in replacement for Prometheus and Graphite in Grafana
- single-node and cluster versions (vminsert, vmselect, vmstorage), both Apache-2.0
- PromQL and MetricsQL query languages
- ingests Prometheus remote write, Prometheus exposition format and scrapes exporters
- ingests InfluxDB line protocol, Graphite plaintext, OpenTSDB, JSON lines, CSV and native format
- ingests Datadog agent, DogStatsD and New Relic infrastructure agent data
- OpenTelemetry protocol (OTLP) metrics ingestion
- stream aggregation, usable as a StatsD alternative
- global query view across many Prometheus instances
- instant snapshots for backup and restore
View 6 more
- stores data on NFS-based storage such as Amazon EFS and Google Filestore
- metrics relabeling and cardinality limiter
- vmagent, vmalert, vmauth and vmctl companion tools
- VMUI web interface
- Enterprise: downsampling, multiple retentions, anomaly detection, backup automation, mTLS, Kafka and Google PubSub integration, FIPS 140-3 builds
- MCP server for querying VictoriaMetrics from AI agents
Limitations
- Doesn't host VictoriaMetrics Cloud outside AWS: deployments run on AWS in Frankfurt, Ireland, N. Virginia, Ohio and Singapore, other regions on request6
Ways to run it
VictoriaMetrics (open source)
free7
Not included
- downsampling
- multiple retentions per tenant, metric or label
- anomaly detection service
- backup automation
- mTLS between components
- Kafka and Google PubSub integration
- long-term support releases and support from the core team
You arrange
- servers or a Kubernetes cluster to run single-node or cluster components
- disks or NFS storage for data
- Grafana for dashboards
- vmalert for alerting and recording rules
- backups
- upgrades
VictoriaMetrics Enterprise
Only in this edition
- downsampling
- multiple retentions
- anomaly detection service
- backup automation
- advanced per-tenant stats and rate limiting
- mTLS for all components
- Kafka and Google PubSub integration
- multitenant vmalert
- FIPS 140-3 compatible builds
- LTS releases
- support from the core team
You arrange
- an enterprise contract for production use
- the same servers, storage and upgrades as the open source edition
VictoriaMetrics Cloud
from $200/month; storage $0.511/GB/month; $200 trial credits for 30 days6
Only in this edition
- fully managed deployments on AWS
- uptime SLA up to 99.95%
- AWS PrivateLink
- AWS Marketplace billing
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
Alternatives
The same job
These do what VictoriaMetrics does.
- Cortex Horizontally scalable, highly available, multi-tenant, long term storage solution for Prometheus and OpenTelemetry Metrics
- Amazon Managed Service for Prometheus Serverless, Prometheus-compatible monitoring service for container metrics
- Grafana Mimir Horizontally scalable, highly available, multi-tenant long-term storage for Prometheus
- InfluxDB Open source time series database for real-time events, analytics, and monitoring
- GreptimeDB The open-source observability database
- Thanos Open source, highly available Prometheus setup with long term storage capabilities
