0
votes

I have a problem with Prometheus retaining data. I exporters that export metrics to Prometheus and i use prom dash to represent the data. But when i restart Prometheus i lose all the data of my metrics.

And the other problem i have is ,I have configured prometheus to have trigger alerts and i am using alertmanager to send notifications. I have configure alertmanager to send notification of alert to my Email and Flowdock. But I Receive them on flowdock but not on my mail.

Any help would be great!

1

1 Answers

1
votes

But when i restart Prometheus i lose all the data of my metrics.

Prometheus stores data in the directory configured by the -storage.local.path flag which defaults to data. Make sure that's not being deleted between runs.

I have configure alertmanager to send notification of alert to my Email and Flowdock. But I Receive them on flowdock but not on my mail.

Can you share your configuration? Have you configured a SMTP server and -notification.smtp.smarthost per http://prometheus.io/docs/alerting/alertmanager/#email?