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

Fix instrumentation #71

Merged
merged 2 commits into from
Sep 5, 2024
Merged

Fix instrumentation #71

merged 2 commits into from
Sep 5, 2024

Conversation

eminano
Copy link
Collaborator

@eminano eminano commented Sep 5, 2024

This PR updates the wal kafka batch writer to apply the constructor options after the internal writer is initialised (this allows us to wrap it with instrumentation).
The search store retrier is updated to return dropped documents as failed documents in the SendDocuments method, instead of only returning retriable failed documents. This way the metric to track failed document errors accurately represents the results.

@eminano eminano requested a review from exekias September 5, 2024 11:21
@eminano eminano merged commit 5a6115a into main Sep 5, 2024
5 checks passed
@eminano eminano deleted the fix-instrumentation branch September 5, 2024 12:36
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