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

producer.messages.count: Use kgo.Err as reason #593

Merged
merged 4 commits into from
Nov 6, 2024

Conversation

marclop
Copy link
Contributor

@marclop marclop commented Nov 6, 2024

Updates the error_reason dimension to use the value from the returned error (kgo.Err.Message). This allows us to classify the errors with the reason more granularly.

Previously, all the produce failures that aren't due to context.Done() would be classified as unknown.

Updates the `error_reason` dimension to use the value from the returned
error (`kgo.Err.Message`). This allows us to classify the errors with
the reason more granularly.

Previously, all the produce failures that aren't due to `context.Done()`
would be classified as `unknown`.

Signed-off-by: Marc Lopez Rubio <[email protected]>
@marclop marclop requested a review from a team as a code owner November 6, 2024 06:02
carsonip
carsonip previously approved these changes Nov 6, 2024
@carsonip
Copy link
Member

carsonip commented Nov 6, 2024

Can you also update the docs on metrics of various services that depend on apm-queue?

Signed-off-by: Marc Lopez Rubio <[email protected]>
Signed-off-by: Marc Lopez Rubio <[email protected]>
@marclop marclop requested a review from carsonip November 6, 2024 07:19
@marclop marclop merged commit 3f71ee8 into main Nov 6, 2024
6 checks passed
@marclop marclop deleted the f/add-error_reason-to-produce-errors branch November 6, 2024 08:28
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.

2 participants