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

explain how to ignore WAL files and cleanup resulting grafs #14317

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anarcat
Copy link
Contributor

@anarcat anarcat commented Jun 19, 2024

We don't want do backup WAL files, but we should just show how to actually ignore those files. Also explain what happens every 2 hours a little more clearly and move things around so the paragraphs flow more easily.

Followup for #14297.

SuperQ
SuperQ previously approved these changes Jun 19, 2024
Copy link
Member

@SuperQ SuperQ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

docs/storage.md Outdated
Comment on lines 76 to 77
in durability, performance, and efficiency. With proper architecture,
it is possible to retain years of data in local storage.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this last bit was originally saying you don't need external storage, so moving it here changes the meaning.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i moved it back, is it okay now?

docs/storage.md Outdated Show resolved Hide resolved
docs/storage.md Outdated
Careful evaluation is required for these systems as they vary greatly in durability,
performance, and efficiency.
the last WAL sync, which typically happens every two hours, covering
the last three hours of samples. Excluding the WAL files (the `wal/`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest inserting "If snapshots are unavailable" here, to emphasise we are not changing the recommendation.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i tweaked it a little further, see if that is okay with you.

We don't want do backup WAL files, but we should just show how to
actually ignore those files. Also explain what happens every 2 hours a
little more clearly and move things around so the paragraphs flow more easily.

Followup for prometheus#14297.

Signed-off-by: Antoine Beaupré <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants