Releases: open-telemetry/opentelemetry-go
Release v1.23.0-rc.1
This is a release candidate for the v1.23.0 release. That release is expected to include the v1 release of the following modules:
go.opentelemetry.io/otel/bridge/opencensusgo.opentelemetry.io/otel/bridge/opencensus/testgo.opentelemetry.io/otel/example/opencensusgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpgo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
See our versioning policy for more information about these stability guarantees.
Release v1.22.0/v0.45.0
Added
- The
go.opentelemetry.io/otel/semconv/v1.22.0package.
The package contains semantic conventions from thev1.22.0version of the OpenTelemetry Semantic Conventions. (#4735) - The
go.opentelemetry.io/otel/semconv/v1.23.0package.
The package contains semantic conventions from thev1.23.0version of the OpenTelemetry Semantic Conventions. (#4746) - The
go.opentelemetry.io/otel/semconv/v1.23.1package.
The package contains semantic conventions from thev1.23.1version of the OpenTelemetry Semantic Conventions. (#4749) - The
go.opentelemetry.io/otel/semconv/v1.24.0package.
The package contains semantic conventions from thev1.24.0version of the OpenTelemetry Semantic Conventions. (#4770) - Add
WithResourceAsConstantLabelsoption to apply resource attributes for every metric emitted by the Prometheus exporter. (#4733) - Experimental cardinality limiting is added to the metric SDK.
See metric documentation for more information about this feature and how to enable it. (#4457) - Add
NewMemberRawandNewKeyValuePropertyRawingo.opentelemetry.io/otel/baggage. (#4804)
Changed
- Upgrade all use of
go.opentelemetry.io/otel/semconvto usev1.24.0. (#4754) - Update transformations in
go.opentelemetry.io/otel/exporters/zipkinto followv1.24.0version of the OpenTelemetry specification. (#4754) - Record synchronous measurements when the passed context is canceled instead of dropping in
go.opentelemetry.io/otel/sdk/metric.
If you do not want to make a measurement when the context is cancelled, you need to handle it yourself (e.gif ctx.Err() != nil). (#4671) - Improve
go.opentelemetry.io/otel/trace.TraceState's performance. (#4722) - Improve
go.opentelemetry.io/otel/propagation.TraceContext's performance. (#4721) - Improve
go.opentelemetry.io/otel/baggageperformance. (#4743) - Improve performance of the
(*Set).Filtermethod ingo.opentelemetry.io/otel/attributewhen the passed filter does not filter out any attributes from the set. (#4774) Member.Stringingo.opentelemetry.io/otel/baggagepercent-encodes only when necessary. (#4775)Property.Valueingo.opentelemetry.io/otel/baggagenow returns a raw string instead of a percent-encoded value. (#4804)
Fixed
- Fix
Parseingo.opentelemetry.io/otel/baggageto validate member value before percent-decoding. (#4755) - Fix whitespace encoding of
Member.Stringingo.opentelemetry.io/otel/baggage. (#4756) - Fix baggage item key so that it is not canonicalized in
go.opentelemetry.io/otel/bridge/opentracing. (#4776) - Fix
go.opentelemetry.io/otel/bridge/opentracingto properly handle baggage values that requires escaping during propagation. (#4804) - Fix a bug where using multiple readers resulted in incorrect asynchronous counter values in
go.opentelemetry.io/otel/sdk/metric. (#4742)
Release v1.21.0/v0.44.0
Removed
- Remove the deprecated
go.opentelemetry.io/otel/bridge/opencensus.NewTracer. (#4706) - Remove the deprecated
go.opentelemetry.io/otel/exporters/otlp/otlpmetricmodule. (#4707) - Remove the deprecated
go.opentelemetry.io/otel/example/viewmodule. (#4708) - Remove the deprecated
go.opentelemetry.io/otel/example/fibmodule. (#4723)
Fixed
Release v1.20.0/v0.43.0
This release brings a breaking change for custom trace API implementations. Some interfaces (TracerProvider, Tracer, Span) now embed the go.opentelemetry.io/otel/trace/embedded types. Implementors need to update their implementations based on what they want the default behavior to be. See the "API Implementations" section of the trace API package documentation for more about how to accomplish this.
Added
- Add
go.opentelemetry.io/otel/bridge/opencensus.InstallTraceBridge, which installs the OpenCensus trace bridge, and replacesopencensus.NewTracer. (#4567) - Add scope version to trace and metric bridges in
go.opentelemetry.io/otel/bridge/opencensus. (#4584) - Add the
go.opentelemetry.io/otel/trace/embeddedpackage to be embedded in the exported trace API interfaces. (#4620) - Add the
go.opentelemetry.io/otel/trace/nooppackage as a default no-op implementation of the trace API. (#4620) - Add context propagation in
go.opentelemetry.io/otel/example/dice. (#4644) - Add view configuration to
go.opentelemetry.io/otel/example/prometheus. (#4649) - Add
go.opentelemetry.io/otel/metric.WithExplicitBucketBoundaries, which allows defining default explicit bucket boundaries when creating histogram instruments. (#4603) - Add
Versionfunction ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4660) - Add
Versionfunction ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4660) - Add Summary, SummaryDataPoint, and QuantileValue to
go.opentelemetry.io/sdk/metric/metricdata. (#4622) go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducernow supports exemplars from OpenCensus. (#4585)- Add support for
WithExplicitBucketBoundariesingo.opentelemetry.io/otel/sdk/metric. (#4605) - Add support for Summary metrics in
go.opentelemetry.io/otel/bridge/opencensus. (#4668)
Deprecated
- Deprecate
go.opentelemetry.io/otel/bridge/opencensus.NewTracerin favor ofopencensus.InstallTraceBridge. (#4567) - Deprecate
go.opentelemetry.io/otel/example/fibpackage is in favor ofgo.opentelemetry.io/otel/example/dice. (#4618) - Deprecate
go.opentelemetry.io/otel/trace.NewNoopTracerProvider.
Use the addedNewTracerProviderfunction ingo.opentelemetry.io/otel/trace/noopinstead. (#4620) - Deprecate
go.opentelemetry.io/otel/example/viewpackage in favor ofgo.opentelemetry.io/otel/example/prometheus. (#4649) - Deprecate
go.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#4693)
Changed
go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducerreturns a*MetricProducerstruct instead of the metric.Producer interface. (#4583)- The
TracerProvideringo.opentelemetry.io/otel/tracenow embeds thego.opentelemetry.io/otel/trace/embedded.TracerProvidertype.
This extends theTracerProviderinterface and is is a breaking change for any existing implementation.
Implementors need to update their implementations based on what they want the default behavior of the interface to be.
See the "API Implementations" section of thego.opentelemetry.io/otel/tracepackage documentation for more information about how to accomplish this. (#4620) - The
Traceringo.opentelemetry.io/otel/tracenow embeds thego.opentelemetry.io/otel/trace/embedded.Tracertype.
This extends theTracerinterface and is is a breaking change for any existing implementation.
Implementors need to update their implementations based on what they want the default behavior of the interface to be.
See the "API Implementations" section of thego.opentelemetry.io/otel/tracepackage documentation for more informationabout how to accomplish this. (#4620) - The
Spaningo.opentelemetry.io/otel/tracenow embeds thego.opentelemetry.io/otel/trace/embedded.Spantype.
This extends theSpaninterface and is is a breaking change for any existing implementation.
Implementors need to update their implementations based on what they want the default behavior of the interface to be.
See the "API Implementations" section of thego.opentelemetry.io/otel/tracepackage documentation for more information about how to accomplish this. (#4620) go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcdoes no longer depend ongo.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#4660)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpdoes no longer depend ongo.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#4660)- Retry for
502 Bad Gatewayand504 Gateway TimeoutHTTP statuses ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4670) - Retry for
502 Bad Gatewayand504 Gateway TimeoutHTTP statuses ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#4670) - Retry for
RESOURCE_EXHAUSTEDonly if RetryInfo is returned ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4669) - Retry for
RESOURCE_EXHAUSTEDonly if RetryInfo is returned ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#4669) - Retry temporary HTTP request failures in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4679) - Retry temporary HTTP request failures in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#4679)
Fixed
- Fix improper parsing of characters such us
+,/byParseingo.opentelemetry.io/otel/baggageas they were rendered as a whitespace. (#4667) - Fix improper parsing of characters such us
+,/passed viaOTEL_RESOURCE_ATTRIBUTESingo.opentelemetry.io/otel/sdk/resourceas they were rendered as a whitespace. (#4699) - Fix improper parsing of characters such us
+,/passed viaOTEL_EXPORTER_OTLP_HEADERSandOTEL_EXPORTER_OTLP_METRICS_HEADERSingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcas they were rendered as a whitespace. (#4699) - Fix improper parsing of characters such us
+,/passed viaOTEL_EXPORTER_OTLP_HEADERSandOTEL_EXPORTER_OTLP_METRICS_HEADERSingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpas they were rendered as a whitespace. (#4699) - Fix improper parsing of characters such us
+,/passed viaOTEL_EXPORTER_OTLP_HEADERSandOTEL_EXPORTER_OTLP_TRACES_HEADERSingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracegrpcas they were rendered as a whitespace. (#4699) - Fix improper parsing of characters such us
+,/passed viaOTEL_EXPORTER_OTLP_HEADERSandOTEL_EXPORTER_OTLP_TRACES_HEADERSingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttpas they were rendered as a whitespace. (#4699) - In
go.opentelemetry.op/otel/exporters/prometheus, the exporter no longerCollects metrics afterShutdownis invoked. (#4648) - Fix documentation for
WithCompressoringo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#4695) - Fix documentation for
WithCompressoringo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4695)
Release v1.19.0/v0.42.0/v0.0.7
This release contains the first stable release of the OpenTelemetry Go metric SDK. Our project stability guarantees now apply to the go.opentelemetry.io/otel/sdk/metric package. See our versioning policy for more information about these stability guarantees.
Added
- Add the "Roll the dice" getting started application example in
go.opentelemetry.io/otel/example/dice. (#4539) - The
WithWriterandWithPrettyPrintoptions togo.opentelemetry.io/otel/exporters/stdout/stdoutmetricto set a customio.Writer, and allow displaying the output in human-readable JSON. (#4507)
Changed
- Allow '/' characters in metric instrument names. (#4501)
- The exporter in
go.opentelemetry.io/otel/exporters/stdout/stdoutmetricdoes not prettify its output by default anymore. (#4507) - Upgrade
gopkg.io/yamlfromv2tov3ingo.opentelemetry.io/otel/schema. (#4535)
Fixed
- In
go.opentelemetry.op/otel/exporters/prometheus, don't try to create the Prometheus metric on everyCollectif we know the scope is invalid. (#4499)
Removed
- Remove
"go.opentelemetry.io/otel/bridge/opencensus".NewMetricExporter, which is replaced byNewMetricProducer. (#4566)
Full Changelog: v1.18.0...v1.19.0
Release v1.19.0-rc.1/v0.42.0-rc.1
This is a release candidate for the v1.19.0/v0.42.0 release. That release is expected to include the v1 release of the OpenTelemetry Go metric SDK and will provide stability guarantees of that SDK. See our versioning policy for more information about these stability guarantees.
Changed
- Allow '/' characters in metric instrument names. (#4501)
Fixed
- In
go.opentelemetry.op/otel/exporters/prometheus, don't try to create the Prometheus metric on everyCollectif we know the scope is invalid. (#4499)
New Contributors
Full Changelog: v1.18.0...v1.19.0-rc.1
Release v1.18.0/v0.41.0/v0.0.6
This release drops the compatibility guarantee of Go 1.19.
Added
- Add
WithProduceroption ingo.opentelemetry.op/otel/exporters/prometheusto restore the ability to register producers on the prometheus exporter's manual reader. (#4473) - Add
IgnoreValueoption ingo.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatestto allow ignoring values when comparing metrics. (#4447)
Deprecated
- The
NewMetricExporteringo.opentelemetry.io/otel/bridge/opencensuswas deprecated inv0.35.0(#3541).
The deprecation notice format for the function has been corrected to trigger Go documentation and build tooling. (#4470)
Removed
- Removed the deprecated
go.opentelemetry.io/otel/exporters/jaegerpackage. (#4467) - Removed the deprecated
go.opentelemetry.io/otel/example/jaegerpackage. (#4467) - Removed the deprecated
go.opentelemetry.io/otel/sdk/metric/aggregationpackage. (#4468) - Removed the deprecated internal packages in
go.opentelemetry.io/otel/exporters/otlpand its sub-packages. (#4469) - Dropped guaranteed support for versions of Go less than 1.20. (#4481)
New Contributors
- @pkbhowmick made their first contribution in #4462
- @RangelReale made their first contribution in #4447
Full Changelog: v1.17.0...v1.18.0
Release v1.17.0/v0.40.0/v0.5.0
Added
- Export the
ManualReaderstruct ingo.opentelemetry.io/otel/sdk/metric. (#4244) - Export the
PeriodicReaderstruct ingo.opentelemetry.io/otel/sdk/metric. (#4244) - Add support for exponential histogram aggregations.
A histogram can be configured as an exponential histogram using a view with"go.opentelemetry.io/otel/sdk/metric".ExponentialHistogramas the aggregation. (#4245) - Export the
Exporterstruct ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#4272) - Export the
Exporterstruct ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#4272) - The exporters in
go.opentelemetry.io/otel/exporters/otlp/otlpmetricnow support theOTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCEenvironment variable. (#4287) - Add
WithoutCounterSuffixesoption ingo.opentelemetry.io/otel/exporters/prometheusto disable addition of_totalsuffixes. (#4306) - Add info and debug logging to the metric SDK in
go.opentelemetry.io/otel/sdk/metric. (#4315) - The
go.opentelemetry.io/otel/semconv/v1.21.0package.
The package contains semantic conventions from thev1.21.0version of the OpenTelemetry Semantic Conventions. (#4362) - Accept 201 to 299 HTTP status as success in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpandgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#4365) - Document the
TemporalityandAggregationmethods of the"go.opentelemetry.io/otel/sdk/metric".Exporter"need to be concurrent safe. (#4381) - Expand the set of units supported by the Prometheus exporter, and don't add unit suffixes if they are already present in
go.opentelemetry.op/otel/exporters/prometheus(#4374) - Move the
Aggregationinterface and its implementations fromgo.opentelemetry.io/otel/sdk/metric/aggregationtogo.opentelemetry.io/otel/sdk/metric. (#4435) - The exporters in
go.opentelemetry.io/otel/exporters/otlp/otlpmetricnow support theOTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATIONenvironment variable. (#4437) - Add the
NewAllowKeysFilterandNewDenyKeysFilterfunctions togo.opentelemetry.io/otel/attributeto allow convenient creation of allow-keys and deny-keys filters. (#4444)
Changed
- Starting from
v1.21.0of semantic conventions,go.opentelemetry.io/otel/semconv/{version}/httpconvandgo.opentelemetry.io/otel/semconv/{version}/netconvpackages will no longer be published. (#4145) - Log duplicate instrument conflict at a warning level instead of info in
go.opentelemetry.io/otel/sdk/metric. (#4202) - Return an error on the creation of new instruments in
go.opentelemetry.io/otel/sdk/metricif their name doesn't pass regexp validation. (#4210) NewManualReaderingo.opentelemetry.io/otel/sdk/metricreturns*ManualReaderinstead ofReader. (#4244)NewPeriodicReaderingo.opentelemetry.io/otel/sdk/metricreturns*PeriodicReaderinstead ofReader. (#4244)- Count the Collect time in the
PeriodicReadertimeout ingo.opentelemetry.io/otel/sdk/metric. (#4221) - The function
Newingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcreturns*Exporterinstead of"go.opentelemetry.io/otel/sdk/metric".Exporter. (#4272) - The function
Newingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpreturns*Exporterinstead of"go.opentelemetry.io/otel/sdk/metric".Exporter. (#4272) - If an attribute set is omitted from an async callback, the previous value will no longer be exported in
go.opentelemetry.io/otel/sdk/metric. (#4290) - If an attribute set is observed multiple times in an async callback in
go.opentelemetry.io/otel/sdk/metric, the values will be summed instead of the last observation winning. (#4289) - Allow the explicit bucket histogram aggregation to be used for the up-down counter, observable counter, observable up-down counter, and observable gauge in the
go.opentelemetry.io/otel/sdk/metricpackage. (#4332) - Restrict
Meters ingo.opentelemetry.io/otel/sdk/metricto only register and collect instruments it created. (#4333) PeriodicReader.ShutdownandPeriodicReader.ForceFlushingo.opentelemetry.io/otel/sdk/metricnow apply the periodic reader's timeout to the operation if the user provided context does not contain a deadline. (#4356, #4377)- Upgrade all use of
go.opentelemetry.io/otel/semconvto usev1.21.0. (#4408) - Increase instrument name maximum length from 63 to 255 characters in
go.opentelemetry.io/otel/sdk/metric. (#4434) - Add
go.opentelemetry.op/otel/sdk/metric.WithProduceras anOptionfor"go.opentelemetry.io/otel/sdk/metric".NewManualReaderand"go.opentelemetry.io/otel/sdk/metric".NewPeriodicReader. (#4346)
Removed
- Remove
Reader.RegisterProduceringo.opentelemetry.io/otel/metric.
Use the addedWithProduceroption instead. (#4346) - Remove
Reader.ForceFlushingo.opentelemetry.io/otel/metric.
Notice thatPeriodicReader.ForceFlushis still available. (#4375)
Fixed
- Correctly format log messages from the
go.opentelemetry.io/otel/exporters/zipkinexporter. (#4143) - Log an error for calls to
NewViewingo.opentelemetry.io/otel/sdk/metricthat have empty criteria. (#4307) - Fix
"go.opentelemetry.io/otel/sdk/resource".WithHostID()to not set an emptyhost.id. (#4317) - Use the instrument identifying fields to cache aggregators and determine duplicate instrument registrations in
go.opentelemetry.io/otel/sdk/metric. (#4337) - Detect duplicate instruments for case-insensitive names in
go.opentelemetry.io/otel/sdk/metric. (#4338) - The
ManualReaderwill not panic ifAggregationSelectorreturnsnilingo.opentelemetry.io/otel/sdk/metric. (#4350) - If a
Reader'sAggregationSelectorreturnsnilorDefaultAggregationthe pipeline will use the default aggregation. (#4350) - Log a suggested view that fixes instrument conflicts in
go.opentelemetry.io/otel/sdk/metric. (#4349) - Fix possible panic, deadlock and race condition in batch span processor in
go.opentelemetry.io/otel/sdk/trace. (#4353) - Improve context cancellation handling in batch span processor's
ForceFlushingo.opentelemetry.io/otel/sdk/trace. (#4369) - Decouple
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internalfromgo.opentelemetry.io/otel/exporters/otlp/internalusing gotmpl. (#4397, #3846) - Decouple
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internalfromgo.opentelemetry.io/otel/exporters/otlp/internalandgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/internalusing gotmpl. (#4404, #3846) - Decouple
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internalfromgo.opentelemetry.io/otel/exporters/otlp/internalandgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/internalusing gotmpl. (#4407, #3846) - Decouple
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internalfromgo.opentelemetry.io/otel/exporters/otlp/internalandgo.opentelemetry.io/otel/exporters/otlp/otlptrace/internalusing gotmpl. (#4400, #3846) - Decouple
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internalfromgo.opentelemetry.io/otel/exporters/otlp/internalandgo.opentelemetry.io/otel/exporters/otlp/otlptrace/internalusing gotmpl. (#4401, #3846) - Do not block the metric SDK when OTLP metric exports are blocked in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpcandgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#3925, #4395) - Do not append
_totalif the counter already has that suffix for the Prometheus exproter ingo.opentelemetry.io/otel/exporter/prometheus. (#4373) - Fix resource detection data race in
go.opentelemetry.io/otel/sdk/resource. (#4409) - Use the first-seen instrument name during instrument name conflicts in
go.opentelemetry.io/otel/sdk/metric. (#4428)
Deprecated
- The
go.opentelemetry.io/otel/exporters/jaegerpackage is deprecated.
OpenTelemetry dropped support for Jaeger exporter in July 2023.
Usego.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
orgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcinstead. (#4423) - The
go.opentelemetry.io/otel/example/jaegerpackage is deprecated. (#4423) - The
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internalpackage is deprecated. (#4420) - The
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/oconfpackage is deprecated. (#4420) - The
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otestpackage is deprecated. (#4420) - The
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transformpackage is deprecated. (#4420) - The
go.opentelemetry.io/otel/exporters/otlp/internalpackage is deprecated. (#4421) - The
go.opentelemetry.io/otel/exporters/otlp/internal/envconfigpackage is deprecated. (#4421) - The
go.opentelemetry.io/otel/exporters/otlp/internal/retrypackage is deprecated. (#4421) - The
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internalpackage is deprecated. (#4425) - The
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/envconfigpackage is deprecated. (#4425) - The
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfigpackage is deprecated. (#4425) - The
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetestpackage is deprecated. (#4425) - The
go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/retrypackage is deprecated. (#4425) - The
go.opentelemetry.io/otel/sdk/metric/aggregationpackage is deprecated.
Use the aggregation types added togo.opentelemetry.io/otel/sdk/metricinstead. (#4435)
New Contributors
- @serdarkalayci made their first contribution in #4129
- @Jorropo made their first contributi...
Release v1.16.0/v0.39.0 -- Stable Metric API
This release contains the first stable release of the OpenTelemetry Go metric API. Our project stability guarantees now apply to the go.opentelemetry.io/otel/metric package. See our versioning policy for more information about these stability guarantees.
What's Changed
Added
- The
go.opentelemetry.io/otel/semconv/v1.19.0package. The package contains semantic conventions from thev1.19.0version of the OpenTelemetry specification. (#3848) - The
go.opentelemetry.io/otel/semconv/v1.20.0package. The package contains semantic conventions from thev1.20.0version of the OpenTelemetry specification. (#4078)
Changed
- Use
strings.Cut()instead ofstring.SplitN()for better readability and memory use. (#4049)
Removed
- The deprecated
go.opentelemetry.io/otel/metric/instrumentpackage is removed. Usego.opentelemetry.io/otel/metricinstead. (#4055)
Fixed
- Fix build for BSD based systems in
go.opentelemetry.io/otel/sdk/resource. (#4077)
New Contributors
- @tsloughter made their first contribution in #3848
- @Tijmen34 made their first contribution in #4074
- @ChillOrb made their first contribution in #3677
- @ChenX1993 made their first contribution in #4043
- @andrew-womeldorf made their first contribution in #4086
Full Changelog: v1.15.1...v1.16.0
Release v1.16.0-rc.1/v0.39.0-rc.1
This is a release candidate for the v1.16.0/v0.39.0 release. That release is expected to include the v1 release of the OpenTelemetry Go metric API and will provide stability guarantees of that API. See our versioning policy for more information about these stability guarantees.
Added
- Support global
MeterProvideringo.opentelemetry.io/otel. (#4039)- Use
Meterfor ametric.Meterfrom the globalmetric.MeterProvider. - Use
GetMeterProivderfor a globalmetric.MeterProvider. - Use
SetMeterProivderto set the globalmetric.MeterProvider.
- Use
Changed
- Move the
go.opentelemetry.io/otel/metricmodule to thestable-v1module set. This stages the metric API to be released as a stable module. (#4038)
Removed
- The
go.opentelemetry.io/otel/metric/globalpackage is removed.
Usego.opentelemetry.io/otelinstead. (#4039)