https://github.com/VictoriaMetrics/VictoriaMetrics
https://docs.victoriametrics.com/Single-server-VictoriaMetrics.html
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.71.0/victoria-metrics-amd64-v1.71.0.tar.gz
单机版
[root@localhost victoria]# cat /usr/lib/systemd/system/victoria-metrics-prod.service
[Unit]
Description=victoria
After=network.target
[Service]
ExecStart=/usr/local/bin/victoria-metrics-prod -httpListenAddr=0.0.0.0:8428
-storageDataPath=/data/victoria -retentionPeriod=3
[Install]
WantedBy=multi-user.target
[root@localhost victoria]# systemctl daemon-reload
[root@localhost victoria]# systemctl restart victoria-metrics-prod && systemctl enable victoria-metrics-prod
remote_write: - url: http://192.168.192.132:8428/api/v1/write