v1.23.0
版本发布时间: 2024-02-06 23:54:57
open-telemetry/opentelemetry-go最新发布版本:v1.30.0(2024-09-11 05:35:18)
This release contains the first stable, v1
, release of the following modules:
-
go.opentelemetry.io/otel/bridge/opencensus
-
go.opentelemetry.io/otel/bridge/opencensus/test
-
go.opentelemetry.io/otel/example/opencensus
-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
-
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
See our versioning policy for more information about these stability guarantees.
Added
- Add
WithEndpointURL
option to theexporters/otlp/otlpmetric/otlpmetricgrpc
,exporters/otlp/otlpmetric/otlpmetrichttp
,exporters/otlp/otlptrace/otlptracegrpc
andexporters/otlp/otlptrace/otlptracehttp
packages. (#4808) - Experimental exemplar exporting is added to the metric SDK. See metric documentation for more information about this feature and how to enable it. (#4871)
-
ErrSchemaURLConflict
is added togo.opentelemetry.io/otel/sdk/resource
. This error is returned when a merge of twoResource
s with different (non-empty) schema URL is attempted. (#4876)
Changed
- The
Merge
andNew
functions ingo.opentelemetry.io/otel/sdk/resource
now returns a partial result if there is a schema URL merge conflict. Instead of returningnil
when twoResource
s with different (non-empty) schema URLs are merged the mergedResource
, along with the newErrSchemaURLConflict
error, is returned. It is up to the user to decide if they want to use the returnedResource
or not. It may have desired attributes overwritten or include stale semantic conventions. (#4876)
Fixed
- Fix
ContainerID
resource detection on systemd when cgroup path has a colon. (#4449) - Fix
go.opentelemetry.io/otel/sdk/metric
to cache instruments to avoid leaking memory when the same instrument is created multiple times. (#4820) - Fix missing
Mix
andMax
values forgo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
by introducingMarshalText
andMarshalJSON
for theExtrema
type ingo.opentelemetry.io/sdk/metric/metricdata
. (#4827)
New Contributors
- @Fricounet made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/4449
- @StLeoX made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/4855
- @m-posluszny made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/4827
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.22.0...v1.23.0