# VictoriaMetrics

VictoriaMetrics is a fast, cost-effective, and scalable open-source time-series database that stores long-term monitoring metrics, accepts Prometheus remote write, and provides a Prometheus-compatible data source for. It is open source and self-hosted, installable on Docker Hub, Unraid and Proxmox.

Canonical page: https://ourlocalhost.com/app/354/victoriametrics

## Description

VictoriaMetrics is a fast, cost-effective, and scalable open-source time-series database that stores long-term monitoring metrics, accepts Prometheus remote write, and provides a Prometheus-compatible data source for Grafana in homelab and production environments.

## Platform availability

Available on 2 of 9 platforms: Unraid, Proxmox.

## Health score

51/100 (Fair), based on 2 of 4 factors.
- Easy to install: 30 (2 install platforms, Docker image)
- Light to run: 80 (1 GB minimum RAM, runs on ARM)

## Links

- Official website: https://victoriametrics.com
- Documentation: https://docs.victoriametrics.com/victoriametrics/quick-start/
- GitHub: https://github.com/VictoriaMetrics/VictoriaMetrics
- Docker Hub: https://hub.docker.com/r/victoriametrics/victoria-metrics
- Unraid: https://ca.unraid.net/apps/victoria-metrics-01flzjy0xk4vw2?q=victoria-metrics
- Proxmox: https://community-scripts.github.io/ProxmoxVE/scripts?id=victoriametrics

## Common questions

### How can I limit memory usage for VictoriaMetrics components?

VictoriaMetrics components provide command-line flags to control the size of internal buffers and caches. Use -memory.allowedPercent or -memory.allowedBytes, and run the component with -help to see the flag descriptions.

### Can VictoriaMetrics be used for Home Assistant long-term storage and as a Grafana data source?

A Home Assistant community thread reports using VictoriaMetrics as long-term storage and a Grafana data source as stable. It says the setup was preferred over an older InfluxDB and Grafana workaround.

### Can I drop unneeded labels or aggregate metrics before they are stored?

Yes. The docs describe dropping unneeded labels from scrape targets or from metrics before they are stored. They also describe aggregating multiple time series into a single output time series before storage.

### Can VictoriaMetrics centralize metrics from many Kubernetes clusters?

A Kubernetes-focused discussion describes centralizing metrics from many clusters using VictoriaMetrics. It notes Prometheus is acceptable when the data volume is small.

### Is VictoriaMetrics a good fit for a smaller self-hosted home lab?

A Reddit review calls it a great match for smaller home lab or self-hosted deployments. The author used it for several months and says it is surprisingly not well known.

## Alternatives

- Amazon CloudWatch: Amazon CloudWatch is a monitoring service for AWS cloud resources and the applications running on AWS.
- Better Stack: AI-driven monitoring platform providing incident management, real-time logs, uptime, traces, error tracking, infrastructure analytics, and…
- Datadog: Datadog Agent is an on-host monitoring agent that collects metrics, logs, and traces from hosts, containers, and Kubernetes clusters and se…
- Nagios: Nagios is an open-source monitoring system that checks hosts, network services, and IT infrastructure resources so IT administrators can id…
- Netdata: Netdata is a real-time performance and health monitoring solution that helps you visualize and understand the behavior of your systems.
- Prometheus: Prometheus is a systems and service monitoring system.
- Splunk: Splunk is a self-hosted platform for collecting, indexing, searching, and analyzing log and security data, helping homelabbers and operatio…
- TimescaleDB: TimescaleDB is an open-source PostgreSQL extension that turns a standard PostgreSQL database into a high-performance store for time-series…
- Zabbix: Zabbix is an enterprise-class, open-source distributed monitoring solution designed to monitor the performance and availability of network…

---
Source: Our Local Host (https://ourlocalhost.com/app/354/victoriametrics), the self-hosted and open-source app directory.
