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

[8.x](backport #42160) [system] - Add a flag to the system module to control whether metrics failures mark agent as degraded #42339

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Jan 17, 2025

Add a new config to mark metricsets as degarded if partial metrics are enabled.

Currently, it's disabled by default and we will only enable it in integration test cases in elastic-agent. Once we're confident enough, we will enable this feature by default in beats and eventually, remove the flag.

Closes #40543


This is an automatic backport of pull request #42160 done by Mergify.

… failures mark agent as degraded (#42160)

* chore: initial commit

* doc and test cases

* lint

* remove errors.Is

* chore: notice

* update docs

* Update metricbeat/mb/event.go

Co-authored-by: Craig MacKenzie <[email protected]>

* remove references

* remove sleep

---------

Co-authored-by: Craig MacKenzie <[email protected]>
(cherry picked from commit 7a2f8d4)
@mergify mergify bot requested a review from a team as a code owner January 17, 2025 12:03
@mergify mergify bot added the backport label Jan 17, 2025
@mergify mergify bot requested review from rdner and faec and removed request for a team January 17, 2025 12:03
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Jan 17, 2025
@github-actions github-actions bot added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Jan 17, 2025
@elasticmachine
Copy link
Collaborator

Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Jan 17, 2025
Copy link
Contributor Author

mergify bot commented Jan 20, 2025

This pull request has not been merged yet. Could you please review and merge it @VihasMakwana? 🙏

@VihasMakwana VihasMakwana merged commit f534d9f into 8.x Jan 20, 2025
32 checks passed
@VihasMakwana VihasMakwana deleted the mergify/bp/8.x/pr-42160 branch January 20, 2025 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants