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

[sdk/trace] support trace exporter that uses a batch processor and otlp exporter #464

Merged

Conversation

moh-osman3
Copy link
Contributor

@moh-osman3 moh-osman3 commented May 31, 2023

Description:
Adding support for collector based exporting (using batch processor and otlp exporter) for otel-go traces

Testing:
Successfully sent traces using a trace exporter from this change

@moh-osman3 moh-osman3 changed the title initial changes broken unit test [sdk/trace] support trace exporter that uses a batch processor and otlp exporter Jun 1, 2023
@moh-osman3 moh-osman3 marked this pull request as ready for review June 1, 2023 08:08
@moh-osman3 moh-osman3 requested a review from jmacd June 1, 2023 08:08
@moh-osman3 moh-osman3 force-pushed the mohosman/LS-47833/support-collector-based-exporting-for-traces branch from 37e51f5 to 760b229 Compare June 4, 2023 19:47
@moh-osman3 moh-osman3 requested a review from a team June 5, 2023 16:43
Copy link
Member

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

LGTM

"go.opentelemetry.io/otel/sdk/trace"
)

func copyAttributes(dest pcommon.Map, src attribute.Set) {
Copy link
Member

Choose a reason for hiding this comment

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

Will you add a TODO saying to consider creating an internal package somewhere near the top where the metrics and trace SDK can share this sort of common code?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review! Added the TODO

Copy link
Member

@jmacd jmacd left a comment

Choose a reason for hiding this comment

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

LGTM

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