Skip to content

Conversation

@shalper2
Copy link
Contributor

Description

Fixes a bug where a combination of error handling and misconfigured permissions (specifically the default permissions in sys/windows) caused an number of access_denied errors and the metrics to not be correctly exported.

In addition some more context was added to erros during the scrape function.

Link to tracking issue

Fixes 44087

Testing

Tested on local windows machine using the following config:

receivers:
  windowsservice:
    collection_interval: 20s

@shalper2 shalper2 force-pushed the 44087-fix-accessdenied branch from eebf125 to 9597c3c Compare November 12, 2025 15:06
@shalper2 shalper2 marked this pull request as ready for review November 12, 2025 15:06
@shalper2 shalper2 requested review from a team and pjanotti as code owners November 12, 2025 15:06
@pjanotti pjanotti added the ready to merge Code review completed; ready to merge by maintainers label Nov 13, 2025
@songy23 songy23 merged commit aa1e55d into open-telemetry:main Nov 13, 2025
210 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Code review completed; ready to merge by maintainers receiver/windowsservice

Projects

None yet

Development

Successfully merging this pull request may close these issues.

windowsservicereceiver: services with access denied affect data from other services

4 participants