| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| opentelemetry-go-1.40.0.zip | 2026-02-02 | 4.2 MB | |
| opentelemetry-go-1.40.0.tar.gz | 2026-02-02 | 3.5 MB | |
| opentelemetry-go-1.40.0.tar.gz.asc | 2026-02-02 | 833 Bytes | |
| opentelemetry-go-1.40.0.zip.asc | 2026-02-02 | 833 Bytes | |
| README.md | 2026-02-02 | 19.9 kB | |
| Release v1.40.0_v0.62.0_v0.16.0 source code.tar.gz | 2026-02-02 | 3.5 MB | |
| Release v1.40.0_v0.62.0_v0.16.0 source code.zip | 2026-02-02 | 4.3 MB | |
| Totals: 7 Items | 15.5 MB | 0 | |
Overview
Added
- Add
Enabledmethod to all synchronous instrument interfaces (Float64Counter,Float64UpDownCounter,Float64Histogram,Float64Gauge,Int64Counter,Int64UpDownCounter,Int64Histogram,Int64Gauge,) ingo.opentelemetry.io/otel/metric. This stabilizes the synchronous instrument enabled feature, allowing users to check if an instrument will process measurements before performing computationally expensive operations. (#7763) - Add
AlwaysRecordsampler ingo.opentelemetry.io/otel/sdk/trace. (#7724) - Add
go.opentelemetry.io/otel/semconv/v1.39.0package. The package contains semantic conventions from thev1.39.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.38.0.(#7783, [#7789])
Changed
Exporteringo.opentelemetry.io/otel/exporters/prometheusignores metrics with the scopego.opentelemetry.io/contrib/bridges/prometheus. This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688)- Improve performance of concurrent histogram measurements in
go.opentelemetry.io/otel/sdk/metric. (#7474) - Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#7492) - Improve the concurrent performance of
HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarby 4x. (#7443) - Improve performance of concurrent synchronous gauge measurements in
go.opentelemetry.io/otel/sdk/metric. (#7478) - Improve performance of concurrent exponential histogram measurements in
go.opentelemetry.io/otel/sdk/metric. (#7702) - Improve the concurrent performance of
FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplar. (#7447) - The
rpc.grpc.status_codeattribute in the experimental metrics emitted fromgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcis replaced with therpc.response.status_codeattribute to align with the semantic conventions. (#7854) - The
rpc.grpc.status_codeattribute in the experimental metrics emitted fromgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpcis replaced with therpc.response.status_codeattribute to align with the semantic conventions. (#7854)
Fixed
- Fix bad log message when key-value pairs are dropped because of key duplication in
go.opentelemetry.io/otel/sdk/log. (#7662) - Fix
DroppedAttributesonRecordingo.opentelemetry.io/otel/sdk/logto not count the non-attribute key-value pairs dropped because of key duplication. (#7662) - Fix
SetAttributesonRecordingo.opentelemetry.io/otel/sdk/logto not log that attributes are dropped when they are actually not dropped. (#7662) WithHostIDdetector ingo.opentelemetry.io/otel/sdk/resourceto use full path forioregcommand on Darwin (macOS). (#7818)- Fix missing
request.GetBodyingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpto correctly handle HTTP2 GOAWAY frame. (#7794)
Deprecated
- Deprecate
go.opentelemetry.io/otel/exporters/zipkin. For more information, see the OTel blog post deprecating the Zipkin exporter. (#7670)
What's Changed
- fix(deps): update opentelemetry-go monorepo to v0.15.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7690
- chore(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7689
- fix(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7691
- prometheus exporter ignores metrics from the Prometheus bridge by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7688
- chore(deps): update codecov/codecov-action action to v5.5.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7693
- fix(deps): update golang.org/x to 8475f28 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7692
- chore(deps): update github.com/securego/gosec/v2 digest to b6eea26 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7694
- chore(deps): update module github.com/securego/gosec/v2 to v2.22.11 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7696
- Use sync.Map and atomics for fixed bucket histograms by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7474
- chore(deps): update actions/cache action to v5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7701
- chore(deps): update otel/weaver docker tag to v0.20.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7698
- fix(deps): update module google.golang.org/protobuf to v1.36.11 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7704
- chore(deps): update github/codeql-action action to v4.31.8 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7703
- sdk/log: improve Processor documentation by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/7695
- chore(deps): update github artifact actions (major) by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7707
- chore(deps): update actions/cache action to v5.0.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7705
- fix(deps): update googleapis to 97cd9d5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7708
- stdoutmetric exporter observability by @mahendrabishnoi2 in https://github.com/open-telemetry/opentelemetry-go/pull/7492
- Optimize histogram reservoir by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7443
- chore(deps): update golang.org/x/telemetry digest to e75fd47 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7710
- Use sync.Map and atomics for lastvalue aggregations by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7478
- chore(deps): update module go.opentelemetry.io/collector/featuregate to v1.48.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7713
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.48.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7716
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.21.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7715
- Exponential histogram: defer computing count until collect by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7702
- address feedback from [#7478] by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7718
- chore(deps): update github/codeql-action action to v4.31.9 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7722
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.21.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7726
- chore(deps): update golang.org/x/telemetry digest to 2adc8cf by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7725
- chore(deps): update golang.org/x/telemetry digest to 7004b74 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7727
- chore(deps): update module github.com/burntsushi/toml to v1.6.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7728
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.18 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7731
- chore(deps): update golang.org/x/telemetry digest to e0dd3dd by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7732
- fix(deps): update golang.org/x to 944ab1f by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7733
- fix(deps): update module google.golang.org/grpc to v1.78.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7742
- fix(deps): update googleapis to 0a764e5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7740
- chore(deps): update golang.org/x/telemetry digest to 3f2a21f by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7739
- chore(deps): update module github.com/cloudflare/circl to v1.6.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7741
- chore(deps): update module github.com/godoc-lint/godoc-lint to v0.11.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7746
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7747
- Add test cases to
TestEmitinattributeby @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7751 - fix(deps): update module go.opentelemetry.io/collector/pdata to v1.49.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7754
- chore(deps): update module github.com/prometheus/common to v0.67.5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7752
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.4.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7756
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 492b5bc by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7759
- chore(deps): update module github.com/go-critic/go-critic to v0.14.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7757
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 19053a8 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7760
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.8.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7758
- fix(deps): update module golang.org/x/sys to v0.40.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7761
- chore(deps): update module github.com/nunnatsa/ginkgolinter to v0.22.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7762
- chore(deps): update module go.augendre.info/arangolint to v0.4.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7765
- chore(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7769
- chore(deps): update module github.com/alexkohler/prealloc to v1.0.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7767
- chore(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7771
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.22.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7772
- sdk/trace: Add
AlwaysRecordsampler by @vitorvasc in https://github.com/open-telemetry/opentelemetry-go/pull/7724 - metric: add Enabled method to synchronous instruments by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/7763
- chore(deps): update github/codeql-action action to v4.31.10 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7773
- fix(deps): update googleapis to 99fd39f by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7774
- chore(deps): update module github.com/go-viper/mapstructure/v2 to v2.5.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7775
- fix(deps): update golang.org/x by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7776
- chore(deps): update actions/setup-go action to v6.2.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7778
- Add TestMergeIdempotent and TestEquivalentStability tests by @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7764
- sdk/log: fix "limit reached" logging and Record.DroppedAttributes by @mexirica in https://github.com/open-telemetry/opentelemetry-go/pull/7662
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7779
- chore(deps): update module dev.gaijin.team/go/golib to v0.8.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7780
- fix(deps): update googleapis to 3f89685 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7785
- chore(deps): update module github.com/sirupsen/logrus to v1.9.4 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7787
- Generate semconv/v1.39.0 by @ChrsMark in https://github.com/open-telemetry/opentelemetry-go/pull/7783
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.19 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7793
- chore(deps): update golang.org/x/telemetry digest to c6413dc by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7795
- chore(deps): update actions/cache action to v5.0.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7798
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.23.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7802
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.3.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7805
- Explicitly discourage the use of mutexes inside callbacks by @agagniere in https://github.com/open-telemetry/opentelemetry-go/pull/7792
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7809
- chore(deps): update module go.opentelemetry.io/collector/featuregate to v1.50.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7814
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.50.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7815
- fix(deps): update googleapis to b8f7ae3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7819
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7820
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to e5a2b31 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7821
- Bump semconv from v1.37.0 to v1.39.0 by @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7789
- support stdlib request.GetBody by @morus12 in https://github.com/open-telemetry/opentelemetry-go/pull/7794
- resource: specify full path for ioreg command in Darwin host ID reader by @pellared in https://github.com/open-telemetry/opentelemetry-go/pull/7818
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7822
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.5 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7823
- chore(deps): update actions/checkout action to v6.0.2 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7826
- chore(deps): update module github.com/bombsimon/wsl/v5 to v5.6.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7827
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.23.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7830
- fix(deps): update googleapis to 8e98ce8 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7829
- chore(deps): update module github.com/cloudflare/circl to v1.6.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7828
- Optimize fixedsize reservoir by @dashpole in https://github.com/open-telemetry/opentelemetry-go/pull/7447
- chore(deps): update github/codeql-action action to v4.31.11 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7832
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.4.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7835
- fix(x): correct source filename in generated test files by @flc1125 in https://github.com/open-telemetry/opentelemetry-go/pull/7766
- chore(deps): update github/codeql-action action to v4.32.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7837
- fix(deps): update googleapis to d11affd by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7838
- chore(deps): update golang.org/x/telemetry digest to 58372ce by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7839
- fix(deps): update googleapis to 8636f87 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7841
- Deprecate the zipkin exporter by @dmathieu in https://github.com/open-telemetry/opentelemetry-go/pull/7670
- chore(deps): update golang.org/x/telemetry digest to fcf36f6 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7843
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.6 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7844
- chore(deps): update github.com/timakin/bodyclose digest to 73d1f95 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7845
- chore(deps): update actions/cache action to v5.0.3 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7847
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.7 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7852
- refactor: modernize code by @alexandear in https://github.com/open-telemetry/opentelemetry-go/pull/7850
- Upgrade semconv use to v1.39.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7854
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.5.0 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7857
- chore(deps): update github/codeql-action action to v4.32.1 by @renovate[bot] in https://github.com/open-telemetry/opentelemetry-go/pull/7858
- Release v1.40.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7859
New Contributors
- @itssaharsh made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7751
- @vitorvasc made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7724
- @mexirica made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7662
- @ChrsMark made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7783
- @agagniere made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7792
- @morus12 made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7794
- @alexandear made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/7850
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.39.0...v1.40.0