v0.33.0 and v1.9.0
New SDK metrics exporter
opentelemetry-go recently released a newly-rewritten (and spec-compliant) metrics API and SDK with v0.32.1. This opentelemetry-operations-go release is compatible with that new API + SDK. With that, we've made a few breaking changes to the SDK metrics exporter:
NewRawExporter
is deprecated in favor ofNew
.NewExportPipeline
is deprecated in favor ofNew
+metric.NewMeterProvider
.InstallNewPipeline
is deprecated in favor ofNew
+metric.NewMeterProvider
+global.SetMeterProvider
.WithOnError
option is removed. Useotel.SetErrorHandler
instead.WithInterval
option is removed. Usemetric.WithInterval
when you instantiatemetric.NewPeriodicReader
instead.
What's Changed
- Remove redundant conversion by @bogdandrutu in #480
- Don't use pointers to pdata structs by @dashpole in #482
- Increase default trace client duration from 5 seconds to 12 seconds by @dashpole in #476
- Include the status code we compute in the error message by @dashpole in #486
- Update opentelemetry dependencies by @dashpole in #487
- chore: update otel collector dependency to 0.61.0 by @codeboten in #489
- Fix TS must contain a metric errors, and cleanup error aggregation by @dashpole in #491
- Improve error handling by @dashpole in #492
- Prepare for v0.33.0 and v1.9.0 by @dashpole in #493
New Contributors
- @codeboten made their first contribution in #489
Full Changelog: v0.32.8...v0.33.0