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

Silence "context canceled" messages in Loki #703

Merged
merged 2 commits into from
Sep 10, 2024
Merged

Conversation

DavidePrincipi
Copy link
Member

An upstream bug in Loki 1 can cause a flood of "context canceled" messages in the journal. This issue may occur on some systems with every logcli search, while on others, it is not reproducible.

This commit prevents Promtail from storing these annoying messages in Loki.

Refs NethServer/dev#6978

Footnotes

  1. https://github.com/grafana/loki/issues/7649#issuecomment-2249032725

An upstream bug in Loki can cause a flood of "context canceled" messages
in the journal. This issue may occur on some systems with every logcli
search, while on others, it is not reproducible.

This commit prevents Promtail from storing these annoying messages in
Loki.
@DavidePrincipi DavidePrincipi self-assigned this Sep 9, 2024
@DavidePrincipi DavidePrincipi merged commit 64849aa into main Sep 10, 2024
2 checks passed
@DavidePrincipi DavidePrincipi deleted the bug-6978-2 branch September 10, 2024 09:05
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.

1 participant