DO NOT MERGE [metricbeat][system/process] - Handle non-fatal errors#40298
DO NOT MERGE [metricbeat][system/process] - Handle non-fatal errors#40298VihasMakwana wants to merge 27 commits intoelastic:mainfrom
Conversation
|
This pull request does not have a backport label.
To fixup this pull request, you need to add the backport labels for the needed
|
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services) |
|
@cmacknz screenshot of error event on Kibana.
|
|
@elastic/obs-ds-hosted-services can someone from you team review this? |
|
This pull request is now in conflicts. Could you fix it? 🙏 |
|
|

Proposed commit message
With elastic/elastic-agent-system-metrics#164, we now also expect a list of non-fatal errors (access denied, operation not permitted, invalid parameters etc) which will be used to update status to DEGRADED.
In this PR, we just return the errors. #40025 would take care of changing the actual status to DEGRADED.
Also,
Checklist
CHANGELOG.next.asciidocorCHANGELOG-developer.next.asciidoc.Disruptive User Impact
Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs