Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upData lost after restart #5258
Comments
This comment has been minimized.
This comment has been minimized.
|
To add more context, I wrote a dummy exporter based on this example For this dummy target I never loose data. no matter how and when I restart prometheus server or the exporter. To be honest I don't see any difference between Any suggestions how to debug this further? |
This comment has been minimized.
This comment has been minimized.
|
You probably want to increase the I'm closing it for now. If you have further questions, please use our user mailing list, which you can also search. |
simonpasquier
closed this
Feb 26, 2019
This comment has been minimized.
This comment has been minimized.
|
@simonpasquier That's not it. The thing I'm observing happens even if I stop prometheus and then start it again after few minutes. I always loose data and only for those few metrics. |
This comment has been minimized.
This comment has been minimized.
|
It looks similar to #3632. Unfortunately no progress has been made so far. |
fgrzadkowski commentedFeb 22, 2019
Bug Report
What did you do?
Prometheus is running as a systemd service. After a restart it looses some metrics from last 1-2 hours.
What did you expect to see?
No metric samples should be lost. This is true for most timeseries, except some that I'm interested in (they're exported by
custom_exporter; see config below)What did you see instead? Under which circumstances?
Metrics were lost.
Environment
Logs from the restart: