-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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/hostmetrics] Process scraper fails to read parent-process information for some processes on Windows #14679
Comments
Pinging code owners: @dmitryax. See Adding Labels via Comments if you do not have permissions to add labels yourself. |
@davidmirza408 can it be caused by adding parent id attribute? If so, do you have a chance to take a look? |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This error is still occurring. Line 137 in 691044b
I can take care of it. |
@dmitryax what do you think about solution described above? |
@JadziaMataj, it sounds good to me if it solves the issue. We don't need the parent object itself. Can you please submit a PR? |
@dmitryax PR is ready to review. |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
What happened?
Description
When using the
process
scraper on windows, errors are constantly logged, indicating that some processes do not exist.This ends up filling the logs with the same error repeatedly, which may bury other logs.
Steps to Reproduce
Run the collector as administrator with the
process
scraper enabled.Expected Result
No errors are logged.
Actual Result
Error is logged on each scrape.
Collector version
v0.61.0
Environment information
Environment
OS: Windows server 2019
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: