This version introduces the List{Offline,Online,Possible,Present} functions (currently only implemented for Linux) which return a list of offline, online, possible or present CPUs, respectively.
This release notably drops go1.17 (due to dependencies that no longer support 1.17), and adds testing for go1.21 and go1.22.
Additionally adds a new function for iterating over only the headers of a the metadata. Previously this would have required assembling the full tar stream with is expensive for such an operation. Thanks @mtrmac
Add NewProducer to go.opentelemetry.io/contrib/instrumentation/runtime, which allows collecting the go.schedule.duration histogram metric from the Go runtime. (#5991)
Add gRPC protocol support for OTLP log exporter in go.opentelemetry.io/contrib/exporters/autoexport. (#6083)
Superfluous call to WriteHeader when flushing after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6074)
Superfluous call to WriteHeader when writing the response body after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6055)
Add NewProducer to go.opentelemetry.io/contrib/instrumentation/runtime, which allows collecting the go.schedule.duration histogram metric from the Go runtime. (#5991)
Add gRPC protocol support for OTLP log exporter in go.opentelemetry.io/contrib/exporters/autoexport. (#6083)
Superfluous call to WriteHeader when flushing after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6074)
Superfluous call to WriteHeader when writing the response body after setting a status code in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#6055)
This release is the last to support [Go 1.21].
The next release will require at least [Go 1.22].
Added
Add the WithSpanAttributes and WithMetricAttributes methods to set custom attributes to the stats handler in go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#5133)
The go.opentelemetry.io/contrib/bridges/otelzap module.
This module provides an OpenTelemetry logging bridge for go.uber.org/zap. (#5191)
Support for the OTEL_HTTP_CLIENT_COMPATIBILITY_MODE=http/dup environment variable in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to emit attributes for both the v1.20.0 and v1.26.0 semantic conventions. (#5401)
The go.opentelemetry.io/contrib/bridges/otelzerolog module.
This module provides an OpenTelemetry logging bridge for github.com/rs/zerolog. (#5405)
Add WithGinFilter filter parameter in go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin to allow filtering requests with *gin.Context. (#5743)
Support for stdoutlog exporter in go.opentelemetry.io/contrib/config. (#5850)
Add macOS ARM64 platform to the compatibility testing suite. (#5868)
Add new runtime metrics to go.opentelemetry.io/contrib/instrumentation/runtime, which are still disabled by default. (#5870)
Add the WithMetricsAttributesFn option to allow setting dynamic, per-request metric attributes in go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp. (#5876)
The go.opentelemetry.io/contrib/config package supports configuring with_resource_constant_labels for the prometheus exporter. (#5890)
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#5739)
The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#5773)
The WithResource option for NewLoggerProvider 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 in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#5780)
This release is the last to support [Go 1.21].
The next release will require at least [Go 1.22].
Added
Add MacOS ARM64 platform to the compatibility testing suite. (#5577)
Add InstrumentationScope field to SpanStub in go.opentelemetry.io/otel/sdk/trace/tracetest, as a replacement for the deprecated InstrumentationLibrary. (#5627)
Make the initial release of go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc.
This new module contains an OTLP exporter that transmits log telemetry using gRPC.
This module is unstable and breaking changes may be introduced.
See our versioning policy for more information about these stability guarantees. (#5629)
Add Walk function to TraceState in go.opentelemetry.io/otel/trace to iterate all the key-value pairs. (#5651)
Bridge the trace state in go.opentelemetry.io/otel/bridge/opencensus. (#5651)
Zero value of SimpleProcessor in go.opentelemetry.io/otel/sdk/log no longer panics. (#5665)
The FilterProcessor interface type is added in go.opentelemetry.io/otel/sdk/log/internal/x.
This is an optional and experimental interface that log Processors can implement to instruct the Logger if a Record will be processed or not.
It replaces the existing Enabled method that is removed from the Processor interface itself.
It does not fall within the scope of the OpenTelemetry Go versioning and stability policy and it may be changed in backwards incompatible ways or removed in feature releases. (#5692)
NewMemberRaw, NewKeyProperty and NewKeyValuePropertyRaw in go.opentelemetry.io/otel/baggage allow UTF-8 string in key. (#5132)
Processor.OnEmit in go.opentelemetry.io/otel/sdk/log now accepts a pointer to Record instead of a value so that the record modifications done in a processor are propagated to subsequent registered processors. (#5636)
SimpleProcessor.Enabled in go.opentelemetry.io/otel/sdk/log now returns false if the exporter is nil. (#5665)
Update the concurrency requirements of Exporter in go.opentelemetry.io/otel/sdk/log. (#5666)
SimpleProcessor in go.opentelemetry.io/otel/sdk/log synchronizes OnEmit calls. (#5666)
The Processor interface in go.opentelemetry.io/otel/sdk/log no longer includes the Enabled method.
See the FilterProcessor interface type added in go.opentelemetry.io/otel/sdk/log/internal/x to continue providing this functionality. (#5692)
Bumps the go-modules group with 10 updates in the / directory:
1.34.1
1.34.2
2.14.2
2.15.0
3.2.1
3.3.0
0.3.1
0.3.2
1.17.9
1.17.10
1.12.0
1.13.1
0.8.0
0.9.0
0.11.5
0.11.6
0.53.0
0.55.0
1.28.0
1.30.0
Updates
github.com/onsi/gomega
from 1.34.1 to 1.34.2Release notes
Sourced from github.com/onsi/gomega's releases.
Changelog
Sourced from github.com/onsi/gomega's changelog.
Commits
7cabed6
v1.34.2c59c6dc
bump ginkgo as well8158b99
bump to go 1.22 - remove x/exp dependencyUpdates
github.com/paketo-buildpacks/packit/v2
from 2.14.2 to 2.15.0Release notes
Sourced from github.com/paketo-buildpacks/packit/v2's releases.
Commits
1ab5b00
SyftCLIScanner: support SBOM generation with syft CLI884a7b7
Update to fix linterc3a3e6a
Updating github-configUpdates
github.com/Masterminds/semver/v3
from 3.2.1 to 3.3.0Release notes
Sourced from github.com/Masterminds/semver/v3's releases.
Changelog
Sourced from github.com/Masterminds/semver/v3's changelog.
Commits
e6e3d4d
Merge pull request #249 from mattfarina/update-changelog-3.3.0e80c4ea
Updating changelog for 3.3.080427ad
Merge pull request #248 from mattfarina/bump-min-versionb610837
bumping min version in go.mod based on what's testeda4cccd8
Merge pull request #246 from mattfarina/bump-go-1.237c178cf
Updating the testing version of Go used29f94c1
Merge pull request #241 from grosser/grosser/validate2cf1b16
Merge pull request #245 from mattfarina/remove-vertb55476a
Removing reference to vertd07450b
simplify StrictNewVersionUpdates
github.com/cpuguy83/dockercfg
from 0.3.1 to 0.3.2Release notes
Sourced from github.com/cpuguy83/dockercfg's releases.
Commits
a07c3d1
Merge pull request #3 from stevenh/chore/improve-errors91bd66a
chore: improve errorsUpdates
github.com/klauspost/compress
from 1.17.9 to 1.17.10Release notes
Sourced from github.com/klauspost/compress's releases.
Commits
2a46d6b
Update README.md4dafca9
ci: Upgrade Go & other (#1008)26519f8
zstd: Improve memory usage on small streaming encodes (#1007)51aa0ec
[gzhttp] Add supported decompress request body (#1002)13c1244
build(deps): bump github/codeql-action in the github-actions group (#997)62905e4
read data written with partial flush (#996)3868468
Fix typos (#986)8b81499
build(deps): bump the github-actions group with 2 updates (#985)d76f801
s2: Add EncodeBuffer buffer recycling callback (#982)cfab8bd
docs: Fix URL typo when installing builddict (#980)Updates
github.com/rogpeppe/go-internal
from 1.12.0 to 1.13.1Release notes
Sourced from github.com/rogpeppe/go-internal's releases.
Commits
e67a4aa
README: update the package list4794549
take advantage of Go 1.225ce929e
drop Go 1.21, add Go 1.233a65db1
dirhash: forward to golang.org/x/mod/sumdb/dirhash361e7d2
goproxytest: add test wrapper APIccf4b43
testscript: ignore result when interrupting background processes66960b6
Fix typos discovered by codespell5556500
cmd/testscript: do not create an extra temporary directory (#259)b143f3f
testscript: add Config.Files (#258)8300480
cmd/testscript: remove redundant use of Failed (#257)Updates
github.com/tklauser/numcpus
from 0.8.0 to 0.9.0Release notes
Sourced from github.com/tklauser/numcpus's releases.
Commits
0b05380
Don't skip testNumAndList if Get* fails or isn't supported8c67b16
.github: Bump actions/checkout from 4.1.7 to 4.2.003759c7
go.mod: bump golang.org/x/sys from 0.24.0 to 0.25.066b9208
ci: update Go to 1.23975ec65
go.mod: bump golang.org/x/sys from 0.23.0 to 0.24.07a80fe4
.github: Bump actions/setup-go from 5.0.1 to 5.0.2bbc341e
.cirrus.yml: update Go to 1.22.5, FreeBSD to 1.13.313b4a99
go.mod: bump golang.org/x/sys from 0.20.0 to 0.23.08a61286
.github: Bump actions/checkout from 4.1.6 to 4.1.7233c448
Simplify listCPURange implementationUpdates
github.com/vbatts/tar-split
from 0.11.5 to 0.11.6Release notes
Sourced from github.com/vbatts/tar-split's releases.
Commits
1f44cc4
Merge pull request #70 from vbatts/update-modsf39ca64
go*: update modulesac25d96
Merge pull request #72 from vbatts/go-versions84c1d45
github: drop go1.17, and add go1.21 & go1.2293a41cf
Merge pull request #71 from mtrmac/iterate99c8914
Add tar/asm.IterateHeadersfe4605a
Merge pull request #69 from testwill/typobd00927
fix: utility typoUpdates
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
from 0.53.0 to 0.55.0Release notes
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's releases.
... (truncated)
Changelog
Sourced from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp's changelog.
Commits
4ccc9c6
Release v1.30.0/v0.55.0/v0.24.0/v0.10.0/v0.5.0/v0.3.0/v0.2.0 (#6106)d312469
fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 (#6101)5425de9
Fix gosec lint issues (#6107)774b20e
chore(deps): update kubernetes packages to v0.31.0 (#5926)38e6e1e
chore(deps): update github.com/lufia/plan9stats digest to 873cd01 (#6098)9309161
fix(deps): update module google.golang.org/grpc to v1.66.1 (#6103)9a46844
fix(deps): update module github.com/aws/aws-sdk-go-v2/service/dynamodb to v1....f43f59e
fix(deps): update golang.org/x/exp digest to 701f63a (#6099)53b99ae
feat: add grpc support for log autoexport (#6083)23e6f6c
chore(deps): update module github.com/go-playground/validator/v10 to v10.22.1...Updates
go.opentelemetry.io/otel
from 1.28.0 to 1.30.0Changelog
Sourced from go.opentelemetry.io/otel's changelog.
... (truncated)
Commits
ed4fc75
Release v1.30.0/v0.52.0/v0.6.0/v0.0.9 (#5797)cdd2dbb
Drop support for Go 1.21 in dice example (#5800)e9ac0d2
fix(deps): update module google.golang.org/grpc to v1.66.1 (#5798)4cc9fee
fix(deps): update golang.org/x/exp digest to 701f63a (#5795)71b341f
Add utf8 support to the prometheus exporter (#5755)506a9ba
Fix typos (#5763)b37e8a9
SetMeterProvider
might miss the delegation for instruments and registries (...9e1b015
fix(metric, log): merge explicit resource with environment variables (#5773)8dca9cc
Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE envi...fb7cc02
fix(deps): update module github.com/prometheus/client_golang to v1.20.3 (#5788)Updates
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
from 1.28...Description has been truncated