How is my Grafana/prometheus service not losing data?
shxkm
HOBBYOP

10 months ago

I'm testing out a Grafana/prometheus deployment. Right now, even after I restart/redeploy them they aren't losing the data. I'll eventually have a volume for both I guess (?) but I'm wondering what's going on here.

Solved$10 Bounty

5 Replies

shxkm
HOBBYOP

10 months ago

715a154f-c769-440d-9dad-373a1d7efafe


shxkm
HOBBYOP

10 months ago

As the docs say, the disk is wiped on a new deployment, not restarts.


turborx
FREE

10 months ago

hi, what you’re seeing is expected: railway services only wipe data on fresh deployments, but restarts (e.g. service reboots) keep the same ephemeral disk intact. data won’t survive a redeploy unless you use persistent volumes. let me know if you’d like help adding volumes for Prometheus and Grafana.


shxkm
HOBBYOP

10 months ago

!s


10 months ago

!s


Status changed to Solved parmstar 10 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...