victoria-metrics

victoria-metrics

Docker 应用程序 from AlexRed's Repository

概述

VictoriaMetrics is a fast, cost-effective and scalable monitoring solution and time series database. TLDR: It is a faster, more lightweight replacement to InfluxDB/TimescaleDB/etc (up to 20x faster data digestion, up to 7-10x less ram usage). Can be used in place of InfluxDB in many apps such as HomeAssistant. Includes a great web UI for query exploration. For HomeAssistant: drop in replacement for InfluxDB, see https://community.home-assistant.io/t/influxdb-vs-victoriametrics/453361 Git repository: https://github.com/VictoriaMetrics/VictoriaMetrics Dockerhub: https://hub.docker.com/r/victoriametrics/victoria-metrics Website: https://victoriametrics.com VictoriaMetrics prominent features: - Long-term storage for Prometheus. - Drop-in replacement for Prometheus and Graphite in Grafana. - Easy setup and operation with a single executable and configuration via command-line flags. - Fast backups with vmbackup/vmrestore tools. - Implements MetricsQL query language. - Global query view for multiple data sources. - High performance and scalability, outperforming InfluxDB and TimescaleDB by up to 20x. - Efficient RAM usage, 10x less than InfluxDB and up to 7x less than others. - Optimized for high-churn time series data. - High data compression, storing up to 70x more data points in limited storage. - Ideal for high-latency IO and low IOPS storage. - Can substitute moderately sized clusters of competing solutions. - Protects data from corruption on unclean shutdown. - Supports various metrics protocols, including Prometheus, InfluxDB, Graphite, OpenTSDB, and more. - Offers stream aggregation, metrics relabeling, and series limiting. - Suitable for diverse data sources like APM, Kubernetes, IoT, financial data, and more. - Open source cluster version. - Compatible with NFS-based storages like Amazon EFS and Google Filestore.

要求

Notes
===
VictoriaMetrics is very powerful with lots of configurations available, definitely go through the docs: https://docs.victoriametrics.com to get comfortable.

VMAgent may be needed depending on your use case.

For integrating into HomeAssistant: https://community.home-assistant.io/t/influxdb-vs-victoriametrics/453361 (you only need the influxdb: configurations shared throughout the thread)

运行时参数

网络用户界面
http://[IP]:[PORT:8428]/vmui
网络
bridge
外壳
bash
特权
false

模板配置

DataPathrw

Data directory, includes config and the actual DB

目标
/victoria-metrics-data
默认值
/mnt/user/appdata/victoria-metrics
价值
/mnt/user/appdata/victoria-metrics
PortPorttcp
目标
8428
默认值
8428
价值
8428
Retention PeriodVariable

Data with timestamps outside the retentionPeriod is automatically deleted. The minimum retentionPeriod is 24h or 1d.vThe following optional suffixes are supported: h (hour), d (day), w (week), y (year). If suffix isn't set, then the duration is counted in months (default 1m).

目标
retentionPeriod
默认值
99y
价值
99y
Prometheus Scrape FileVariable

Location of promscrape config in the container. For example: /victoria-metrics-data/prometheus.yml. Disabled if nothing is set.

目标
promscrape_config
Prometheus Scrape Strictly ParseVariable

Set true to only parse valid promscrape configs. Incompatible fields: remote_write => -remoteWrite* remote_read => not supported rule_files and alerting => these sections are supported by vmalert.

目标
promscrape_config_strictParse
默认值
false
价值
false

下载统计数据

96,762,167
下载总数
607,914
本月
388,048
平均每月

长期下载总量

加载图表...

详细信息

存储库
victoriametrics/victoria-metrics:v1.118.0
最后更新2026-05-25
初见2025-05-28

在Unraid 上运行 victoria-metrics 。

victoria-metrics 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。