Releases: open-telemetry/opentelemetry-go
Releases · open-telemetry/opentelemetry-go
Experimental logs v0.12.2
- Retract
v0.12.0
release ofgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
module that contains invalid dependencies. (#6804) - Retract
v0.12.0
release ofgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
module that contains invalid dependencies. (#6804) - Retract
v0.12.0
release ofgo.opentelemetry.io/otel/exporters/stdout/stdoutlog
module that contains invalid dependencies. (#6804)
Release v1.36.0/v0.58.0/v0.12.0
Added
- Add exponential histogram support in
go.opentelemetry.io/otel/exporters/prometheus
. (#6421) - The
go.opentelemetry.io/otel/semconv/v1.31.0
package.
The package contains semantic conventions from thev1.31.0
version of the OpenTelemetry Semantic Conventions.
See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.30.0
. (#6479) - Add
Recording
,Scope
, andRecord
types ingo.opentelemetry.io/otel/log/logtest
. (#6507) - Add
WithHTTPClient
option to configure thehttp.Client
used bygo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#6751) - Add
WithHTTPClient
option to configure thehttp.Client
used bygo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#6752) - Add
WithHTTPClient
option to configure thehttp.Client
used bygo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#6688) - Add
ValuesGetter
ingo.opentelemetry.io/otel/propagation
, aTextMapCarrier
that supports retrieving multiple values for a single key. (#5973) - Add
Values
method toHeaderCarrier
to implement the newValuesGetter
interface ingo.opentelemetry.io/otel/propagation
. (#5973) - Update
Baggage
ingo.opentelemetry.io/otel/propagation
to retrieve multiple values for a key when the carrier implementsValuesGetter
. (#5973) - Add
AssertEqual
function ingo.opentelemetry.io/otel/log/logtest
. (#6662) - The
go.opentelemetry.io/otel/semconv/v1.32.0
package.
The package contains semantic conventions from thev1.32.0
version of the OpenTelemetry Semantic Conventions.
See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.31.0
(#6782) - Add
Transform
option ingo.opentelemetry.io/otel/log/logtest
. (#6794) - Add
Desc
option ingo.opentelemetry.io/otel/log/logtest
. (#6796)
Removed
- Drop support for [Go 1.22]. (#6381, #6418)
- Remove
Resource
field fromEnabledParameters
ingo.opentelemetry.io/otel/sdk/log
. (#6494) - Remove
RecordFactory
type fromgo.opentelemetry.io/otel/log/logtest
. (#6492) - Remove
ScopeRecords
,EmittedRecord
, andRecordFactory
types fromgo.opentelemetry.io/otel/log/logtest
. (#6507) - Remove
AssertRecordEqual
function ingo.opentelemetry.io/otel/log/logtest
, useAssertEqual
instead. (#6662)
Changed
⚠️ Updategithub.com/prometheus/client_golang
tov1.21.1
, which changes theNameValidationScheme
toUTF8Validation
.
This allows metrics names to keep original delimiters (e.g..
), rather than replacing with underscores.
This can be reverted by settinggithub.com/prometheus/common/model.NameValidationScheme
toLegacyValidation
ingithub.com/prometheus/common/model
. (#6433)- Initialize map with
len(keys)
inNewAllowKeysFilter
andNewDenyKeysFilter
to avoid unnecessary allocations ingo.opentelemetry.io/otel/attribute
. (#6455) go.opentelemetry.io/otel/log/logtest
is now a separate Go module. (#6465)go.opentelemetry.io/otel/sdk/log/logtest
is now a separate Go module. (#6466)Recorder
ingo.opentelemetry.io/otel/log/logtest
no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)- Improve performance of
BatchProcessor
ingo.opentelemetry.io/otel/sdk/log
by not exporting when exporter cannot accept more. (#6569, #6641)
Deprecated
- Deprecate support for
model.LegacyValidation
forgo.opentelemetry.io/otel/exporters/prometheus
. (#6449)
Fixes
- Stop percent encoding header environment variables in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#6392) - Ensure the
noopSpan.tracerProvider
method is not inlined ingo.opentelemetry.io/otel/trace
so thego.opentelemetry.io/auto
instrumentation can instrument non-recording spans. (#6456) - Use a
sync.Pool
instead of allocatingmetricdata.ResourceMetrics
ingo.opentelemetry.io/otel/exporters/prometheus
. (#6472)
What's Changed
- Drop support for Go 1.22 by @XSAM in #6381
- chore(deps): update module honnef.co/go/tools to v0.6.1 by @renovate in #6414
- chore(deps): update module github.com/openpeedeep/depguard/v2 to v2.2.1 by @renovate in #6415
- fix(deps): update golang.org/x by @renovate in #6413
- fix(deps): update module github.com/jcchavezs/porto to v0.7.0 by @renovate in #5867
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.27.0 by @renovate in #6330
- Bump Go version for schema by @XSAM in #6418
- chore(deps): update github/codeql-action digest to 6bb031a by @renovate in #6424
- Update exporters README.md - otlploggrpc added by @marekjalovec in #6423
- Promote Alex Kats to triager by @dmathieu in #6420
- chore(deps): update github.com/golangci/dupl digest to f665c8d by @renovate in #6425
- chore(deps): update golang.org/x/telemetry digest to fdfaad8 by @renovate in #6428
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.10 by @renovate in #6427
- fix(deps): update googleapis by @renovate in #6429
- Stop percent-encoding the header environment variables in otlplog exporters by @tongoss in #6392
- fix(deps): update module github.com/golangci/golangci-lint to v1.64.7 by @renovate in #6432
- fix(deps): update googleapis to 81fb87f by @renovate in #6430
- chore(deps): update module github.com/catenacyber/perfsprint to v0.9.1 by @renovate in #6437
- chore(deps): update module github.com/breml/bidichk to v0.3.3 by @renovate in #6435
- chore(deps): update module github.com/breml/errchkjson to v0.4.1 by @renovate in #6436
- trace/auto pass stack allocated span context var to ebpf by @RonFed in #6434
- chore(deps): update module github.com/antonboom/errname to v1.1.0 by @renovate in #6439
- chore(deps): update module github.com/antonboom/testifylint to v1.6.0 by @renovate in #6440
- fix(deps): update googleapis to e70fdf4 by @renovate in #6441
- chore(deps): update module github.com/spf13/afero to v1.13.0 by @renovate in #6444
- feat(retry): update backoff to v5, fix the breaking changes in that version by @yumosx in #6419
- chore(deps): update module github.com/spf13/afero to v1.14.0 by @renovate in #6445
- chore(deps): update module github.com/macabu/inamedparam to v0.2.0 by @renovate in #6448
- chore(deps): update module github.com/sagikazarmark/locafero to v0.8.0 by @renovate in #6446
- chore(deps): update module github.com/spf13/viper to v1.20.0 by @renovate in #6447
- chore(deps): update module github.com/antonboom/nilnil to v1.1.0 by @renovate in #6453
- chore(deps): update github.com/burntsushi/toml digest to d10101f by @renovate in #6452
- chore(deps): update module github.com/xen0n/gosmopolitan to v1.3.0 by @renovate in #6454
- Fix close stale value to be relative by @dmathieu in #6451
- chore(deps): update module github.com/burntsushi/toml to v1.5.0 by @renovate in #6460
- fix(deps): update module github.com/golangci/golangci-lint to v1.64.8 by @renovate in #6458
- chore(deps): update python:3.13.2-slim-bullseye docker digest to c527a33 by @renovate in #6459
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.28.0 by @renovate in #6461
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.12 by @renovate in #6457
- chore(deps): update github.com/prometheus/client_golang to v1.21.1 by @ajatprabha in #6433
- chore(deps): update module github.com/prometheus/procfs to v0.16.0 by @renovate in #6462
- chore(deps): update module github.com/prometheus/client_golang to v1.21.1 by @renovate in...
Experimental logs v0.12.1
Fixes
- Use the proper dependency version of
go.opentelemetry.io/otel/sdk/log/logtest
ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
. (#6800) - Use the proper dependency version of
go.opentelemetry.io/otel/sdk/log/logtest
ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#6800) - Use the proper dependency version of
go.opentelemetry.io/otel/sdk/log/logtest
ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog
. (#6800)
Release v1.35.0/v0.57.0/v0.11.0
Overview
This release is the last to support Go 1.22.
The next release will require at least Go 1.23.
Added
- Add
ValueFromAttribute
andKeyValueFromAttribute
ingo.opentelemetry.io/otel/log
. (#6180) - Add
EventName
andSetEventName
toRecord
ingo.opentelemetry.io/otel/log
. (#6187) - Add
EventName
toRecordFactory
ingo.opentelemetry.io/otel/log/logtest
. (#6187) AssertRecordEqual
ingo.opentelemetry.io/otel/log/logtest
checksRecord.EventName
. (#6187)- Add
EventName
andSetEventName
toRecord
ingo.opentelemetry.io/otel/sdk/log
. (#6193) - Add
EventName
toRecordFactory
ingo.opentelemetry.io/otel/sdk/log/logtest
. (#6193) - Emit
Record.EventName
field ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
. (#6211) - Emit
Record.EventName
field ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#6211) - Emit
Record.EventName
field ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog
(#6210) - The
go.opentelemetry.io/otel/semconv/v1.28.0
package.
The package contains semantic conventions from thev1.28.0
version of the OpenTelemetry Semantic Conventions.
See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.27.0
(#6236) - The
go.opentelemetry.io/otel/semconv/v1.30.0
package.
The package contains semantic conventions from thev1.30.0
version of the OpenTelemetry Semantic Conventions.
See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.28.0
(#6240) - Document the pitfalls of using
Resource
as a comparable type.
Resource.Equal
andResource.Equivalent
should be used instead. (#6272) - Support [Go 1.24]. (#6304)
- Add
FilterProcessor
andEnabledParameters
ingo.opentelemetry.io/otel/sdk/log
.
It replacesgo.opentelemetry.io/otel/sdk/log/internal/x.FilterProcessor
.
Compared to previous version it additionally gives the possibility to filter by resource and instrumentation scope. (#6317)
Changed
- Update
github.com/prometheus/common
tov0.62.0
, which changes theNameValidationScheme
toNoEscaping
.
This allows metrics names to keep original delimiters (e.g..
), rather than replacing with underscores.
This is controlled by theContent-Type
header, or can be reverted by settingNameValidationScheme
toLegacyValidation
ingithub.com/prometheus/common/model
. (#6198)
Fixes
- Eliminate goroutine leak for the processor returned by
NewSimpleSpanProcessor
ingo.opentelemetry.io/otel/sdk/trace
whenShutdown
is called and the passedctx
is canceled andSpanExporter.Shutdown
has not returned. (#6368) - Eliminate goroutine leak for the processor returned by
NewBatchSpanProcessor
ingo.opentelemetry.io/otel/sdk/trace
whenForceFlush
is called and the passedctx
is canceled andSpanExporter.Export
has not returned. (#6369)
What's Changed
- chore(deps): update golang.org/x/telemetry digest to 04cd7ba by @renovate in #6176
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.26.0 by @renovate in #6186
- chore(deps): update module github.com/pjbgf/sha1cd to v0.3.2 by @renovate in #6188
- chore(deps): update dependency codespell to v2.4.0 by @renovate in #6189
- log: Add ValueFromAttribute and KeyValueFromAttribute by @pellared in #6180
- fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.1 by @renovate in #6191
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 2f9c7e3 by @renovate in #6190
- log: Add EventName by @pellared in #6187
- sdk/log: Add EventName by @pellared in #6193
- chore(deps): update codecov/codecov-action action to v5.2.0 by @renovate in #6195
- fix(deps): update googleapis to 138b5a5 by @renovate in #6194
- fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.17.0 by @renovate in #6197
- fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.17.0 by @renovate in #6199
- fix(deps): update module go.opentelemetry.io/build-tools/semconvgen to v0.17.0 by @renovate in #6202
- fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.17.0 by @renovate in #6200
- chore: Group renovate build-tools updates by @MrAlias in #6201
- Update module github.com/prometheus/common to v0.62.0 and fix tests by @dashpole in #6198
- chore(deps): update module github.com/go-git/go-git/v5 to v5.13.2 by @renovate in #6204
- chore(deps): update codecov/codecov-action action to v5.3.0 by @renovate in #6207
- fix(deps): update module google.golang.org/grpc to v1.70.0 by @renovate in #6208
- fix(deps): update googleapis to 65684f5 by @renovate in #6212
- chore(deps): update codecov/codecov-action action to v5.3.1 by @renovate in #6213
- fix(deps): update module google.golang.org/protobuf to v1.36.4 by @renovate in #6214
- otlplog: Emit Record.EventName field by @pellared in #6211
- chore: Update Logs API design doc by @pellared in #6206
- fix(deps): update googleapis to 29210b9 by @renovate in #6217
- chore(deps): update module github.com/cyphar/filepath-securejoin to v0.4.1 by @renovate in #6218
- fix(deps): update golang.org/x to e0ece0d by @renovate in #6219
- chore(deps): update dependency codespell to v2.4.1 by @renovate in #6221
- fix(deps): update golang.org/x to e0ece0d by @renovate in #6222
- stdoutlog: Emit Record.EventName field by @pellared in #6210
- Update codespell target by @MrAlias in #6223
- chore(deps): update module github.com/spf13/pflag to v1.0.6 by @renovate in #6224
- chore(deps): update module github.com/skeema/knownhosts to v1.3.1 by @renovate in #6231
- Weaver by @MrAlias in #5898
- chore(deps): update module github.com/polyfloyd/go-errorlint to v1.7.1 by @renovate in #6237
- Generate the
semconv/v1.28.0
package by @MrAlias in #6236 - Use archive URL for weaver registry by @MrAlias in #6235
- sdk/log: Assign fltrProcessors on provider creation instead of lazy by @pellared in #6239
- Generate
semconv/v1.30.0
by @MrAlias in #6240 - Add an auto-instrumentable no-op implementation to the
trace
package by @MrAlias in #6203 - fix(deps): update golang.org/x by @renovate in #6249
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 29210b9 by @renovate in #6250
- chore(deps): update module golang.org/x/text to v0.22.0 by @renovate in #6252
- fix(deps): update googleapis to 7023788 by @renovate in #6251
- chore(deps): update golang.org/x/telemetry digest to 3af0d96 by @renovate in #6253
- chore(deps): update module google.golang.org/grpc to v1.70.0 by @renovate in #6254
- fix(deps): update module go.opentelemetry.io/otel/trace to v1.34.0 by @renovate in #6256
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.25.0 by @renovate in #6255
- chore(deps): update module github.com/cloudflare/circl to v1.6.0 by @renovate in #6259
- chore(deps): update lycheeverse/lychee-action action to v2.3.0 by @renovate in https://github.com/open-telemetry/opentelemetr...
Release v1.34.0/v0.56.0/v0.10.0
Overview
Changed
- Remove the notices from
Logger
to make the whole Logs API user-facing ingo.opentelemetry.io/otel/log
. (#6167)
Fixed
- Relax minimum Go version to 1.22.0 in various modules. (#6073)
- The
Type
name logged for thego.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
client is corrected fromotlphttpgrpc
tootlptracegrpc
. (#6143) - The
Type
name logged for thego.opentelemetry.io/otel/exporters/otlp/otlptrace/otlphttpgrpc
client is corrected fromotlphttphttp
tootlptracehttp
. (#6143)
What's Changed
- fix(deps): update module google.golang.org/grpc to v1.69.0 by @renovate in #6037
- build(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 in /internal/tools by @dependabot in #6036
- fix(deps): update golang.org/x/exp digest to 4a55095 by @renovate in #6039
- [chore] Have renovate update our tools deps by @MrAlias in #6038
- Fix broken link by @MrAlias in #6042
- chore(deps): update github.com/golang/groupcache digest to 2c02b82 by @renovate in #6043
- chore(deps): update github.com/burntsushi/toml digest to b7406c0 by @renovate in #6041
- chore(deps): update github.com/matoous/godox digest to 94d1edd by @renovate in #6044
- chore(deps): update golang.org/x by @renovate in #6046
- chore(deps): update mvdan.cc/unparam digest to 57a3b42 by @renovate in #6047
- fix(deps): update googleapis to 9240e9c by @renovate in #6048
- chore(deps): update module github.com/antonboom/nilnil to v1.0.1 by @renovate in #6050
- chore(deps): update module dario.cat/mergo to v1.0.1 by @renovate in #6049
- chore(deps): update module github.com/butuzov/ireturn to v0.3.1 by @renovate in #6051
- chore(deps): update module github.com/go-xmlfmt/xmlfmt to v1.1.3 by @renovate in #6052
- chore(deps): update module github.com/jjti/go-spancheck to v0.6.4 by @renovate in #6053
- chore(deps): update module github.com/alecthomas/go-check-sumtype to v0.3.1 by @renovate in #6059
- chore(deps): update module github.com/prometheus/client_golang to v1.20.5 by @renovate in #6058
- chore(deps): update module github.com/ashanbrown/makezero to v1.2.0 by @renovate in #6060
- chore(deps): update module github.com/butuzov/mirror to v1.3.0 by @renovate in #6061
- chore(deps): update module github.com/microsoft/go-winio to v0.6.2 by @renovate in #6056
- chore(deps): update module github.com/cloudflare/circl to v1.5.0 by @renovate in #6063
- chore(deps): update module github.com/ckaznocha/intrange to v0.3.0 by @renovate in #6062
- chore(deps): update module github.com/magiconair/properties to v1.8.9 by @renovate in #6054
- chore(deps): update module github.com/masterminds/semver/v3 to v3.3.1 by @renovate in #6055
- chore(deps): update module github.com/cyphar/filepath-securejoin to v0.3.6 by @renovate in #6066
- chore(deps): update module github.com/curioswitch/go-reassign to v0.3.0 by @renovate in #6065
- chore(deps): update module github.com/djarvur/go-err113 to v0.1.0 by @renovate in #6068
- fix(deps): update golang.org/x to b2144cd by @renovate in #6067
- chore(deps): update module github.com/fsnotify/fsnotify to v1.8.0 by @renovate in #6069
- chore(deps): update module github.com/go-git/go-billy/v5 to v5.6.0 by @renovate in #6070
- chore(deps): update module github.com/ldez/gomoddirectives to v0.6.0 by @renovate in #6072
- chore(deps): update module github.com/prometheus/common to v0.61.0 by @renovate in #6075
- chore(deps): update module github.com/stbenjam/no-sprintf-host-port to v0.2.0 by @renovate in #6081
- chore(deps): update module github.com/spf13/cast to v1.7.0 by @renovate in #6080
- chore(deps): update module github.com/skeema/knownhosts to v1.3.0 by @renovate in #6079
- chore(deps): update module github.com/sanposhiho/wastedassign/v2 to v2.1.0 by @renovate in #6078
- chore(deps): update module github.com/protonmail/go-crypto to v1.1.3 by @renovate in #6076
- chore(deps): update module github.com/sagikazarmark/locafero to v0.6.0 by @renovate in #6077
- chore(deps): update module github.com/tomarrell/wrapcheck/v2 to v2.10.0 by @renovate in #6083
- chore(deps): update module github.com/tdakkota/asciicheck to v0.3.0 by @renovate in #6082
- chore(deps): update module github.com/uudashr/gocognit to v1.2.0 by @renovate in #6087
- chore(deps): update module github.com/spf13/cast to v1.7.1 by @renovate in #6086
- chore(deps): update github.com/timakin/bodyclose digest to adbc21e by @renovate in #6045
- chore(deps): update module github.com/uudashr/iface to v1.3.0 by @renovate in #6088
- fix(deps): update module google.golang.org/protobuf to v1.36.0 by @renovate in #6089
- chore(deps): update codecov/codecov-action action to v5.1.2 by @renovate in #6090
- fix(deps): update module google.golang.org/grpc to v1.69.2 by @renovate in #6091
- chore(deps): update module golang.org/x/net to v0.33.0 by @renovate in #6092
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 9e4b4d4 by @renovate in #6096
- chore(deps): update lycheeverse/lychee-action action to v2.2.0 by @renovate in #6099
- fix(deps): update googleapis to 6b3ec00 by @renovate in #6101
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.25.1 by @renovate in #6103
- chore(deps): update golang.org/x/telemetry digest to cc96b6e by @renovate in #6102
- chore(deps): update github.com/timakin/bodyclose digest to 1db5c5c by @renovate in #6105
- [chore] Move the changelog guard by @MrAlias in #6100
- Only run links check on main branch merge by @MrAlias in #6098
- fix(deps): update googleapis to 6982302 by @renovate in #6108
- fix(deps): update module google.golang.org/protobuf to v1.36.1 by @renovate in #6109
- chore(deps): update module github.com/tetafro/godot to v1.4.20 by @renovate in #6110
- chore(deps): update github.com/golangci/gofmt digest to 057b062 by @renovate in #6111
- chore(deps): update module github.com/ldez/grignotin to v0.7.0 by @renovate in #6112
- fix(deps): update golang.org/x by @renovate in #6121
- chore(deps): update mvdan.cc/unparam digest to 447d509 by @renovate in #6115
- chore(deps): update module github.com/julz/importas to v0.2.0 by @renovate in #6116
- chore(deps): update module github.com/karamaru-alpha/copyloopvar to v1.2.1 by @renovate in #6126
- chore(deps): update module github.com/ldez/grignotin to v0.8.0 by @re...
Release v1.33.0/v0.55.0/v0.9.0/v0.0.12
Overview
Added
- Add
Reset
method toSpanRecorder
ingo.opentelemetry.io/otel/sdk/trace/tracetest
. (#5994) - Add
EnabledInstrument
interface ingo.opentelemetry.io/otel/sdk/metric/internal/x
. This is an experimental interface that is implemented by synchronous instruments provided bygo.opentelemetry.io/otel/sdk/metric
. Users can use it to avoid performing computationally expensive operations when recording measurements. 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. (#6016)
Changed
- The default global API now supports full auto-instrumentation from the
go.opentelemetry.io/auto
package. See that package for more information. (#5920) - Propagate non-retryable error messages to client in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#5929) - Propagate non-retryable error messages to client in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#5929) - Propagate non-retryable error messages to client in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#5929) - Performance improvements for attribute value
AsStringSlice
,AsFloat64Slice
,AsInt64Slice
,AsBoolSlice
. (#6011) - Change
EnabledParameters
to have aSeverity
field instead of a getter and setter ingo.opentelemetry.io/otel/log
. (#6009)
Fixed
- Fix inconsistent request body closing in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#5954) - Fix inconsistent request body closing in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#5954) - Fix inconsistent request body closing in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#5954) - Fix invalid exemplar keys in
go.opentelemetry.io/otel/exporters/prometheus
. (#5995) - Fix attribute value truncation in
go.opentelemetry.io/otel/sdk/trace
. (#5997) - Fix attribute value truncation in
go.opentelemetry.io/otel/sdk/log
. (#6032)
What's Changed
- fix(deps): update module google.golang.org/grpc to v1.68.0 by @renovate in #5955
- chore(deps): update golang.org/x by @renovate in #5962
- fix(deps): update golang.org/x/exp digest to 2d47ceb by @renovate in #5963
- otlp: Clients to close body uniformly by @mark-pictor-csec in #5954
- Fix lint issues for golangci-lint 1.62.0 by @dmathieu in #5967
- fix(deps): update module github.com/golangci/golangci-lint to v1.62.0 by @renovate in #5966
- chore(deps): update googleapis to e0fbfb7 by @renovate in #5971
- chore(deps): update googleapis to 65e8d21 by @renovate in #5972
- fix(deps): update module google.golang.org/protobuf to v1.35.2 by @renovate in #5975
- [chore]: enable int-conversion rule of perfsprint by @mmorel-35 in #5964
- chore(deps): update codecov/codecov-action action to v5 by @renovate in #5977
- [chore] Fix codecov action usage by @pellared in #5979
- chore(deps): update codecov/codecov-action action to v5.0.2 by @renovate in #5981
- [chore]: enable all rules of perfsprint by @mmorel-35 in #5978
- Add toolchain check by @cheese-head in #5983
- [chore] Fix VERSIONING.md missing parenthesis by @MrAlias in #5984
- chore(deps): update googleapis to e639e21 by @renovate in #5985
- chore(deps): update codecov/codecov-action action to v5.0.3 by @renovate in #5986
- fix(deps): update module github.com/masterminds/semver/v3 to v3.3.1 by @renovate in #5987
- Propagate non-retryable error messages to client by @mark-pictor-csec in #5929
- chore(deps): update codecov/codecov-action action to v5.0.5 by @renovate in #5991
- chore(deps): update codecov/codecov-action action to v5.0.6 by @renovate in #5992
- chore(deps): update codecov/codecov-action action to v5.0.7 by @renovate in #5993
- Use auto-instrumentation SDK in global tracing by @MrAlias in #5920
- Escape exemplar keys to fix invalid key errors by @dashpole in #5995
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.24.0 by @renovate in #5998
- fix(deps): update module github.com/stretchr/testify to v1.10.0 by @renovate in #6000
- Corrent comments for the metric data storage location by @yumosx in #5999
- fix(deps): update module github.com/golangci/golangci-lint to v1.62.2 by @renovate in #6003
- [chore]: enable usestdlibvars linter by @mmorel-35 in #6001
- feat(trace): add concurrent-safe
Reset
method toSpanRecorder
by @flc1125 in #5994 - Fix attribute value truncation by @MrAlias in #5997
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 8dc4a50 by @renovate in #6005
- Fix span option typo in SDK span End, and WithAttributes only being available on span start by @dmathieu in #6006
- chore(deps): update github.com/golang/groupcache digest to 2c02b82 by @renovate in #6010
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.4.0 by @renovate in #6013
- chore(deps): update googleapis to 19429a9 by @renovate in #6014
- Performance improvements for attribute value
AsStringSlice
,AsFloat64Slice
,AsInt64Slice
,AsBoolSlice
by @boekkooi-impossiblecloud in #6011 - log: Change EnabledParameters to have a field instead of getter and setter by @pellared in #6009
- chore: fix a typo in TestMeterCreatesInstruments by @codeboten in #6015
- chore(deps): update module golang.org/x/sys to v0.28.0 by @renovate in #6019
- chore(deps): update module golang.org/x/text to v0.21.0 by @renovate in #6020
- fix(deps): update module google.golang.org/grpc to v1.68.1 by @renovate in #6021
- fix(deps): update golang.org/x by @renovate in #6022
- fix(deps): update module github.com/prometheus/common to v0.61.0 by @renovate in #6023
- chore(deps): update codecov/codecov-action action to v5.1.0 by @renovate in #6024
- chore(deps): update module go.opentelemetry.io/auto/sdk to v1.1.0 by @renovate in #6025
- chore(deps): update codecov/codecov-action action to v5.1.1 by @renovate in #6026
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to a4fef06 by @renovate in #6027
- sdk/metric: Add experimental Enabled method to synchronous instruments by @codeboten in #6016
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to ca80a95 by @renovate in #6029
- chore(deps): update googleapis to e6fa225 by @renovate in #6028
- fix(deps): update golang.org/x/exp digest to 1829a12 by @renovate in #6031
- Cache successful requests in lychee by @dmathieu in #6030
- Fix sdk/log record attr value limit by @MrAlias in #6032
- Release v1.33.0 by @MrAlias in #6035
New Contributors
- @mark-pictor-csec made their first contribution in #5954
- @cheese-head made their first contribution in #5983
- @yumosx made their first cont...
Release v1.32.0/v0.54.0/v0.8.0/v0.0.11
Overview
Added
- Add
go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter
, which can be used to disable exemplar recording. (#5850) - Add
go.opentelemetry.io/otel/sdk/metric.WithExemplarFilter
, which can be used to configure the exemplar filter used by the metrics SDK. (#5850) - Add
ExemplarReservoirProviderSelector
andDefaultExemplarReservoirProviderSelector
togo.opentelemetry.io/otel/sdk/metric
, which defines the exemplar reservoir to use based on the aggregation of the metric. (#5861) - Add
ExemplarReservoirProviderSelector
togo.opentelemetry.io/otel/sdk/metric.Stream
to allow using views to configure the exemplar reservoir to use for a metric. (#5861) - Add
ReservoirProvider
,HistogramReservoirProvider
andFixedSizeReservoirProvider
togo.opentelemetry.io/otel/sdk/metric/exemplar
to make it convenient to use providers of Reservoirs. (#5861) - The
go.opentelemetry.io/otel/semconv/v1.27.0
package.
The package contains semantic conventions from thev1.27.0
version of the OpenTelemetry Semantic Conventions. (#5894) - Add
Attributes attribute.Set
field toScope
ingo.opentelemetry.io/otel/sdk/instrumentation
. (#5903) - Add
Attributes attribute.Set
field toScopeRecords
ingo.opentelemetry.io/otel/log/logtest
. (#5927) go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
adds instrumentation scope attributes. (#5934)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
adds instrumentation scope attributes. (#5934)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
adds instrumentation scope attributes. (#5935)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
adds instrumentation scope attributes. (#5935)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
adds instrumentation scope attributes. (#5933)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
adds instrumentation scope attributes. (#5933)go.opentelemetry.io/otel/exporters/prometheus
adds instrumentation scope attributes inotel_scope_info
metric as labels. (#5932)
Changed
- Support scope attributes and make them as identifying for
Tracer
ingo.opentelemetry.io/otel
andgo.opentelemetry.io/otel/sdk/trace
. (#5924) - Support scope attributes and make them as identifying for
Meter
ingo.opentelemetry.io/otel
andgo.opentelemetry.io/otel/sdk/metric
. (#5926) - Support scope attributes and make them as identifying for
Logger
ingo.opentelemetry.io/otel
andgo.opentelemetry.io/otel/sdk/log
. (#5925) - Make schema URL and scope attributes as identifying for
Tracer
ingo.opentelemetry.io/otel/bridge/opentracing
. (#5931) - Clear unneeded slice elements to allow GC to collect the objects in
go.opentelemetry.io/otel/sdk/metric
andgo.opentelemetry.io/otel/sdk/trace
. (#5804)
Fixed
- Global MeterProvider registration unwraps global instrument Observers, the undocumented Unwrap() methods are now private. (#5881)
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
now keeps the metadata already present in the context whenWithHeaders
is used. (#5892)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
now keeps the metadata already present in the context whenWithHeaders
is used. (#5911)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
now keeps the metadata already present in the context whenWithHeaders
is used. (#5915)- Fix
go.opentelemetry.io/otel/exporters/prometheus
trying to add exemplars to Gauge metrics, which is unsupported. (#5912) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#5944) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#5944) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
. (#5944) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#5944) - Fix incorrect metrics generated from callbacks when multiple readers are used in
go.opentelemetry.io/otel/sdk/metric
. (#5900)
Removed
- Remove all examples under
go.opentelemetry.io/otel/example
as they are moved to Contrib repository. (#5930)
What's Changed
- Allow configuring the exemplar filter on the metrics SDK by @dashpole in #5850
- chore(deps): update lycheeverse/lychee-action action to v2.0.1 by @renovate in #5884
- Run the test compatibility check even if tests failed by @dmathieu in #5879
- chore(deps): update lycheeverse/lychee-action action to v2.0.2 by @renovate in #5885
- fix(deps): update module github.com/prometheus/client_golang to v1.20.5 by @renovate in #5886
- chore(deps): update googleapis to 796eee8 by @renovate in #5888
- Remove company from emeritus by @dmathieu in #5887
- Add selector of exemplar reservoir providers to metric.Stream configuration by @dashpole in #5861
- otel: conceal unwrapping for global async instrument registration by @jmacd in #5881
- Generate
semconv/v1.27.0
by @MrAlias in #5894 - otlpmetricgrpc: Keep metadata for gRPC in context by @mrasu in #5892
- Cleanup interaction of exemplar and aggregation by @dashpole in #5899
- chore(deps): update googleapis to 324edc3 by @renovate in #5908
- [chore] Use errors.Join to unify errors by @MrAlias in #5907
- [chore] Remove unnecessary type declaration in templated transforms by @MrAlias in #5906
- Keep metadata for gRPC in context for log signal by @RocooHash in #5911
- chore(deps): update benchmark-action/github-action-benchmark action to v1.20.4 by @renovate in #5916
- Revert Cleanup interaction of exemplar and aggregation by @XSAM in #5913
- Allow additional context to be added when WithHeaders is used in OTLP gRPC traces exporter by @pree-dew in #5915
- Fix exemplars being added to gauge metrics in the prometheus exporter by @trthomps in #5912
- Switch arm builds out of actuated and into the CNCF runners by @dmathieu in #5923
- fix(deps): update module github.com/prometheus/common to v0.60.1 by @renovate in #5919
- Add Cheng-Zhen as a triager by @dmathieu in #5922
- sdk/instrumentation: Add Attributes to Scope by @pellared in #5903
- Make scope attributes as identifying for Tracer by @pellared in #5924
- Make scope attributes as identifying for Meter by @pellared in #5926
- Make scope attributes as identifying for Logger by @pellared in #5925
- log/logtest: Add Attributes to ScopeRecords by @pellared in #5927
- opentracing: Make schemaURL and scope attributes as identifying for Tracer by @pellared in #5931
- otlptrace: Add instrumentation scope attributes by @pellared in #5934
- otlpmetric: Add instrumentation scope attributes by @pellared in #5935
- otlplog: Add instrumentation scope attributes by @pellared in #5933
- Remove examples by @pellared in #5930
- docs: updating outdated comments by @codeboten in #5940
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.23.0 by @renovate in #5939
- prometheus: Refactor getAttrs by @pellared in #5937
- chore(deps): update googleapis to dd2ea8e by @renovate in #5943
- log: Update package documentation by @pellared in #5942
- prometheus: Add instrumentation scope attributes to otel_scope_info by @pellared in #5932
- fix(deps): update github.com/opentracing-contrib/go-grpc digest to d08aa2b by @renovate in #5945
- Override insecure wh...
Release v1.31.0/v0.53.0/v0.7.0/v0.0.10
Overview
Added
- Add
go.opentelemetry.io/otel/sdk/metric/exemplar
package which includesExemplar
,Filter
,TraceBasedFilter
,AlwaysOnFilter
,HistogramReservoir
,FixedSizeReservoir
,Reservoir
,Value
andValueType
types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#5747, #5862) - Add
WithExportBufferSize
option to log batch processor.(#5877)
Changed
- Enable exemplars by default in
go.opentelemetry.io/otel/sdk/metric
. Exemplars can be disabled by settingOTEL_METRICS_EXEMPLAR_FILTER=always_off
(#5778) Logger.Enabled
ingo.opentelemetry.io/otel/log
now accepts a newly introducedEnabledParameters
type instead ofRecord
. (#5791)FilterProcessor.Enabled
ingo.opentelemetry.io/otel/sdk/log/internal/x
now acceptsEnabledParameters
instead ofRecord
. (#5791)- The
Record
type ingo.opentelemetry.io/otel/log
is no longer comparable. (#5847) - Performance improvements for the trace SDK
SetAttributes
method inSpan
. (#5864) - Reduce memory allocations for the
Event
andLink
lists inSpan
. (#5858) - Performance improvements for the trace SDK
AddEvent
,AddLink
,RecordError
andEnd
methods inSpan
. (#5874)
Deprecated
- Deprecate all examples under
go.opentelemetry.io/otel/example
as they are moved to Contrib repository. (#5854)
Fixed
- The race condition for multiple
FixedSize
exemplar reservoirs identified in #5814 is resolved. (#5819) - Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#5803)
- Fix timer channel drain to avoid hanging on Go 1.23. (#5868)
- Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#5827)
- Change the
reflect.TypeOf
to use a nil pointer to not allocate on the heap unless necessary. (#5827)
What's Changed
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.109.0 by @renovate in #5802
- Enable exemplars by default by @dashpole in #5778
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.55.0 by @renovate in #5809
- fix(deps): update module google.golang.org/grpc to v1.66.2 by @renovate in #5807
- fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.5.0 by @renovate in #5808
- log: Introduce EnabledParameters by @pellared in #5791
- Group the google/x renovabot upgrades by @dmathieu in #5813
- Fix gosec overflow alerts by @dmathieu in #5799
- fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 by @renovate in #5796
- doc(metric): fix incorrect explanation of how
metric.WithAttributes
works by @wzy9607 in #5822 - simplify conversions from slice to array by @snowcrumble in #5818
- Move global random number generator to
randRes
field by @MrAlias in #5819 - Fix duplicate logs across resources by @pree-dew in #5803
- fix(deps): update module github.com/prometheus/client_golang to v1.20.4 by @renovate in #5826
- fix(deps): update module google.golang.org/grpc to v1.67.0 by @renovate in #5831
- [chore]: enable bool-compare rule from testifylint by @mmorel-35 in #5829
- [chore]: enable len and empty rules from testifylint by @mmorel-35 in #5832
- [chore]: enable suite-extra-assert-call rule from testifylint by @mmorel-35 in #5833
- chore(deps): update module github.com/klauspost/compress to v1.17.10 by @renovate in #5834
- [chore]: enable error-is-as rule from testifylint by @mmorel-35 in #5836
- chore(deps): update googleapis to 9d4c2d2 by @renovate in #5841
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.110.0 by @renovate in #5842
- chore(deps): update module github.com/rogpeppe/go-internal to v1.13.1 by @renovate in #5835
- [chore]: enable error-nil rule from testifylint by @mmorel-35 in #5843
- clarify that users should not directly use the log bridge API by @dashpole in #5837
- log: Make Record not comparable by @pellared in #5847
- [chore]: enable expected-actual rule from testifylint by @mmorel-35 in #5848
- Move exemplar types to non-internal package by @dashpole in #5747
- [chore]: enable negative-positive rule from testifylint by @mmorel-35 in #5849
- chore(deps): update googleapis to af27646 by @renovate in #5855
- fix(deps): update module google.golang.org/grpc to v1.67.1 by @renovate in #5857
- Deprecate examples and redirect to contrib by @pellared in #5854
- Move @MadVikingGod to Emeritus status by @MrAlias in #5856
- fix(deps): update module github.com/prometheus/common to v0.60.0 by @renovate in #5860
- chore(deps): update codecov/codecov-action action to v4.6.0 by @renovate in #5859
- Rename SampledFilter to TraceBasedFilter by @dashpole in #5862
- Authenticate link checking requests by @dmathieu in #5865
- [doc] sdk/log: Do not create instances of Record by @pellared in #5871
- Move @hanyuancheung to Emeritus status by @pellared in #5863
- Fix timer channel drain to avoid hanging in Go 1.23 by @dany74q in #5869
- Fix delegation for global MeterProviders by @Jesse-Bonfire in #5828
- fix(deps): update golang.org/x by @renovate in #5872
- Performance improvements for
recordingSpan
SetAttributes
andaddOverCapAttrs
by @boekkooi-impossiblecloud in #5864 - fix(deps): update module google.golang.org/protobuf to v1.35.1 by @renovate in #5875
- chore(deps): update googleapis to 5fefd90 by @renovate in #5876
- Reduce
newEvictedQueueLink
andnewEvictedQueueEvent
memory allocations by @boekkooi-impossiblecloud in #5858 - chore(deps): update lycheeverse/lychee-action action to v2 by @renovate in #5878
- Performance improvements for the trace SDK in
Span
. by @boekkooi-impossiblecloud in #5874 - fix(deps): update golang.org/x/exp digest to f66d83c by @renovate in #5880
- Add an option to configure the exporter buffer of the BatchProcessor by @Frapschen in #5877
- Release v1.31.0/v0.53.0/v0.7.0/v0.0.10 by @dashpole in #5883
New Contributors
- @wzy9607 made their first contribution in #5822
- @snowcrumble made their first contribution in #5818
- @mmorel-35 made their first contribution in #5829
- @dany74q made their first contribution in #5869
- @Jesse-Bonfire made their first contribution in #5828
- @boekkooi-impossiblecloud made their first contribution in #5864
Full Changelog: v1.30.0...v1.31.0
Release v1.30.0/v0.52.0/v0.6.0/v0.0.9
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
What's Changed
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 4ba0660 by @renovate in #5734
- fix(deps): update module github.com/prometheus/client_golang to v1.20.2 by @renovate in #5733
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ba0660 by @renovate in #5735
- Drop support for Go 1.21 by @MrAlias in #5736
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.54.0 by @renovate in #5738
- fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.4.0 by @renovate in #5737
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to f6391c0 by @renovate in #5742
- chore(deps): update google.golang.org/genproto/googleapis/api digest to f6391c0 by @renovate in #5741
- Replace go 1.21 with go 1.22 in go mod by @XSAM in #5740
- chore(deps): update prom/prometheus docker tag to v2.54.1 by @renovate in #5744
- chore(deps): update otel/opentelemetry-collector-contrib docker tag to v0.108.0 by @renovate in #5749
- fix(deps): update module google.golang.org/grpc to v1.66.0 by @renovate in #5751
- fix(deps): update module github.com/masterminds/semver/v3 to v3.3.0 by @renovate in #5750
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 7e3bb23 by @renovate in #5745
- chore(deps): update module github.com/prometheus/common to v0.57.0 by @renovate in #5748
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 7e3bb23 by @renovate in #5746
- Fix duplicate instrumentation memory leak by @dashpole in #5754
- Fix panic instruments creation when setting meter provider by @XSAM in #5758
- Ensure codespell failures fail CI by @dmathieu in #5761
- chore(deps): update module github.com/prometheus/common to v0.58.0 by @renovate in #5765
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 8af14fe by @renovate in #5767
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 8af14fe by @renovate in #5766
- Run ConcurrentSafe tests multiple times in CI by @XSAM in #5759
- chore(deps): update module golang.org/x/text to v0.18.0 by @renovate in #5775
- chore(deps): update module golang.org/x/sys to v0.25.0 by @renovate in #5776
- Group googleapis update by @XSAM in #5772
- fix(deps): update golang.org/x/exp digest to e7e105d by @renovate in #5783
- Mention
test-concurrent-safe
CI job in CONTRIBUTING doc by @XSAM in #5781 - [chore] Remove toolchain directive by @pellared in #5784
- chore(deps): update module golang.org/x/net to v0.29.0 by @renovate in #5790
- chore(deps): update module github.com/prometheus/common to v0.59.1 by @renovate in #5789
- fix(deps): update module github.com/prometheus/client_golang to v1.20.3 by @renovate in #5788
- Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in grpc exporter by @amanakin in #5739
- fix(metric, log): merge explicit resource with environment variables by @basti1302 in #5773
SetMeterProvider
might miss the delegation for instruments and registries by @XSAM in #5780- Fix typos by @NathanBaulch in #5763
- Add utf8 support to the prometheus exporter by @dashpole in #5755
- fix(deps): update golang.org/x/exp digest to 701f63a by @renovate in #5795
- fix(deps): update module google.golang.org/grpc to v1.66.1 by @renovate in #5798
- Drop support for Go 1.21 in dice example by @MrAlias in #5800
- Release v1.30.0/v0.52.0/v0.6.0/v0.0.9 by @XSAM in #5797
New Contributors
- @basti1302 made their first contribution in #5773
- @NathanBaulch made their first contribution in #5763
Full Changelog: v1.29.0...v1.30.0
Release v1.29.0/v0.51.0/v0.5.0
Overview
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 toSpanStub
ingo.opentelemetry.io/otel/sdk/trace/tracetest
, as a replacement for the deprecatedInstrumentationLibrary
. (#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 toTraceState
ingo.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
ingo.opentelemetry.io/otel/sdk/log
no longer panics. (#5665) - The
FilterProcessor
interface type is added ingo.opentelemetry.io/otel/sdk/log/internal/x
. This is an optional and experimental interface that logProcessor
s can implement to instruct theLogger
if aRecord
will be processed or not. It replaces the existingEnabled
method that is removed from theProcessor
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) - Support Go 1.23. (#5720)
Changed
NewMemberRaw
,NewKeyProperty
andNewKeyValuePropertyRaw
ingo.opentelemetry.io/otel/baggage
allow UTF-8 string in key. (#5132)Processor.OnEmit
ingo.opentelemetry.io/otel/sdk/log
now accepts a pointer toRecord
instead of a value so that the record modifications done in a processor are propagated to subsequent registered processors. (#5636)SimpleProcessor.Enabled
ingo.opentelemetry.io/otel/sdk/log
now returnsfalse
if the exporter isnil
. (#5665)- Update the concurrency requirements of
Exporter
ingo.opentelemetry.io/otel/sdk/log
. (#5666) SimpleProcessor
ingo.opentelemetry.io/otel/sdk/log
synchronizesOnEmit
calls. (#5666)- The
Processor
interface ingo.opentelemetry.io/otel/sdk/log
no longer includes theEnabled
method. See theFilterProcessor
interface type added ingo.opentelemetry.io/otel/sdk/log/internal/x
to continue providing this functionality. (#5692) - The
SimpleProcessor
type ingo.opentelemetry.io/otel/sdk/log
is no longer comparable. (#5693) - The
BatchProcessor
type ingo.opentelemetry.io/otel/sdk/log
is no longer comparable. (#5693)
Fixed
- Correct comments for the priority of the
WithEndpoint
andWithEndpointURL
options and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#5584) - Pass the underlying error rather than a generic retry-able failure in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
,go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
andgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#5541) - Correct the
Tracer
,Meter
, andLogger
names used ingo.opentelemetry.io/otel/example/dice
. (#5612) - Correct the
Tracer
names used ingo.opentelemetry.io/otel/example/namedtracer
. (#5612) - Correct the
Tracer
name used ingo.opentelemetry.io/otel/example/opencensus
. (#5612) - Correct the
Tracer
andMeter
names used ingo.opentelemetry.io/otel/example/otel-collector
. (#5612) - Correct the
Tracer
names used ingo.opentelemetry.io/otel/example/passthrough
. (#5612) - Correct the
Meter
name used ingo.opentelemetry.io/otel/example/prometheus
. (#5612) - Correct the
Tracer
names used ingo.opentelemetry.io/otel/example/zipkin
. (#5612) - Correct comments for the priority of the
WithEndpoint
andWithEndpointURL
options and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#5641) - Correct comments for the priority of the
WithEndpoint
andWithEndpointURL
options and their corresponding environment variables ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
. (#5650) - Stop percent encoding header environment variables in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
,go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
(#5705) - Remove invalid environment variable header keys in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
,go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
(#5705)
Removed
- The
Enabled
method of theSimpleProcessor
ingo.opentelemetry.io/otel/sdk/log
is removed. (#5692) - The
Enabled
method of theBatchProcessor
ingo.opentelemetry.io/otel/sdk/log
is removed. (#5692)
What's Changed
- Upgrade Go versions in CI by @MrAlias in #5570
- fix(deps): update module google.golang.org/grpc to v1.65.0 by @renovate in #5568
- fix(deps): update module go.opentelemetry.io/otel/sdk/log to v0.4.0 by @renovate in #5571
- fix(deps): update module go.opentelemetry.io/contrib/bridges/otelslog to v0.3.0 by @renovate in #5573
- fix(deps): update module go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.53.0 by @renovate in #5574
- Implement otlploggrpc gRPC client by @XSAM in #5572
- chore(deps): update module golang.org/x/sys to v0.22.0 by @renovate in #5576
- chore(deps): update module golang.org/x/net to v0.27.0 by @renovate in #5581
- Enable benchmark summary for release by @XSAM in #5527
- sdk/log: Add package example by @pellared in #5579
- [chore] Update macOS runners by @pellared in #5577
- fix(deps): update module golang.org/x/tools to v0.23.0 by @renovate in #5583
- fix(deps): update golang.org/x/exp digest to 46b0784 by @renovate in #5585
- baggage: Fix invalid percent-encoded octet sequences by @santileira in #5528
- Extend trace config benchmarks to run each option individually by @dmathieu in #5566
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 654c5fe by @renovate in #5587
- Protect released changelog in CI by @XSAM in #5560
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 4ad9e85 by @renovate in #5588
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 4ad9e85 by @renovate in #5589
- Correct the comment for the priority of options and environments on otlptracehttp by @XSAM in #5584
- [chore] Add missing changelog entry for #5577 by @pellared in #5586
- chore(deps): update google.golang.org/genproto/googleapis/api digest to 40e1e62 by @renovate in #5592
- Implement otlploggrpc exporter by @XSAM in #5582
- chore(deps): update google.golang.org/genproto/googleapis/rpc digest to 40e1e62 by @renovate in #5593
- fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.14.0 by @renovate in #5594
- fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.14.0 by @renovate in #5595
- fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.14.0 by @renovate in #5596
- fix(deps): update module go.opentelemetry.io/build-tools/semconvgen to v0.14.0 by @renovate in #5597
- chore(deps): update prom/prometheus docker tag to v2.53.1 by @renovate in #5603
- chore(deps): update jaegertracing/all-in-one docker tag to v1.59 by @renovate in #5605
- Add TestSpanStartConfigAttributeMutability by @MrAlias in #5591
- log: Add missing notice to Bytes, Slice, Map doc comment by @pellared in #5598
- Add TestConfigLinkMutability by @MrAlias in https://github.c...