Prometheus修改数据保留时间 --storage.tsdb.retention 该参数决定何时删除旧数据,默认是15天在启动脚本里修改--storage.tsdb.retention=90d可以延长,或者启动时带上这个参数即可。