Skip to content

[chore] add changelog entry for otel subcommand flag issue#12187

Merged
VihasMakwana merged 4 commits intoelastic:mainfrom
VihasMakwana:chlog-flags
Jan 13, 2026
Merged

[chore] add changelog entry for otel subcommand flag issue#12187
VihasMakwana merged 4 commits intoelastic:mainfrom
VihasMakwana:chlog-flags

Conversation

@VihasMakwana
Copy link
Contributor

What does this PR do?

After Blake's changes, the otel subcommand is no longer embedded and it doesn't support the elastic-agent specific flags. As a result, it errors out if any of the agent-specific flags are used.

This PR adds a change log entry for the same.

Why is it important?

Because this is a breaking change.

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

Disruptive User Impact

Following command will fail in 9.3 and subsequent releases:

./elastic-agent -c ./otel.yml otel

Related issues

@mergify
Copy link
Contributor

mergify bot commented Jan 9, 2026

This pull request does not have a backport label. Could you fix it @VihasMakwana? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.
@VihasMakwana VihasMakwana changed the title [chore] Jan 9, 2026
@VihasMakwana VihasMakwana added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team backport-9.3 Automated backport to the 9.3 branch labels Jan 9, 2026
@elasticmachine
Copy link
Contributor

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

@VihasMakwana VihasMakwana requested a review from ebeahan January 12, 2026 16:40
@VihasMakwana VihasMakwana merged commit 9a4c1f2 into elastic:main Jan 13, 2026
13 checks passed
mergify bot pushed a commit that referenced this pull request Jan 13, 2026
* chore: changelog

* Update changelog/fragments/1767937335-remove-cli-flags-otel-subcommand.yaml

Co-authored-by: Eric Beahan <ebeahan@gmail.com>

* nits

---------

Co-authored-by: Eric Beahan <ebeahan@gmail.com>
(cherry picked from commit 9a4c1f2)
VihasMakwana added a commit that referenced this pull request Jan 13, 2026
…12217)

* chore: changelog

* Update changelog/fragments/1767937335-remove-cli-flags-otel-subcommand.yaml



* nits

---------


(cherry picked from commit 9a4c1f2)

Co-authored-by: Vihas Makwana <121151420+VihasMakwana@users.noreply.github.com>
Co-authored-by: Eric Beahan <ebeahan@gmail.com>
swiatekm pushed a commit that referenced this pull request Jan 14, 2026
* chore: changelog

* Update changelog/fragments/1767937335-remove-cli-flags-otel-subcommand.yaml

Co-authored-by: Eric Beahan <ebeahan@gmail.com>

* nits

---------

Co-authored-by: Eric Beahan <ebeahan@gmail.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 Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

4 participants