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

[receiver/windowsperfcounters] Returning partial errors for failures #32370

Merged

Conversation

chrislbs
Copy link
Contributor

Returning partial errors for failures during scraping to prevent throwing out all successfully retrieved metrics.

Description: Fixing a bug where a single instance of a windows performance object prevents metrics for all other valid instances from being published.

Link to tracking Issue: 16712

Testing: I added additional tests that verifies if some scrapers fail to retrieve metrics, the ones that don't fail continue to publish their metrics.

Documentation:

Returning partial errors for failures during scraping to prevent throwing
out all successfully retrieved metrics.
@chrislbs chrislbs force-pushed the feature/win-perf-receiver-partial-errors branch from 37bb1b3 to a8d0f39 Compare April 22, 2024 19:53
@chrislbs
Copy link
Contributor Author

Am I missing something to get this PR completed?

Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

Nothing blocking this, I assume @dashpole didn't have time to look at this.

This LGTM, I will give a few days in case @alxbl wants to have a look and merge if not

@alxbl
Copy link
Member

alxbl commented Apr 26, 2024

LGTM!

Can't approve it yet as I'm not a code owner just yet, though :P

@mx-psi
Copy link
Member

mx-psi commented Apr 26, 2024

@alxbl Thank you! Also, feel free to approve or review any PR, whether you are a codeowner or not :) All reviews are welcome, no matter what your formal role is

@mx-psi mx-psi added the Run Windows Enable running windows test on a PR label Apr 26, 2024
@mx-psi mx-psi merged commit 21a87ff into open-telemetry:main Apr 26, 2024
174 of 176 checks passed
@github-actions github-actions bot added this to the next release milestone Apr 26, 2024
@chrislbs chrislbs deleted the feature/win-perf-receiver-partial-errors branch April 26, 2024 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
receiver/windowsperfcounters Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants