Skip to content

[9.2] (backport #11718) [OTEL] Hide healthcheckv2 from agent status.#11750

Merged
blakerouse merged 4 commits into9.2from
mergify/bp/9.2/pr-11718
Dec 12, 2025
Merged

[9.2] (backport #11718) [OTEL] Hide healthcheckv2 from agent status.#11750
blakerouse merged 4 commits into9.2from
mergify/bp/9.2/pr-11718

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Dec 11, 2025

What does this PR do?

Hides the healthcheckv2 extension from the elastic-agent status output.

Why is it important?

This extension is injected by the elastic-agent so it should not be included in the status as its not created by the user.

Checklist

  • I have read and understood the pull request guidelines of this project.
  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • [ ] I have made corresponding changes to the documentation
  • [ ] I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool
  • [ ] I have added an integration test or an E2E test (covered by unit test)

Disruptive User Impact

The healthcheckv2 will no longer be included in status output.

How to test this PR locally

Run the elastic-agent with OTEL enabled, run elastic-agent status and observe that the healthcheckv2 extension is no longer in the status output.

Related issues


This is an automatic backport of pull request #11718 done by [Mergify](https://mergify.com).
* Hide healthcheckv2 from agent status.

* Add changelog entry.

* Update entry.

* Filter out by specific UUID.

(cherry picked from commit 81d77f5)

# Conflicts:
#	internal/pkg/otel/manager/manager.go
@mergify mergify bot added backport conflicts There is a conflict in the backported pull request labels Dec 11, 2025
@mergify mergify bot requested a review from a team as a code owner December 11, 2025 15:39
@mergify mergify bot requested review from blakerouse and pchila and removed request for a team December 11, 2025 15:39
@mergify mergify bot added the conflicts There is a conflict in the backported pull request label Dec 11, 2025
@mergify mergify bot added the backport label Dec 11, 2025
@mergify
Copy link
Contributor Author

mergify bot commented Dec 11, 2025

Cherry-pick of 81d77f5 has failed:

On branch mergify/bp/9.2/pr-11718
Your branch is up to date with 'origin/9.2'.

You are currently cherry-picking commit 81d77f53e.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   changelog/fragments/1765377327-hide-healthcheckv2-from-status-output.yaml
	modified:   internal/pkg/otel/manager/execution_subprocess.go
	modified:   internal/pkg/otel/manager/manager_test.go

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   internal/pkg/otel/manager/manager.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@github-actions github-actions bot added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Dec 11, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

History

cc @blakerouse

@blakerouse blakerouse merged commit 2bab4fe into 9.2 Dec 12, 2025
21 checks passed
@blakerouse blakerouse deleted the mergify/bp/9.2/pr-11718 branch December 12, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport conflicts There is a conflict in the backported pull request Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

2 participants