Skip to content

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

Merged
VihasMakwana merged 1 commit into8.xfrom
mergify/bp/8.x/pr-42160
Jan 20, 2025
Merged

[8.x](backport #42160) [system] - Add a flag to the system module to control whether metrics failures mark agent as degraded#42339
VihasMakwana merged 1 commit into8.xfrom
mergify/bp/8.x/pr-42160

Conversation

@mergify
Copy link
Copy Markdown
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 <craig.mackenzie@elastic.co>

* remove references

* remove sleep

---------

Co-authored-by: Craig MacKenzie <craig.mackenzie@elastic.co>
(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 faec and rdner 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
Copy Markdown
Contributor

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
@mergify
Copy link
Copy Markdown
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
@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