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/datadog] Add ECS Fargate source provider #11030

Merged
merged 7 commits into from
Jun 21, 2022

Conversation

mx-psi
Copy link
Member

@mx-psi mx-psi commented Jun 14, 2022

Description:

  • Refactor current logic to a concept of source that identifies where a telemetry payload comes from (host or serverless function)
  • Adds ECS Fargate source provider on the preview hostname logic.

The source refactor is entirely internal. The ECS Fargate logic will be exposed by #10926 but this PR needs no changelog since this logic is behind a constant for now.

Link to tracking Issue: #10424

Testing: Added unit tests.

@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Jun 14, 2022
@mx-psi mx-psi marked this pull request as ready for review June 15, 2022 14:00
@mx-psi mx-psi requested review from a team and bogdandrutu June 15, 2022 14:00
The correct way is to build the zero value of an error and pass its pointer
Copy link
Contributor

@KSerrania KSerrania left a comment

Choose a reason for hiding this comment

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

LGTM

@mx-psi mx-psi added the ready to merge Code review completed; ready to merge by maintainers label Jun 20, 2022
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Please resolve the conflicts 👍🏻

@mx-psi
Copy link
Member Author

mx-psi commented Jun 21, 2022

@codeboten done!

@codeboten codeboten merged commit 9aec3dc into open-telemetry:main Jun 21, 2022
@mx-psi mx-psi deleted the mx-psi/ecs-fargate-preview branch June 21, 2022 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready to merge Code review completed; ready to merge by maintainers Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants