Grafana preserve over reboot
I'm using Grafana to monitor my Sisense server. If I reboot the server, Grafana shows no data from before the reboot. Is there a way to preserve the data?
(The reason I need this is that I want to monitor RAM use over a week, even if my server gets rebooted.)
Tim von Ahsen
Posted 9 months ago·Last reply 7 months ago
5 comments
DRay
·7 months agoHi Tim,
I’m following up to see if the solution I offered worked for you.
If so, please click the 'Accept as Solution' button on the appropriate post. That way others with the same questions can find the answer. If not, please let us know so that we can continue to help.
Thank you.
DRay
·7 months agoHi Tim,
Were you able to get this resolved?
OleksandrB
·8 months agoHi,
the problem is probably that the program collecting your RAM usage data isn't set up to save it permanently.
When you reboot the server, this data, which was only being held in temporary memory or a temporary folder, gets wiped out.
Since you are using Grafana, the tool likely responsible for storing this data is Prometheus.
The solution: You need to configure Prometheus to write all the collected data to a permanent folder on the hard drive that is not erased when the server reboots.
If you still have questions, please create a ticket, and our support will try to help you.
Tim von Ahsen
OP8 months agoOk. Do you have a guide for configuring Prometheus to do that? Otherwise I can have a look online, but it might be handy for me and anyone else that stumbles upon this thread to have simple instructions here.
DRay
·8 months agoHi Tim,
I found this in the Prometheus documentation. Does it address your need? https://prometheus.io/docs/prometheus/latest/storage/#remote-storage-integrations