Skip to content

Rename CloudWatch o-tel commands to otel with hidden backward-compatibility#10229

Merged
ashovlin merged 1 commit intoaws:v2from
gcacace:rename-otel-v2
Apr 23, 2026
Merged

Rename CloudWatch o-tel commands to otel with hidden backward-compatibility#10229
ashovlin merged 1 commit intoaws:v2from
gcacace:rename-otel-v2

Conversation

@gcacace
Copy link
Copy Markdown
Contributor

@gcacace gcacace commented Apr 17, 2026

Rename the 3 CloudWatch OTel enrichment CLI commands from o-tel to otel naming, consistent with the OpenTelemetry (https://opentelemetry.io/) community convention:

  • get-o-tel-enrichment → get-otel-enrichment
  • start-o-tel-enrichment → start-otel-enrichment
  • stop-o-tel-enrichment → stop-otel-enrichment

The old o-tel names are kept as hidden aliases for backward compatibility using the v2 alias_command utility.

Changes:

  • Added awscli/customizations/cloudwatch.py with a building-command-table.cloudwatch event handler that renames the commands via alias_command.
  • Registered the handler in awscli/handlers.py.
  • Added functional tests verifying both old and new command names work.
  • Added a changelog entry.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

…aliases

Rename the 3 CloudWatch OTel enrichment CLI commands from o-tel to otel
naming, consistent with the OpenTelemetry community convention:
- get-o-tel-enrichment -> get-otel-enrichment
- start-o-tel-enrichment -> start-otel-enrichment
- stop-o-tel-enrichment -> stop-otel-enrichment

The old o-tel names are kept as hidden/undocumented aliases for backward
compatibility.
@ashovlin ashovlin merged commit ededd6f into aws:v2 Apr 23, 2026
70 of 73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants