Skip to content

Feature/xray otlp config#5583

Closed
geekgirl10 wants to merge 3 commits intoopensearch-project:mainfrom
huypham612:feature/xray-otlp-config
Closed

Feature/xray otlp config#5583
geekgirl10 wants to merge 3 commits intoopensearch-project:mainfrom
huypham612:feature/xray-otlp-config

Conversation

@geekgirl10
Copy link
Contributor

@geekgirl10 geekgirl10 commented Apr 3, 2025

Description

This PR introduces the following changes:

  • Add XRayOTLPSinkConfig class for X-Ray OTLP sink configuration
  • Add AwsAuthenticationConfiguration class for AWS-specific settings
  • Add unit tests for XRayOTLPSinkConfig and AwsAuthenticationConfiguration
  • Update build.gradle with necessary dependencies

These changes provide the foundation for configuring the X-Ray OTLP sink
in Data Prepper, allowing users to specify AWS region, STS role ARN,
and external ID for authentication.

The configuration follows Data Prepper's standards and includes proper
validation for required fields.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

huypham612 and others added 3 commits April 3, 2025 09:46
Signed-off-by: huy pham <huyp@amazon.com>
- Updated `XRayOTLPSink` to accept `Record<Span>` instead of `Record<String>`
- Added sample pipeline config and OTLP test span JSON under `src/test/resources`
- Verified local pipeline ingest and logging using `grpcurl`
- Extended README with developer instructions for running and testing locally

These changes establish the foundation for local testing and future X-Ray integration logic.

Signed-off-by: huy pham <huyp@amazon.com>
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.

2 participants