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

Add aws xray receiver #421

Merged
merged 1 commit into from
Sep 13, 2021
Merged

Add aws xray receiver #421

merged 1 commit into from
Sep 13, 2021

Conversation

VineethReddy02
Copy link
Contributor

@VineethReddy02 VineethReddy02 commented Sep 7, 2021

Syncing AWS XRAY receiver from collector-contrib. Added the default port as 2000 as mentioned in README.md.

Just to be clear I am not adding any other default config parameters such as transport as udp and other fields as we expect this to be taken care by users right?. We are only concerned with default port that needs to be exposed for this particular receiver.

WDYT @jpkrohling ?

Part of #128

@VineethReddy02 VineethReddy02 requested review from a team and dmitryax September 7, 2021 06:41
@jpkrohling
Copy link
Member

We are only concerned with default port that needs to be exposed for this particular receiver

Correct, but if the default port is on UDP, then we might want to handle that as well. Otherwise, we'll open a default port for TCP when it should be UDP.

@VineethReddy02
Copy link
Contributor Author

In AWS xray receiver the port for both UDP and TCP are the same, they differentiate this with another field called transport user should configure it as either udp or tcp.

Aws xray udp endpoint
Aws xray tcp endpoint

@VineethReddy02
Copy link
Contributor Author

@jpkrohling once #422 gets merged I will rebase this PR to resolve the conflicts.

const parserNameAWSXRAY = "__awsxray"

// NewAwsXrayReceiverParser builds a new parser for AWS xray receivers, from the contrib repository.
func NewAwsXrayReceiverParser(logger logr.Logger, name string, config map[interface{}]interface{}) ReceiverParser {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
func NewAwsXrayReceiverParser(logger logr.Logger, name string, config map[interface{}]interface{}) ReceiverParser {
func NewAWSXrayReceiverParser(logger logr.Logger, name string, config map[interface{}]interface{}) ReceiverParser {

@jpkrohling jpkrohling merged commit 7fba996 into open-telemetry:main Sep 13, 2021
shree007 pushed a commit to shree007/opentelemetry-operator that referenced this pull request Dec 12, 2021
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
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