promethues 远程写入VictoriaMetrics 配置
配置Prometheus使用vminsert
修改Prometheus配置,添加remote_write配置
global:
..........
remote_write:
- url: http://192.168.122.19:8480/insert/0/prometheus
配置修改完成后重启Prometheus
systemctl restart prometheus
# 配置副本 replication: replicas: - name: node1 address: localhost:8400 role: master - name: node2 address: localhost:8401 role: replica - name: node3 address: localhost:8402 role: replica # 配置分片 sharding: shardSize: 1000 shards: - name: shard1 nodes: - localhost:8500 - localhost:8501 - name: shard2 nodes: - localhost:8600 - localhost:8601
时来天地皆同力,运去英雄不自由