启动时在命令中增加下列参数,需保证目录存在且有权限读写
–storage.tsdb.path=”/mnt/prometheus/”
完整命令如下:
./prometheus –storage.tsdb.path=”/mnt/prometheus/” &
本文链接地址: prometheus修改数据路径
启动时在命令中增加下列参数,需保证目录存在且有权限读写
–storage.tsdb.path=”/mnt/prometheus/”
完整命令如下:
./prometheus –storage.tsdb.path=”/mnt/prometheus/” &
本文链接地址: prometheus修改数据路径
转载请注明:蛋疼实验室 » prometheus修改数据路径