Skip to content

Merge customizations for CloudWatch OTel enrichment#3676

Merged
SamRemis merged 3 commits intoboto:developfrom
gcacace:rename-otel-cloudwatch
Apr 23, 2026
Merged

Merge customizations for CloudWatch OTel enrichment#3676
SamRemis merged 3 commits intoboto:developfrom
gcacace:rename-otel-cloudwatch

Conversation

@gcacace
Copy link
Copy Markdown
Contributor

@gcacace gcacace commented Apr 17, 2026

Description of changes:

Add _xform_cache special case entries for the 3 CloudWatch OTel enrichment operations so that xform_name produces otel instead of o_tel / o-tel:

  • GetOTelEnrichment → get_otel_enrichment / get-otel-enrichment
  • StartOTelEnrichment → start_otel_enrichment / start-otel-enrichment
  • StopOTelEnrichment → stop_otel_enrichment / stop-otel-enrichment

Without this fix, the camelCase OTel is incorrectly split into o_tel / o-tel. The correct form is otel, consistent with the OpenTelemetry (https://opentelemetry.io/) community convention.

This follows the same pattern as the SocialMessaging/WhatsApp customizations in 095b9cd.

Changes:

  • botocore/init.py — Added 6 entries (3 operations × 2 separators) to _xform_cache
  • tests/unit/test_utils.py — Added corresponding test assertions in test_special_cases

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

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 23, 2026

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.60%. Comparing base (ee748e4) to head (acc2870).
⚠️ Report is 139 commits behind head on develop.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #3676   +/-   ##
========================================
  Coverage    92.59%   92.60%           
========================================
  Files           68       68           
  Lines        15634    15685   +51     
========================================
+ Hits         14477    14525   +48     
- Misses        1157     1160    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SamRemis SamRemis merged commit b88d178 into boto:develop Apr 23, 2026
49 checks passed
aws-sdk-python-automation added a commit that referenced this pull request Apr 23, 2026
* release-1.42.95:
  Bumping version to 1.42.95
  Update to latest models
  Merge customizations for CloudWatch OTel enrichment (#3676)
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.

3 participants