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

[chore] fix dropped data item counter #330

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

bacherfl
Copy link
Contributor

This PR fixes the dropped_span_count metric reported in the benchmark results.

The high number of dropped spans was reported because for the pull based scenario, the number of sent data items is the static number of metrics exposed via each prometheus endpoint (e.g. 1000), whereas the number of received items is the number of metrics times the number of performed scrape iterations due to the internal mechanics of the testbed validator's benchmark summary this is then recorded as "dropped_span_count".

The name "dropped_span_count" is also misleading here, as this is calculated from the number of generated data items minus the number of received items - which don't have to be spans in each case, but can also be metrics or logs.

Signed-off-by: Florian Bacher <[email protected]>
@bacherfl bacherfl marked this pull request as ready for review October 18, 2024 06:51
@bacherfl bacherfl requested a review from a team as a code owner October 18, 2024 06:51
@bacherfl bacherfl merged commit e49189e into main Oct 18, 2024
19 checks passed
@bacherfl bacherfl deleted the fix/prmetheus-dropped-span-count branch October 18, 2024 07:46
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