Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prometheus data loss problem #2320

Closed
coffeehc opened this Issue Jan 5, 2017 · 3 comments

Comments

Projects
None yet
3 participants
@coffeehc
Copy link

coffeehc commented Jan 5, 2017

Recently our prometheus data loss problem occurs, every 5 minutes to lose part of the data
View code is mainly due to the data storage time has been more than 15d, at this time call func (s * MemorySeriesStorage) maintainArchivedSeries (fp model.Fingerprint, beforeTime model.Time) method, triggered the delete expired data, but I found deleted When the current collection of data has not been stored.
Next, I set the storage.local.retention 18d, there is no current data loss problem
I would like to ask what is the distribution of the problem?

  • System information:

Linux 3.10.0-229.el7.x86_64 x86_64 800G SSD

  • Prometheus version:

prometheus, version 1.4.1 (branch: master, revision: 2a89e87)
build user: root@e685d23d8809
build date: 20161128-09:59:22
go version: go1.7.3

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Mar 20, 2017

Hi, I am not able to understand the issue here correctly. Are you telling that even if you increase the retention to 18d you are losing data that we persisted before the restart?

@gouthamve

This comment has been minimized.

Copy link
Member

gouthamve commented Jun 14, 2017

@brian-brazil This can be closed as it looks like a usage question and is quite old.

@lock

This comment has been minimized.

Copy link

lock bot commented Mar 23, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 23, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.