honeycombio / honeycomb-opentelemetry-go

Honeycomb's OpenTelemetry Go SDK distribution
Apache License 2.0
21 stars 7 forks source link

split components module #203

Closed codeboten closed 4 months ago

codeboten commented 4 months ago

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

MikeGoldsmith commented 4 months ago

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