Skip to content

Remove unused self-monitoring code#12359

Merged
pierrehilbert merged 1 commit intomainfrom
chore/drop-unused-monitoring-code
Jan 22, 2026
Merged

Remove unused self-monitoring code#12359
pierrehilbert merged 1 commit intomainfrom
chore/drop-unused-monitoring-code

Conversation

@swiatekm
Copy link
Contributor

Drop unused monitoring code which was recently replaced by #11813. I also plan to simplify the prometheus monitoring port handling in a follow-up. Otel currently forces us to have a metrics reader if we want metrics to be enabled, but we can't simplify how this is determined.

@swiatekm swiatekm added chore Tasks that just need to be done, they are neither bug, nor enhancements backport-9.3 Automated backport to the 9.3 branch labels Jan 21, 2026
# Conflicts:
#	internal/pkg/otel/manager/execution_subprocess.go
@swiatekm swiatekm force-pushed the chore/drop-unused-monitoring-code branch from 945cdd5 to 55582f1 Compare January 21, 2026 15:24
@swiatekm swiatekm marked this pull request as ready for review January 21, 2026 16:24
@swiatekm swiatekm requested a review from a team as a code owner January 21, 2026 16:24
@pierrehilbert pierrehilbert added the Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team label Jan 21, 2026
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @swiatekm

@pierrehilbert pierrehilbert merged commit 84f644b into main Jan 22, 2026
24 checks passed
@pierrehilbert pierrehilbert deleted the chore/drop-unused-monitoring-code branch January 22, 2026 07:36
mergify bot pushed a commit that referenced this pull request Jan 22, 2026
# Conflicts:
#	internal/pkg/otel/manager/execution_subprocess.go

(cherry picked from commit 84f644b)
swiatekm added a commit that referenced this pull request Jan 22, 2026
# Conflicts:
#	internal/pkg/otel/manager/execution_subprocess.go

(cherry picked from commit 84f644b)

Co-authored-by: Mikołaj Świątek <mail@mikolajswiatek.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-9.3 Automated backport to the 9.3 branch chore Tasks that just need to be done, they are neither bug, nor enhancements skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

5 participants