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: count the number of IDs in drop decision messages #1416

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

MikeGoldsmith
Copy link
Contributor

Which problem is this PR solving?

The counts for drop and kept decisions are based on the number of messages received. However, because drop decisions are actually a set of Trace IDs vs kept which is per trace, the counts do correlate with each other.

For example, the below query shows around 17 drop messages per minute, while the kept decision count is around 2200.

image

This PR updates the drop count to count the number of IDs in the drop messages, which will give a real representation of the number of drop decisions.

Short description of the changes

  • Update the drop_decisions_received counter to count the number of IDs in the message

@MikeGoldsmith MikeGoldsmith added this to the v2.9 milestone Nov 8, 2024
@MikeGoldsmith MikeGoldsmith self-assigned this Nov 8, 2024
@MikeGoldsmith MikeGoldsmith requested a review from a team as a code owner November 8, 2024 10:20
@kentquirk
Copy link
Contributor

I feel like we actually want two metrics - one for the number of drop messages, and one for the number of items dropped in response to that. Both are going to be useful to us.

@VinozzZ VinozzZ merged commit 313f4bf into main Nov 8, 2024
5 checks passed
@VinozzZ VinozzZ deleted the mike/drop-decision-counts branch November 8, 2024 20:02
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.

3 participants