Skip to content

Conversation

@mauri870
Copy link
Member

@mauri870 mauri870 commented Nov 26, 2025

Proposed commit message

The otelbeat binary is not used anymore since we moved to an in-process testing collector in #47338, so remove the subcommand and all references to it in the build system. The otel subcommand was gated behind a build tag and only used in tests.

Checklist

  • 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. Where relevant, I have used the stresstest.sh script to run them under stress conditions and race detector to verify their stability.
  • I have added an entry in ./changelog/fragments using the changelog tool.

Related issues

@mauri870 mauri870 self-assigned this Nov 26, 2025
@mauri870 mauri870 added Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team backport-active-all Automated backport with mergify to all the active branches skip-changelog labels Nov 26, 2025
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 26, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mauri870 mauri870 marked this pull request as ready for review November 27, 2025 00:58
@mauri870 mauri870 requested a review from a team as a code owner November 27, 2025 00:58
@mauri870 mauri870 requested review from faec and leehinman November 27, 2025 00:58
@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@khushijain21 khushijain21 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can also remove libbeat/otelbeat/providers because we are not using it anywhere

Copy link
Contributor

@VihasMakwana VihasMakwana left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bye bye otelbeat. It was great while it lasted 🥲

@mauri870 mauri870 merged commit f4b9ad1 into elastic:main Nov 27, 2025
208 of 211 checks passed
@github-actions
Copy link
Contributor

@Mergifyio backport 8.19 9.1 9.2

@mergify
Copy link
Contributor

mergify bot commented Nov 27, 2025

backport 8.19 9.1 9.2

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Nov 27, 2025
The otelbeat binary is not used anymore since we moved to an in-process testing collector in #47338, so remove the subcommand and all references to it in the build system. The otel subcommand was gated behind a build tag and only used in tests.

(cherry picked from commit f4b9ad1)

# Conflicts:
#	x-pack/filebeat/magefile.go
#	x-pack/libbeat/common/otelbeat/otel.go
mergify bot pushed a commit that referenced this pull request Nov 27, 2025
The otelbeat binary is not used anymore since we moved to an in-process testing collector in #47338, so remove the subcommand and all references to it in the build system. The otel subcommand was gated behind a build tag and only used in tests.

(cherry picked from commit f4b9ad1)
mergify bot pushed a commit that referenced this pull request Nov 27, 2025
The otelbeat binary is not used anymore since we moved to an in-process testing collector in #47338, so remove the subcommand and all references to it in the build system. The otel subcommand was gated behind a build tag and only used in tests.

(cherry picked from commit f4b9ad1)

# Conflicts:
#	metricbeat/module/kubernetes/util/prometheus.go
#	x-pack/libbeat/common/otelbeat/otel.go
mauri870 added a commit that referenced this pull request Nov 27, 2025
* chore(otel): remove otelbeat (#47804)

The otelbeat binary is not used anymore since we moved to an in-process testing collector in #47338, so remove the subcommand and all references to it in the build system. The otel subcommand was gated behind a build tag and only used in tests.

(cherry picked from commit f4b9ad1)

* remove TestFilebeatOTelInspect

* remove TestMetricbeatOTelInspect

---------

Co-authored-by: Mauri de Souza Meneguzzo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches skip-changelog 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.

4 participants