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

feat: add document retries metrics #157

Merged
merged 4 commits into from
Apr 22, 2024

Conversation

kruskall
Copy link
Member

@kruskall kruskall commented Apr 18, 2024

Add a metric which tracks the number of document retries. We were already counting the retries but we never published metrics about it.
Update retry test to assert metrics count

Name is elasticsearch.events.retried to be consistent with other metrics. Feedback welcomed.

Closes #136

Add a metric which tracks the number of document retries
Update retry test to assert metrics count
@kruskall kruskall requested a review from a team as a code owner April 18, 2024 12:17
@elastic-apm-tech elastic-apm-tech added the safe-to-test Automated label for running bench-diff on forked PRs label Apr 18, 2024
metric.go Outdated Show resolved Hide resolved
kruskall and others added 2 commits April 22, 2024 10:31
Co-authored-by: Carson Ip <carsonip@users.noreply.github.com>
@kruskall kruskall requested a review from carsonip April 22, 2024 08:32
Copy link
Member

@endorama endorama left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@kruskall kruskall merged commit 71966cb into elastic:main Apr 22, 2024
5 checks passed
@kruskall kruskall deleted the feat/metrics-retries branch April 22, 2024 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe-to-test Automated label for running bench-diff on forked PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

publish metrics for retried documents
4 participants