Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/awsxrayexporter] fixed cloudwatch log group ARN parsing #13700

Merged
merged 3 commits into from Sep 14, 2022

Conversation

willarmiros
Copy link
Contributor

@willarmiros willarmiros commented Aug 29, 2022

Description:
Fixed the Log group ARN parsing logic to account for another, valid log group ARN representation that includes a trailing :* on the ARN. Before this fix, the parser would incorrectly pick up the asterisk as the log group name.

Before, we used bytes for performance, but now that we're actually returning what we call Split on, I think it makes more sense to use strings instead.

Link to tracking Issue:
fixes #13702
Full discussion on open-telemetry/opentelemetry-java#4574

Testing:
Modified a unit test to cover this case.

@github-actions
Copy link
Contributor

This PR was marked stale due to lack of activity. It will be closed in 14 days.

@github-actions github-actions bot added the Stale label Sep 13, 2022
@codeboten codeboten merged commit 4bc9979 into open-telemetry:main Sep 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Log Group Parsing bug in awsxrayexporter
2 participants