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 off-by-one in userspace metric writer #306

Merged
merged 1 commit into from
Oct 30, 2023
Merged

Conversation

cvonelm
Copy link
Member

@cvonelm cvonelm commented Oct 20, 2023

Index 0 in the counter_collection is reserved for the metric leader. However userspace metrics dont have a metric leader, so we have to start counting the events from 1 instead of 0.

Index 0 in the counter_collection is reserved for the metric leader.
However userspace metrics dont have a metric leader, so start counting
the events from 1 instead of 0
@cvonelm cvonelm force-pushed the fix-userspace-event branch from 3d04822 to dd4b6a0 Compare October 30, 2023 12:50
@cvonelm cvonelm merged commit c62fb47 into master Oct 30, 2023
41 checks passed
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