About VictoriaMetrics
VictoriaMetrics is an Apache-2.0 time series database. It ingests Prometheus remote write, InfluxDB line protocol, Graphite, OpenTSDB and OpenTelemetry metrics, and answers PromQL along with its own MetricsQL. Both the single-node and cluster versions are open source; enterprise extras include downsampling and anomaly detection.
Use it as long-term storage behind Prometheus or as the whole metrics backend. A single-node install on a CloudSat server keeps months of metrics in one place, with retention set by -retentionPeriod (1 month by default).
After deploy the server listens on port 8428, and the vmui interface at /vmui handles ad hoc queries and cardinality checks.
What you get with VictoriaMetrics
- Remote write, InfluxDB, Graphite and OpenTelemetry ingestion
- PromQL and MetricsQL queries
- Built-in vmui with a cardinality explorer
- Scraping of Prometheus targets with
-promscrape.config - Works as a Prometheus data source in Grafana
VictoriaMetrics use cases
- Keep a year of Prometheus metrics without a heavy setup
- Collect metrics from several servers into one Grafana
- Store device or app metrics sent as InfluxDB line protocol
After you deploy VictoriaMetrics
- When the server is Running, open
http://<server IP>:8428/vmuifrom an allowed IP. - Every endpoint is open by default, so add
-httpAuth.usernameand-httpAuth.passwordor a firewall rule. - Point Prometheus or vmagent remote write at
http://<server IP>:8428/api/v1/write. - Raise
-retentionPeriodif you need history beyond one month.
VictoriaMetrics ports
Open these in your firewall if you use one: 8428/tcp HTTP API, ingestion and vmui.
VictoriaMetrics FAQ
Can Grafana query VictoriaMetrics?
Yes. Add it as a Prometheus data source with the URL http://<server IP>:8428, or install the VictoriaMetrics plugin for MetricsQL extras.
Single-node or cluster?
Start with single-node: one binary and one data directory. The cluster version splits ingestion, storage and queries across nodes once one server is not enough.
Disclaimer. The VictoriaMetrics project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.