[8.18] (backport #17135) TBS: Log pubsub errors at error or warn level#17178
Merged
mergify[bot] merged 3 commits into8.18from Jun 10, 2025
Merged
[8.18] (backport #17135) TBS: Log pubsub errors at error or warn level#17178mergify[bot] merged 3 commits into8.18from
mergify[bot] merged 3 commits into8.18from
Conversation
* Surface pubsub subscriber errors by logging at Warn level for 429 and Error level for others, instead of Debug level. Do not log context canceled. This may introduce noise to logs, e.g. when ES returns 429, but at worst it will only log one line every search interval (default = 1m/2 = 30s) which is acceptable. * Also change publisher logs from debug level to error level. (cherry picked from commit 6d41432) # Conflicts: # x-pack/apm-server/sampling/pubsub/checkpoints.go # x-pack/apm-server/sampling/pubsub/pubsub.go # x-pack/apm-server/sampling/pubsub/pubsub_test.go
Contributor
Author
|
Cherry-pick of 6d41432 has failed: To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally |
1 task
carsonip
approved these changes
Jun 10, 2025
Contributor
|
I reviewed the test implementation, it covers the new behavior. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation/summary
Checklist
- [ ] Update CHANGELOG.asciidocto be done on releaseFor functional changes, consider:
How to test these changes
Covered by unit tests
Related issues
Fixes #17117
This is an automatic backport of pull request #17135 done by [Mergify](https://mergify.com).