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

[internal/aws] Update AWS clients to allow for configured request handlers. #129

Merged
merged 3 commits into from
Oct 20, 2023

Conversation

jefchien
Copy link

Description: Add middleware ID to config and added/modified Start function to try to configure the middleware. Made this change for awscloudwatchlogsexporter, awsemfexporter, and awsxrayexporter.

Update the clients to expose the AWS client request.Handlers. Slightly modified some exporters to enable middleware attachment on startup.

Link to tracking Issue: N/A

Testing: Added unit tests.

Documentation: N/A

@jefchien jefchien requested a review from mxiamxia as a code owner October 20, 2023 17:31
@jefchien jefchien changed the title Update AWS clients to allow for configured request handlers. [internal/aws] Update AWS clients to allow for configured request handlers. Oct 20, 2023
mitali-salvi
mitali-salvi previously approved these changes Oct 20, 2023
JayPolanco
JayPolanco previously approved these changes Oct 20, 2023
@jefchien jefchien dismissed stale reviews from JayPolanco and mitali-salvi via c88233e October 20, 2023 18:24
Add middleware ID to config and configure during exporter startup.
@jefchien jefchien merged commit 0e8671f into aws-cwa-dev Oct 20, 2023
@jefchien jefchien deleted the update-client branch October 20, 2023 19:06
lisguo pushed a commit to lisguo/opentelemetry-collector-contrib that referenced this pull request Oct 20, 2023
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