其他分享
首页 > 其他分享> > promethes-远端存储

promethes-远端存储

作者:互联网

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

 

 

 

集群版

标签:存储,https,VictoriaMetrics,victoria,metrics,promethes,远端,prod,localhost
来源: https://www.cnblogs.com/gxc888/p/15832098.html