Releases: GoogleCloudPlatform/opentelemetry-operations-go
Releases · GoogleCloudPlatform/opentelemetry-operations-go
v1.0.0
v0.22.0 and v1.0.0-RC2
Breaking changes
Before | After |
---|---|
tp, shutdown, err := exporter.InstallNewPipeline(
exporterOpts,
sdkOpts...,
)
// handle error
defer shutdown() |
exporter, err := exporter.New(exporterOpts)
// handle error
tp := sdktrace.NewTracerProvider(
sdktrace.WithBatcher(exporter),
sdkOpts...,
)
defer tp.Shutdown(context.Background())
otel.SetTracerProvider(tp) |
tp, shutdown, err := exporter.NewExportPipeline(
exporterOpts,
sdkOpts...,
)
// handle error
defer shutdown() |
exporter, err := exporter.New(exporterOpts)
// handle error
tp := sdktrace.NewTracerProvider(
sdktrace.WithBatcher(exporter),
sdkOpts...,
)
defer tp.Shutdown(context.Background()) |
- Remove
ExportCustomSpans
and associated interface which were introduced in -RC1 (#187). - Un-export string constants from OTel semantic conventions (#192).
- Remove
DisplayNameFormatter
andDefaultTraceAttributes
from trace exporter options (#188, #191) - Use OTel
ErrorHandler
for handling errors (#196).
Enhancements
v0.21.0 and v1.0.0-RC1
Breaking changes
- Trace exporter now expects instances of the
ReadOnlySpan
interface rather than theSpanContext
struct.
New features
Implemented in #173, thanks to contributor @0xc0d!
- Trace exporter is compatible with v1.0.0-RC1 of opentelemetry-go stable components
- Metric exporter is compatible with v0.21.0 of opentelemetry-go unstable components
Additional details on the mix of version numbers
Enhancements
v0.20.1
v0.20.0
v0.19.0
v0.18.0
v0.17.0
Breaking changes
- Remove exporter-side bundling of traces and remove unused configuration parameters (#149, fixes #100). To recover the performance benefits of bundling, please use a BatchSpanProcessor.
New features
- Set
User-Agent
header correctly on requests to GCP APIs (#148) - Compatible with v0.17.0 of opentelemetry-go (#144, #145)