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

split components module #203

Closed
wants to merge 4 commits into from
Closed

split components module #203

wants to merge 4 commits into from

Conversation

codeboten
Copy link
Contributor

@codeboten codeboten commented Apr 10, 2024

Which problem is this PR solving?

Reduce the scope of the package users must import to use the SpanLinkExporter, BaggageSpanProcessor, and DeterministicSampler

Short description of the changes

This change creates the "github.com/honeycombio/honeycomb-opentelemetry-go/components" module that includes the same methods that were previously available from "github.com/honeycombio/honeycomb-opentelemetry-go". The other update in this change is the import of that package for the distro.

How to verify that this has the expected result

Smoke tests continue to pass

This adds an example of using the following components with a vanilla OTel setup:

- local visualization through the SpanLinkExporter + SimpleSpanProcessor
- deterministic sample
- baggage span processor

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten requested a review from a team as a code owner April 10, 2024 21:14
@codeboten codeboten marked this pull request as draft April 10, 2024 21:14
@codeboten codeboten changed the title Codeboten/split components split components module Apr 10, 2024
@MikeGoldsmith MikeGoldsmith added type: enhancement New feature or request version: bump minor A PR that adds behavior, but is backwards-compatible. type: maintenance The necessary chores to keep the dust off. and removed type: enhancement New feature or request labels Apr 11, 2024
@MikeGoldsmith
Copy link
Contributor

We're not going ahead with breaking distro. Individual parts will only available as part of the distro. Baggage span processor is being contributed to otel-go-contrib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance The necessary chores to keep the dust off. version: bump minor A PR that adds behavior, but is backwards-compatible.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants