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

Support multiple-resource pipelines w/ a ResourceMap #490

Merged
merged 2 commits into from
Jun 21, 2023
Merged

Conversation

jmacd
Copy link
Member

@jmacd jmacd commented Jun 21, 2023

Description: Add a shared internal package, in it a common ResourceMap type. This caches the first resource value and re-uses it when possible, which is the common case. When the SDK Exporter is used for exporting generally (e.g., forwarding) it will fall back to the slower path but still be correct.

Adds new lightstep/sdk/trace go module to avoid a cycle.

Testing: New tests / benchmarks added.

@jmacd jmacd requested a review from moh-osman3 June 21, 2023 21:47
Copy link
Contributor

@moh-osman3 moh-osman3 left a comment

Choose a reason for hiding this comment

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

LGTM

@jmacd jmacd merged commit 08239d0 into main Jun 21, 2023
@jmacd jmacd deleted the jmacd/multires branch June 21, 2023 22:05
@jmacd jmacd mentioned this pull request Jun 21, 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.

2 participants