v1.30.0
版本发布时间: 2024-09-11 05:35:18
open-telemetry/opentelemetry-go最新发布版本:v1.30.0(2024-09-11 05:35:18)
Overview
Added
- Support
OTEL_EXPORTER_OTLP_LOGS_INSECURE
andOTEL_EXPORTER_OTLP_INSECURE
environments ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
. (#5739) - The
WithResource
option forNewMeterProvider
now merges the provided resources with the ones from environment variables. (#5773) - The
WithResource
option forNewLoggerProvider
now merges the provided resources with the ones from environment variables. (#5773) - Add UTF-8 support to
go.opentelemetry.io/otel/exporters/prometheus
. (#5755)
Fixed
- Fix memory leak in the global
MeterProvider
when identical instruments are repeatedly created. (#5754) - Fix panic on instruments creation when setting meter provider. (#5758)
- Fix an issue where
SetMeterProvider
ingo.opentelemetry.io/otel
might miss the delegation for instruments and registries. (#5780)
Removed
- Drop support for Go 1.21. (#5736, #5740, #5800)
What's Changed
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 4ba0660 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5734
- fix(deps): update module github.com/prometheus/client_golang to v1.20.2 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5733
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ba0660 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5735
- Drop support for Go 1.21 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5736
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.54.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5738
- fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.4.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5737
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6391c0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5742
- chore(deps): update google.golang.org/genproto/googleapis/api digest to f6391c0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5741
- Replace go 1.21 with go 1.22 in go mod by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5740
- chore(deps): update prom/prometheus docker tag to v2.54.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5744
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.108.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5749
- fix(deps): update module google.golang.org/grpc to v1.66.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5751
- fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5750
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 7e3bb23 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5745
- chore(deps): update module github.com/prometheus/common to v0.57.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5748
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 7e3bb23 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5746
- Fix duplicate instrumentation memory leak by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/5754
- Fix panic instruments creation when setting meter provider by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5758
- Ensure codespell failures fail CI by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/5761
- chore(deps): update module github.com/prometheus/common to v0.58.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5765
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 8af14fe by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5767
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 8af14fe by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5766
- Run ConcurrentSafe tests multiple times in CI by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5759
- chore(deps): update module golang.org/x/text to v0.18.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5775
- chore(deps): update module golang.org/x/sys to v0.25.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5776
- Group googleapis update by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5772
- fix(deps): update golang.org/x/exp digest to e7e105d by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5783
- Mention
test-concurrent-safe
CI job in CONTRIBUTING doc by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5781 - [chore] Remove toolchain directive by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/5784
- chore(deps): update module golang.org/x/net to v0.29.0 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5790
- chore(deps): update module github.com/prometheus/common to v0.59.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5789
- fix(deps): update module github.com/prometheus/client_golang to v1.20.3 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5788
- Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in grpc exporter by @amanakin in https://github.com/open-telemetry/opentelemetry-go/pull/5739
- fix(metric, log): merge explicit resource with environment variables by @basti1302 in https://github.com/open-telemetry/opentelemetry-go/pull/5773
-
SetMeterProvider
might miss the delegation for instruments and registries by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5780 - Fix typos by @NathanBaulch in https://github.com/open-telemetry/opentelemetry-go/pull/5763
- Add utf8 support to the prometheus exporter by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/5755
- fix(deps): update golang.org/x/exp digest to 701f63a by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5795
- fix(deps): update module google.golang.org/grpc to v1.66.1 by @renovate in https://github.com/open-telemetry/opentelemetry-go/pull/5798
- Drop support for Go 1.21 in dice example by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/5800
- Release v1.30.0/v0.52.0/v0.6.0/v0.0.9 by @XSAM in https://github.com/open-telemetry/opentelemetry-go/pull/5797
New Contributors
- @basti1302 made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5773
- @NathanBaulch made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/5763
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.29.0...v1.30.0