Skip to content

Conversation

Stephen-Bao
Copy link
Contributor

@Stephen-Bao Stephen-Bao commented Aug 9, 2022

Issue #, if available:
#65

Description of changes:
Added logic to replace colon(:) with hyphen(-) when using the service name as part of the log group name. This prevents the violation for log group name regex when the service name is of format “repo:tag” in ECS environment, which is a bug when using the library to publish metrics in ECS without extra configuration.

Measures for testing:
Reproduced the issue in ECS environment with CloudWatch Agent for publishing metrics, then deployed with the new library and the issue is gone.

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

@Stephen-Bao Stephen-Bao linked an issue Aug 10, 2022 that may be closed by this pull request
@Stephen-Bao Stephen-Bao merged commit 4c242fc into awslabs:master Aug 10, 2022
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.

ECS formatted image name is not suitable as a default log group
3 participants