prometheus migration from centos to Ubuntu

33 views
Skip to first unread message

Prashant Singh

unread,
Sep 16, 2022, 7:26:04 AM9/16/22
to Prometheus Users
Dear All,

need link for who to migrate Prometheus  from centos to ubuntu 

1.prometheus version :2.29.1 
2.alertmanger 0.23.0
3. we are using prometheus-postgres-adapter and timescale DB.


Thanks,
Prashant 

Brian Candler

unread,
Sep 16, 2022, 8:43:43 AM9/16/22
to Prometheus Users
Prometheus release binaries are statically linked and don't depend on the underlying OS - e.g.  prometheus-2.37.1.linux-amd64.tar.gz will run under any 64-bit Intel/AMD Linux.  Same binary, same configuration, nothing changes.

If you shutdown the old prometheus you can just copy its storage directory to the new one, to keep your existing metric history.

It would be a good idea to upgrade to 2.37.1 since the 2.37.x branch is a long term support release (at least 6 months from July 2022).
Reply all
Reply to author
Forward
0 new messages