Skip to content

Implement ApplicationSignals Logs integ tests for dynamic placeholders for otlp headers, and add Metrics tests for routing & OTLP endpoint#690

Open
jj22ee wants to merge 5 commits into
aws:mainfrom
jj22ee:awscwlogsprovisioner-tests
Open

Implement ApplicationSignals Logs integ tests for dynamic placeholders for otlp headers, and add Metrics tests for routing & OTLP endpoint#690
jj22ee wants to merge 5 commits into
aws:mainfrom
jj22ee:awscwlogsprovisioner-tests

Conversation

@jj22ee
Copy link
Copy Markdown

@jj22ee jj22ee commented May 11, 2026

Description of the issue and changes

Add tests for changes in: aws/amazon-cloudwatch-agent#2111

License

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

Tests

  • TestAppSignalsLogsDynamicRouting — Multiple services route to separate log groups with correct stream names; verifies unknown_service:java truncation and internal attribute cleanup
  • TestAppSignalsLogsNoisyNeighbor — Invalid service name (colons) doesn't block healthy services; validates provisioner failure is logged
  • TestAppSignalsLogsDefaultPlaceholder — Missing service.name defaults to unknown_service; missing attrs default to unknown; no invalid log group creation attempted
  • TestAppSignalsLogsRouting — Routing connector splits logs between batch and no-batch pipelines based on event.name == "aws.service_events.aggregate_profile"
  • TestAppSignalsMetricsRouting — Routing connector splits metrics between EMF (Latency/Error/Fault) and OTLP monitoring endpoint (ServiceEvents); validates via PromQL query

@jj22ee jj22ee requested a review from a team as a code owner May 11, 2026 11:05
@jj22ee jj22ee changed the title Implement ApplicationSignals Logs integ tests for dynamic placeholders for otlp headers Implement ApplicationSignals Logs integ tests for dynamic placeholders for otlp headers, and add Metrics tests for routing & OTLP endpoint May 22, 2026
@jj22ee jj22ee force-pushed the awscwlogsprovisioner-tests branch from d6ef3ab to 39d9b61 Compare May 22, 2026 11:11
@jj22ee jj22ee force-pushed the awscwlogsprovisioner-tests branch from 144d480 to 5a5afad Compare May 22, 2026 18:16
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.

1 participant