Releases: open-telemetry/opentelemetry-go
Releases · open-telemetry/opentelemetry-go
v1.42.0/v0.64.0/v0.18.0/v0.0.16
Immutable
release. Only release title and notes can be modified.
Added
- Add
go.opentelemetry.io/otel/semconv/v1.40.0package.
The package contains semantic conventions from thev1.40.0version of the OpenTelemetry Semantic Conventions.
See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.39.0. (#7985) - Add
ErrandSetErronRecordingo.opentelemetry.io/otel/logto attach an error and set record exception attributes ingo.opentelemetry.io/otel/log/sdk. (#7924)
Changed
TracerProvider.ForceFlushingo.opentelemetry.io/otel/sdk/tracejoins errors together and continues iteration through SpanProcessors as opposed to returning the first encountered error without attempting exports on subsequent SpanProcessors. (#7856)
Fixed
- Fix missing
request.GetBodyingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpto correctly handle HTTP2 GOAWAY frame. (#7931) - Fix semconv v1.39.0 generated metric helpers skipping required attributes when extra attributes were empty. (#7964)
- Preserve W3C TraceFlags bitmask (including the random Trace ID flag) during trace context extraction and injection in
go.opentelemetry.io/otel/propagation. (#7834)
Removed
- Drop support for [Go 1.24]. (#7984)
What's Changed
- fix changelog protection marker by @pellared in #7986
- Drop support for Go 1.24 by @MrAlias in #7984
- fix(deps): update golang.org/x by @renovate[bot] in #7907
- chore(deps): update module go.opentelemetry.io/collector/featuregate to v1.53.0 by @renovate[bot] in #7981
- chore(deps): update benchmark-action/github-action-benchmark action to v1.21.0 by @renovate[bot] in #7989
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.53.0 by @renovate[bot] in #7982
- Revert "Revert "Generate semconv/v1.40.0"" by @MrAlias in #7985
- support stdlib request.GetBody on metrics by @marifari-hue in #7931
- attribute: add TestNotEquivalence and equality operator tests by @pellared in #7979
- Refactor benchmark CI by @XSAM in #7873
- chore(deps): update module github.com/securego/gosec/v2 to v2.24.7 by @renovate[bot] in #7988
- chore(deps): pin codspeedhq/action action to df47568 by @renovate[bot] in #7996
- chore(deps): update actions/checkout action to v6.0.2 by @renovate[bot] in #7997
- chore(deps): update codspeedhq/action action to v4.11.0 by @renovate[bot] in #7999
- Upgrade to semconv/v1.40.0 by @MrAlias in #7991
- Regenerate semconv/v1.40.0/MIGRATION.md by @MrAlias in #7992
- fix: generated semconv helpers skipping attributes by @victoraugustolls in #7964
- Feat: Have SpanContext support the new W3C random flag. by @nikhilmantri0902 in #7834
- Semconv metric helper caller-slice mutation fix by @MrAlias in #7993
- Fix semconv generated error type to check error chain for custom type declaration by @MrAlias in #7994
- refactor: replace uint64 and int32 with atomic types in tests by @alexandear in #7941
- chore(deps): update golang.org/x/telemetry digest to 18da590 by @renovate[bot] in #8000
- TracerProvider ForceFlush() Error Fix by @sawamurataxman in #7856
- log: add error field to Record and make SDK to emit exception attributes by @iblancasa in #7924
- chore(deps): update dependency codespell to v2.4.2 by @renovate[bot] in #8003
- chore(deps): update github/codeql-action action to v4.32.6 by @renovate[bot] in #8004
- chore(deps): update codspeedhq/action action to v4.11.1 by @renovate[bot] in #8001
- fix(deps): update module google.golang.org/grpc to v1.79.2 by @renovate[bot] in #8007
- chore(deps): update module github.com/mgechev/revive to v1.15.0 by @renovate[bot] in #8009
- chore(deps): update golang.org/x/telemetry digest to e526e8a by @renovate[bot] in #8010
- Release v1.42.0/v0.64.0/v0.18.0/v0.0.16 by @pellared in #8006
New Contributors
- @marifari-hue made their first contribution in #7931
- @victoraugustolls made their first contribution in #7964
- @sawamurataxman made their first contribution in #7856
- @iblancasa made their first contribution in #7924
Full Changelog: v1.41.0...v1.42.0
v1.41.0/v0.63.0/v0.17.0/v0.0.15
Immutable
release. Only release title and notes can be modified.
This release is the last to support Go 1.24. The next release will require at least Go 1.25.
Added
Fixed
- Update
Baggageingo.opentelemetry.io/otel/propagationandParseandNewingo.opentelemetry.io/otel/baggageto comply with W3C Baggage specification limits.NewandParsenow return partial baggage along with an error when limits are exceeded. Errors from baggage extraction are reported to the global error handler. (#7880)
What's Changed
- fix(deps): update googleapis to ce8ad4c by @renovate[bot] in #7860
- chore(deps): update otel/weaver docker tag to v0.21.0 by @renovate[bot] in #7865
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.51.0 by @renovate[bot] in #7863
- chore(deps): update golang.org/x/telemetry digest to fe4bb1c by @renovate[bot] in #7861
- chore(deps): update golang.org/x/telemetry digest to aaaaaa5 by @renovate[bot] in #7869
- sdk/log/observ: guard LogProcessed with Enabled by @NesterovYehor in #7848
- stdouttrace observability: skip metric work when instruments are disabled by @NesterovYehor in #7853
- chore(deps): update otel/weaver docker tag to v0.21.2 by @renovate[bot] in #7870
- fix(deps): update googleapis to 546029d by @renovate[bot] in #7871
- stdoutmetric observ: skip metric work when instruments are disabled by @NesterovYehor in #7868
- chore(deps): update fossas/fossa-action action to v1.8.0 by @renovate[bot] in #7879
- chore(deps): update github/codeql-action action to v4.32.2 by @renovate[bot] in #7878
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.20 by @renovate[bot] in #7877
- chore(deps): update golang.org/x/telemetry digest to 86a5c4b by @renovate[bot] in #7876
- fix(deps): update module golang.org/x/sys to v0.41.0 by @renovate[bot] in #7885
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.6.0 by @renovate[bot] in #7884
- Checked if instrument enabled before measuring in prometheus by @itssaharsh in #7866
- exporter/otlploghttp: guard observ metrics with Enabled checks by @NesterovYehor in #7813
- chore(deps): update module github.com/go-git/go-git/v5 to v5.16.5 by @renovate[bot] in #7886
- chore(deps): update golang.org/x by @renovate[bot] in #7887
- fix(deps): update golang.org/x by @renovate[bot] in #7890
- fix(deps): update golang.org/x to 2842357 by @renovate[bot] in #7891
- fix(deps): update googleapis to 4cfbd41 by @renovate[bot] in #7889
- Checked if instrument enabled before measuring in
oteltracegrpcby @itssaharsh in #7825 - Checked if Instrument Enabled before measuring in otlpgrpc by @itssaharsh in #7824
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.8 by @renovate[bot] in #7892
- chore(deps): update module github.com/golangci/golines to v0.15.0 by @renovate[bot] in #7893
- chore(deps): update module github.com/golangci/misspell to v0.8.0 by @renovate[bot] in #7894
- chore(deps): update golang.org/x/telemetry digest to 9f66fae by @renovate[bot] in #7898
- fix(deps): update module google.golang.org/grpc to v1.79.0 by @renovate[bot] in #7906
- Support Go 1.26 by @dmathieu in #7902
- fix(deps): update module google.golang.org/grpc to v1.79.1 by @renovate[bot] in #7908
- chore(deps): update github/codeql-action action to v4.32.3 by @renovate[bot] in #7909
- chore(deps): update module github.com/kevinburke/ssh_config to v1.5.0 by @renovate[bot] in #7911
- chore(deps): update module github.com/kevinburke/ssh_config to v1.6.0 by @renovate[bot] in #7913
- chore(deps): update actions/stale action to v10.2.0 by @renovate[bot] in #7917
- chore(deps): update module github.com/godoc-lint/godoc-lint to v0.11.2 by @renovate[bot] in #7916
- chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.7.0 by @renovate[bot] in #7915
- chore(deps): update module github.com/mattn/go-runewidth to v0.0.20 by @renovate[bot] in #7918
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.28.0 by @renovate[bot] in #7921
- Checked if Operation Enabled in
otlptracehttpbefore performing operation by @itssaharsh in #7881 - chore(deps): update github/codeql-action action to v4.32.4 by @renovate[bot] in #7936
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.4 by @renovate[bot] in #7939
- chore(deps): update module github.com/uudashr/gocognit to v1.2.1 by @renovate[bot] in #7947
- chore(deps): update module github.com/alexkohler/prealloc to v1.0.3 by @renovate[bot] in #7950
- chore(deps): update module github.com/go-git/go-billy/v5 to v5.8.0 by @renovate[bot] in #7953
- chore(deps): update lycheeverse/lychee-action action to v2.8.0 by @renovate[bot] in #7959
- chore(deps): update module github.com/go-git/go-git/v5 to v5.17.0 by @renovate[bot] in #7960
- chore(deps): update actions/setup-go action to v6.3.0 by @renovate[bot] in #7962
- Document metric api interfaces that methods need to be safe to be called concurrently by @dashpole in #7952
- ci: add govulncheck job to CI workflow and update lint target by @pellared in #7971
- Comply with W3C Baggage specification limits by @XSAM in #7880
- chore(deps): update module github.com/mgechev/revive to v1.14.0 by @renovate[bot] in #7895
- chore(deps): update github artifact actions (major) by @renovate[bot] in #7963
- chore(deps): update module github.com/kisielk/errcheck to v1.10.0 by @renovate[bot] in #7967
- chore(deps): update module github.com/protonmail/go-crypto to v1.4.0 by @renovate[bot] in #7969
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to d566b4d by @renovate[bot] in #7972
- chore(deps): update module github.com/sonatard/noctx to v0.5.0 by @renovate[bot] in #7968
- chore(deps): update module github.com/daixiang0/gci to v0.14.0 by @renovate[bot] in #7973
- chore(deps): update module github.com/securego/gosec/v2 to v2.23.0 by @renovate[bot] in #7899
- Generate semconv/v1.40.0 by @ChrsMark in #7929
- Revert "Generate semconv/v1.40.0" by @dmathieu in #7978
- chore(deps): update github/codeql-action action to v4.32.5 by @renovate[bot] in #7980
- fix: add error handling for insecure HTTP endpoints with TLS client configuration by @sandy2008 in #7914
- Release 1.41.0/0.63.0/0.17.0/0.0.15 by @pellared in https://github.com/open-telemetry/opentelemetry-...
Release v1.40.0/v0.62.0/v0.16.0
Immutable
release. Only release title and notes can be modified.
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 #7690
- chore(deps): update golang.org/x by @renovate[bot] in #7689
- fix(deps): update golang.org/x by @renovate[bot] in #7691
- prometheus exporter ignores metrics from the Prometheus bridge by @dashpole in #7688
- chore(deps): update codecov/codecov-action action to v5.5.2 by @renovate[bot] in #7693
- fix(deps): update golang.org/x to 8475f28 by @renovate[bot] in #7692
- chore(deps): update github.com/securego/gosec/v2 digest to b6eea26 by @renovate[bot] in #7694
- chore(deps): update module github.com/securego/gosec/v2 to v2.22.11 by @renovate[bot] in #7696
- Use sync.Map and atomics for fixed bucket histograms by @dashpole in #7474
- chore(deps): update actions/cache action to v5 by @renovate[bot] in #7701
- chore(deps): update otel/weaver docker tag to v0.20.0 by @renovate[bot] in #7698
- fix(deps): update module google.golang.org/protobuf to v1.36.11 by @renovate[bot] in #7704
- chore(deps): update github/codeql-action action to v4.31.8 by @renovate[bot] in #7703
- sdk/log: improve Processor documentation by @pellared in #7695
- chore(deps): update github artifact actions (major) by @renovate[bot] in #7707
- chore(deps): update actions/cache action to v5.0.1 by @renovate[bot] in #7705
- fix(deps): update googleapis to 97cd9d5 by @renovate[bot] in #7708
- stdoutmetric exporter observability by @mahendrabishnoi2 in #7492
- Optimize histogram reservoir by @dashpole in #7443
- chore(deps): update golang.org/x/telemetry digest to e75fd47 by @renovate[bot] in #7710
- Use sync.Map and atomics for lastvalue aggregations by @dashpole in #7478
- chore(deps): update module go.opentelemetry.io/collector/featuregate to v1.48.0 by @renovate[bot] in #7713
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.48.0 by @renovate[bot] in #7716
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.21.0 by @renovate[bot] in #7715
- Exponential histogram: defer computing count until collect by @dashpole in #7702
- address feedback from #7478 by @dashpole in #7718
- chore(deps): update github/codeql-action action to v4.31.9 by @renovate[bot] in #7722
- chore(deps): update module github.com/alecthomas/chroma/v2 to v2.21.1 by @renovate[bot] in #7726
- chore(deps): update golang.org/x/telemetry digest to 2adc8cf by @renovate[bot] in #7725
- chore(deps): update golang.org/x/telemetry digest to 7004b74 by @renovate[bot] in #7727
- chore(deps): update module github.com/burntsushi/toml to v1.6.0 by @renovate[bot] in #7728
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.18 by @renovate[bot] in #7731
- chore(deps): update golang.org/x/telemetry digest to e0dd3dd by @renovate[bot] in #7732
- fix(deps): update golang.org/x to 944ab1f by @renovate[bot] in #7733
- fix(deps): update module google.golang.org/grpc to v1.78.0 by @renovate[bot] in #7742
- fix(deps): update googleapis to 0a764e5 by @renovate[bot] in #7740
- chore(deps): update golang.org/x/telemetry digest to 3f2a21f by @renovate[bot] in #7739
- chore(deps): update module github.com/cloudflare/circl to v1.6.2 by @renovate[bot] in #7741
- chore(deps): update module github.com/godoc-lint/godoc-lint to v0.11.1 by @renovate[bot] in #7746
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.4 by @renovate[bot] in #7747
- Add test cases to
TestEmitinattributeby @itssaharsh in #7751 - fix(deps): update module go.opentelemetry.io/collector/pdata to v1.49.0 by @renovate[bot] in #7754
- chore(deps): update module github.com/prometheus/common to v0.67.5 by @renovate[bot] in #7752
- chore(deps): update module github.com/mirrexone/unqueryvet to v1.4.0 by @renovate[bot] in #7756
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 492b5bc by @renovate[bot] in #7759
- chore(deps): update module github.com/go-critic/go-critic to v0.14.3 by @renovate[bot] in #7757
- fix...
Release v1.39.0/v0.61.0/v0.15.0/v0.0.14
Immutable
release. Only release title and notes can be modified.
Overview
Added
- Greatly reduce the cost of recording metrics in
go.opentelemetry.io/otel/sdk/metricusing hashing for map keys. (#7175) - Add
WithInstrumentationAttributeSetoption togo.opentelemetry.io/otel/log,go.opentelemetry.io/otel/metric, andgo.opentelemetry.io/otel/tracepackages. This provides a concurrent-safe and performant alternative toWithInstrumentationAttributesby accepting a pre-constructedattribute.Set. (#7287) - Add experimental observability for the Prometheus exporter in
go.opentelemetry.io/otel/exporters/prometheus. Check thego.opentelemetry.io/otel/exporters/prometheus/internal/xpackage documentation for more information. (#7345) - Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#7353) - Add temporality selector functions
DeltaTemporalitySelector,CumulativeTemporalitySelector,LowMemoryTemporalitySelectortogo.opentelemetry.io/otel/sdk/metric. (#7434) - Add experimental observability metrics for simple log processor in
go.opentelemetry.io/otel/sdk/log. (#7548) - Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#7459) - Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7486) - Add experimental observability metrics for simple span processor in
go.opentelemetry.io/otel/sdk/trace. (#7374) - Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7512) - Add experimental observability metrics for manual reader in
go.opentelemetry.io/otel/sdk/metric. (#7524) - Add experimental observability metrics for periodic reader in
go.opentelemetry.io/otel/sdk/metric. (#7571) - Support
OTEL_EXPORTER_OTLP_LOGS_INSECUREandOTEL_EXPORTER_OTLP_INSECUREenvironmental variables ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7608) - Add
Enabledmethod to theProcessorinterface ingo.opentelemetry.io/otel/sdk/log. AllProcessorimplementations now include anEnabledmethod. (#7639) - The
go.opentelemetry.io/otel/semconv/v1.38.0package. The package contains semantic conventions from thev1.38.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.37.0.(#7648)
Changed
Distinctingo.opentelemetry.io/otel/attributeis no longer guaranteed to uniquely identify an attribute set. Collisions betweenDistinctvalues for different Sets are possible with extremely high cardinality (billions of series per instrument), but are highly unlikely. (#7175)WithInstrumentationAttributesingo.opentelemetry.io/otel/tracesynchronously de-duplicates the passed attributes instead of delegating it to the returnedTracerOption. (#7266)WithInstrumentationAttributesingo.opentelemetry.io/otel/metersynchronously de-duplicates the passed attributes instead of delegating it to the returnedMeterOption. (#7266)WithInstrumentationAttributesingo.opentelemetry.io/otel/logsynchronously de-duplicates the passed attributes instead of delegating it to the returnedLoggerOption. (#7266)- Rename the
OTEL_GO_X_SELF_OBSERVABILITYenvironment variable toOTEL_GO_X_OBSERVABILITYingo.opentelemetry.io/otel/sdk/trace,go.opentelemetry.io/otel/sdk/log, andgo.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#7302) - Improve performance of histogram
Recordingo.opentelemetry.io/otel/sdk/metricwhen min and max are disabled usingNoMinMax. (#7306) - Improve error handling for dropped data during translation by using
prometheus.NewInvalidMetricingo.opentelemetry.io/otel/exporters/prometheus.⚠️ Breaking Change: Previously, these cases were only logged and scrapes succeeded. Now, when translation would drop data (e.g., invalid label/value), the exporter emits aNewInvalidMetric, and Prometheus scrapes fail with HTTP 500 by default. To preserve the prior behavior (scrapes succeed while errors are logged), configure your Prometheus HTTP handler with:promhttp.HandlerOpts{ ErrorHandling: promhttp.ContinueOnError }. (#7363) - Replace fnv hash with xxhash in
go.opentelemetry.io/otel/attributefor better performance. (#7371) - The default
TranslationStrategyingo.opentelemetry.io/exporters/prometheusis changed fromotlptranslator.NoUTF8EscapingWithSuffixestootlptranslator.UnderscoreEscapingWithSuffixes. (#7421) - Improve performance of concurrent measurements in
go.opentelemetry.io/otel/sdk/metric. (#7427) - Include W3C TraceFlags (bits 0–7) in the OTLP
Span.Flagsfield ingo.opentelemetry.io/exporters/otlp/otlptrace/otlptracehttpandgo.opentelemetry.io/exporters/otlp/otlptrace/otlptracegrpc. (#7438) - The
ErrorTypefunction ingo.opentelemetry.io/otel/semconv/v1.37.0now handles custom error types.
If an error implements anErrorType() stringmethod, the return value of that method will be used as the error type. (#7442)
Fixed
- Fix
WithInstrumentationAttributesoptions ingo.opentelemetry.io/otel/trace,go.opentelemetry.io/otel/metric, andgo.opentelemetry.io/otel/logto properly merge attributes when passed multiple times instead of replacing them. Attributes with duplicate keys will use the last value passed. (#7300) - The equality of
attribute.Setwhen using theEqualmethod is not affected by the user overriding the empty set pointed to byattribute.EmptySetingo.opentelemetry.io/otel/attribute. (#7357) - Return partial OTLP export errors to the caller in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#7372) - Return partial OTLP export errors to the caller in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7372) - Return partial OTLP export errors to the caller in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#7372) - Return partial OTLP export errors to the caller in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#7372) - Return partial OTLP export errors to the caller in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#7372) - Return partial OTLP export errors to the caller in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7372) - Fix
AddAttributes,SetAttributes,SetBodyonRecordingo.opentelemetry.io/otel/sdk/logto not mutate input. (#7403) - Do not double record measurements of
RecordSetmethods ingo.opentelemetry.io/otel/semconv/v1.37.0. (#7655) - Do not double record measurements of
RecordSetmethods ingo.opentelemetry.io/otel/semconv/v1.36.0. (#7656)
Removed
- Drop support for [Go 1.23]. (#7274)
- Remove the
FilterProcessorinterface ingo.opentelemetry.io/otel/sdk/log. TheEnabledmethod has been added to theProcessorinterface instead. AllProcessorimplementations must now implement theEnabledmethod. Custom processors that do not filter records can implementEnabledto returntrue. (#7639)
What's Changed
- Drop support for Go 1.23 by @MrAlias in #7274
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.40.0 by @renovate[bot] in #7275
- chore(deps): update module github.com/securego/gosec/v2 to v2.22.8 by @renovate[bot] in #7276
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.4.0 by @renovate[bot] in #7277
- fix(deps): update golang.org/x by @renovate[bot] in #7188
- fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.2 by @renovate[bot] in #7281
- fix(deps): update googleapis to ef028d9 by @renovate[bot] in #7279
- chore(deps): update module github.com/rogpeppe/go-internal to v1.14.1 by @renovate[bot] in #7283
- chore(deps): update module github.com/spf13/pflag to v1.0.9 by @renovate[bot] in #7282
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 0261db7 by @renovate[bot] in #7278
- Fix missing link in changelog by @MrAlias in #7273
- chore(deps): update module github.com/spf13/cobra to v1.10.0 by @renovate[bot] in #7285
- chore(deps): update github/codeql-action action to v3.30.0 by @renovate[bot] in #7284
- chore(deps): update module github.com/spf13/cobra to v1.10.1 by @renovate[bot] in #7286
- Add tracetest example for testing instrumentation by @adity1raut in #7107
- Fix schema urls by @dmathieu in #7288
- chore(deps): update module github.com/spf13/pflag to v1.0.10 by @renovate[bot] in #7291
- chore(deps): update benchmark-action/github-action-benchmark action to v1.20.5 by @renovate[bot] in #7293
- chore(deps): update module github.com/ghostiam/protogetter to v0.3.16 by @renovate[bot] in #7289
- chore(deps): update module github.com/golangci/go-printf-func-name to v0.1.1 by @renovate[bot]...
Release v1.38.0/v0.60.0/v0.14.0/v0.0.13
Overview
This release is the last to support Go 1.23. The next release will require at least Go 1.24.
Added
- Add native histogram exemplar support in
go.opentelemetry.io/otel/exporters/prometheus. (#6772) - Add template attribute functions to the
go.opentelmetry.io/otel/semconv/v1.34.0package. (#6939)ContainerLabelDBOperationParameterDBSystemParameterHTTPRequestHeaderHTTPResponseHeaderK8SCronJobAnnotationK8SCronJobLabelK8SDaemonSetAnnotationK8SDaemonSetLabelK8SDeploymentAnnotationK8SDeploymentLabelK8SJobAnnotationK8SJobLabelK8SNamespaceAnnotationK8SNamespaceLabelK8SNodeAnnotationK8SNodeLabelK8SPodAnnotationK8SPodLabelK8SReplicaSetAnnotationK8SReplicaSetLabelK8SStatefulSetAnnotationK8SStatefulSetLabelProcessEnvironmentVariableRPCConnectRPCRequestMetadataRPCConnectRPCResponseMetadataRPCGRPCRequestMetadataRPCGRPCResponseMetadata
- Add
ErrorTypeattribute helper function to thego.opentelmetry.io/otel/semconv/v1.34.0package. (#6962) - Add
WithAllowKeyDuplicationingo.opentelemetry.io/otel/sdk/logwhich can be used to disable deduplication for log records. (#6968) - Add
WithCardinalityLimitoption to configure the cardinality limit ingo.opentelemetry.io/otel/sdk/metric. (#6996, #7065, #7081, #7164, #7165, #7179) - Add
Clonemethod toRecordingo.opentelemetry.io/otel/logthat returns a copy of the record with no shared state. (#7001) - Add experimental self-observability span and batch span processor metrics in
go.opentelemetry.io/otel/sdk/trace. Check thego.opentelemetry.io/otel/sdk/trace/internal/xpackage documentation for more information. (#7027, #6393, #7209) - The
go.opentelemetry.io/otel/semconv/v1.36.0package. The package contains semantic conventions from thev1.36.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.34.0.(#7032, #7041) - Add support for configuring Prometheus name translation using
WithTranslationStrategyoption ingo.opentelemetry.io/otel/exporters/prometheus. The current default translation strategy when UTF-8 mode is enabled isNoUTF8EscapingWithSuffixes, but a future release will change the default strategy toUnderscoreEscapingWithSuffixesfor compliance with the specification. (#7111) - Add experimental self-observability log metrics in
go.opentelemetry.io/otel/sdk/log. Check thego.opentelemetry.io/otel/sdk/log/internal/xpackage documentation for more information. (#7121) - Add experimental self-observability trace exporter metrics in
go.opentelemetry.io/otel/exporters/stdout/stdouttrace. Check thego.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/xpackage documentation for more information. (#7133) - Support testing of [Go 1.25]. (#7187)
- The
go.opentelemetry.io/otel/semconv/v1.37.0package. The package contains semantic conventions from thev1.37.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.36.0.(#7254)
Changed
- Optimize
TraceIDFromHexandSpanIDFromHexingo.opentelemetry.io/otel/sdk/trace. (#6791) - Change
AssertEqualingo.opentelemetry.io/otel/log/logtestto acceptTestingTin order to support benchmarks and fuzz tests. (#6908) - Change
DefaultExemplarReservoirProviderSelectoringo.opentelemetry.io/otel/sdk/metricto useruntime.GOMAXPROCS(0)instead ofruntime.NumCPU()for theFixedSizeReservoirProviderdefault size. (#7094)
Fixed
SetBodymethod ofRecordingo.opentelemetry.io/otel/sdk/lognow deduplicates key-value collections (log.Valueoflog.KindMapfromgo.opentelemetry.io/otel/log). (#7002)- Fix
go.opentelemetry.io/otel/exporters/prometheusto not append a suffix if it's already present in metric name. (#7088) - Fix the
go.opentelemetry.io/otel/exporters/stdout/stdouttraceself-observability component type and name. (#7195) - Fix partial export count metric in
go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#7199)
Deprecated
- Deprecate
WithoutUnitsandWithoutCounterSuffixesoptions, preferringWithTranslationStrategyinstead. (#7111) - Deprecate support for
OTEL_GO_X_CARDINALITY_LIMITenvironment variable ingo.opentelemetry.io/otel/sdk/metric. UseWithCardinalityLimitoption instead. (#7166)
What's Changed
- chore(deps): update golang.org/x/telemetry digest to 96f361d by @renovate[bot] in #7054
- fix(deps): update googleapis to a45f3df by @renovate[bot] in #7058
- chore(deps): update github/codeql-action action to v3.29.3 by @renovate[bot] in #7055
- fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.3.0 by @renovate[bot] in #7060
- chore(deps): update module github.com/securego/gosec/v2 to v2.22.7 by @renovate[bot] in #7059
- chore(deps): update python:3.13.5-slim-bullseye docker digest to 89aa817 by @renovate[bot] in #7061
- chore(deps): update python:3.13.5-slim-bullseye docker digest to 17c88fd by @renovate[bot] in #7062
- Fix markdown-fail-fast on push by @MrAlias in #7057
- sdk/trace: self-observability: span metrics by @pellared in #7027
- chore(deps): update module github.com/ldez/grignotin to v0.10.0 by @renovate[bot] in #7072
- fix(deps): update module google.golang.org/grpc to v1.74.2 by @renovate[bot] in #7073
- chore(deps): update python:3.13.5-slim-bullseye docker digest to ba65ee6 by @renovate[bot] in #7068
- sdk/metric: do not document default cardinality limit by @pellared in #7065
- docs: unify doc comments for functions returning bool by @pellared in #7064
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.36.1 by @renovate[bot] in #7070
- fix(deps): update github.com/prometheus/otlptranslator digest to fce6240 by @renovate[bot] in #7075
- fix(deps): update module github.com/cenkalti/backoff/v5 to v5.0.3 by @renovate[bot] in #7077
- chore(deps): update github/codeql-action action to v3.29.4 by @renovate[bot] in #7076
- Add Flc as an approver by @pellared in #7053
- chore(deps): update module go.opentelemetry.io/build-tools to v0.25.0 by @renovate[bot] in #7079
- fix(deps): update build-tools to v0.25.0 by @renovate[bot] in #7080
- chore(deps): update python:3.13.5-slim-bullseye docker digest to 846d391 by @renovate[bot] in #7078
- chore(deps): update module github.com/bombsimon/wsl/v5 to v5.1.1 by @renovate[bot] in #7082
- chore(deps): update module github.com/daixiang0/gci to v0.13.7 by @renovate[bot] in #7085
- fix(deps): update github.com/prometheus/otlptranslator digest to ab8d56d by @renovate[bot] in #7088
- fix: add mock server URL to .lycheeignore by @flc1125 in #7090
- chore(deps): update module github.com/sonatard/noctx to v0.4.0 by @renovate[bot] in #7092
- chore(deps): update golang.org/x/telemetry digest to 1581f0a by @renovate[bot] in #7096
- fix(deps): update googleapis to f173205 by @renovate[bot] in #7097
- chore(deps): update module github.com/4meepo/tagalign to v1.4.3 by @renovate[bot] in #7098
- Modernize by @ash2k in #7089
- Remove notice about internaltest which is not generated anymore by @dmathieu in #7093
- sdk/metric: use runtime.GOMAXPROCS(0) instead of runtime.NumCPU() in DefaultExemplarReservoirProviderSelector for the FixedSizeReservoirProvider default size by @lzakharov in #7094
- ci: Add use-any linter by @flc1125 in #7091
- chore: enable gocritic linter by @mmorel-35 in #7095
- chore(deps): update module github.com/sagikazarmark/locafero to v0.10.0 by @renovate[bot] in #7100
- chore(deps): update golang...
Release 0.59.1
Summary
Changed
- Retract
v0.59.0release ofgo.opentelemetry.io/otel/exporters/prometheusmodule which appends incorrect unit suffixes. (#7046) - Change
go.opentelemetry.io/otel/exporters/prometheusto no longer deduplicate suffixes when UTF8 is enabled.
It is recommended to disable unit and counter suffixes in the exporter, and manually add suffixes if you rely on the existing behavior. (#7044)
Fixed
- Fix
go.opentelemetry.io/otel/exporters/prometheusto properly handle unit suffixes when the unit is in brackets.
E.g.{spans}. (#7044)
What's Changed
- chore(deps): update module github.com/prometheus/procfs to v0.17.0 by @renovate[bot] in #6961
- fix(deps): update golang.org/x by @renovate[bot] in #6989
- Retract most recent prometheus exporter release by @dashpole in #7046
- Migrate prometheus exporter to otlptranslator by @dashpole in #7044
- Release exporters/prometheus/v0.59.1 by @dashpole in #7056
Full Changelog: exporters/prometheus/v0.59.0...exporters/prometheus/v0.59.1
Release 1.37.0/0.59.0/0.13.0
Added
- The
go.opentelemetry.io/otel/semconv/v1.33.0package.
The package contains semantic conventions from thev1.33.0version of the OpenTelemetry Semantic Conventions.
See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.32.0.(#6799) - The
go.opentelemetry.io/otel/semconv/v1.34.0package.
The package contains semantic conventions from thev1.34.0version of the OpenTelemetry Semantic Conventions. (#6812) - Add metric's schema URL as
otel_scope_schema_urllabel ingo.opentelemetry.io/otel/exporters/prometheus. (#5947) - Add metric's scope attributes as
otel_scope_[attribute]labels ingo.opentelemetry.io/otel/exporters/prometheus. (#5947) - Add
EventNametoEnabledParametersingo.opentelemetry.io/otel/log. (#6825) - Add
EventNametoEnabledParametersingo.opentelemetry.io/otel/sdk/log. (#6825) - Changed handling of
go.opentelemetry.io/otel/exporters/prometheusmetric renaming to add unit suffixes when it doesn't match one of the pre-defined values in the unit suffix map. (#6839)
Changed
- The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/otel/bridge/opentracing. (#6827) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/otel/exporters/zipkin. (#6829) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/otel/metric. (#6832) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/otel/sdk/resource. (#6834) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/otel/sdk/trace. (#6835) - The semantic conventions have been upgraded from
v1.26.0tov1.34.0ingo.opentelemetry.io/otel/trace. (#6836) Record.Resourcenow returns*resource.Resourceinstead ofresource.Resourceingo.opentelemetry.io/otel/sdk/log. (#6864)- Retry now shows error cause for context timeout in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc,go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc,go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp,go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6898)
Fixed
- Stop stripping trailing slashes from configured endpoint URL in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#6710) - Stop stripping trailing slashes from configured endpoint URL in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6710) - Stop stripping trailing slashes from configured endpoint URL in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#6710) - Stop stripping trailing slashes from configured endpoint URL in
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6710) - Validate exponential histogram scale range for Prometheus compatibility in
go.opentelemetry.io/otel/exporters/prometheus. (#6822) - Context cancellation during metric pipeline produce does not corrupt data in
go.opentelemetry.io/otel/sdk/metric. (#6914)
Removed
go.opentelemetry.io/otel/exporters/prometheusno longer exportsotel_scope_infometric. (#6770)
What's Changed
- Fix dependencies to unreleased sdk/logtest by @dmathieu in #6800
- Release experimental logs 0.12.1 by @dmathieu in #6802
- Fix broken link in changelog by @MrAlias in #6805
- Retract v0.12.0 for log exporters by @MrAlias in #6804
- chore(deps): update python:3.13.3-slim-bullseye docker digest to 45338d2 by @renovate in #6807
- remove internal/matchers by @codeimmortal in #6777
- Release log/v0.12.2 by @MrAlias in #6806
- chore(deps): update python:3.13.3-slim-bullseye docker digest to f0acec6 by @renovate in #6810
- Update the required approvals policy by @MrAlias in #6783
- Generate
semconv/v1.33.0by @MrAlias in #6799 - chore(deps): update module github.com/jgautheron/goconst to v1.8.2 by @renovate in #6815
- chore(deps): update module github.com/protonmail/go-crypto to v1.3.0 by @renovate in #6817
- chore(deps): update module github.com/santhosh-tekuri/jsonschema/v6 to v6.0.2 by @renovate in #6818
- Semconv v1.34.0 by @MrAlias in #6812
- bridge/opencensus: add test for OTelSpanContextToOC function by @highlyavailable in #6813
- chore(deps): update module github.com/sashamelentyev/usestdlibvars to v1.29.0 by @renovate in #6820
- prometheus: Add otel_scope_schema_url and otel_scope_[attribute] labels by @pellared in #5947
- Fix/issue 6560 install trace bridge test by @highlyavailable in #6814
- fix(deps): update module google.golang.org/grpc to v1.72.2 by @renovate in #6823
- fix(deps): update module go.opentelemetry.io/collector/pdata to v1.33.0 by @renovate in #6824
- chore(deps): update module github.com/golangci/plugin-module-register to v0.1.2 by @renovate in #6826
- chore(deps): update otel/weaver docker tag to v0.15.1 by @renovate in #6838
- prometheus: remove otel_scope_info by @pellared in #6770
- log,sdk/log: add EventName to EnabledParameters by @pellared in #6825
- chore(deps): update module github.com/abirdcfly/dupword to v0.1.5 by @renovate in #6840
- Add migration doc generation to semconvgen by @MrAlias in #6819
- fix(deps): update module github.com/go-logr/logr to v1.4.3 by @renovate in #6842
- Upgrade semconv to v1.34.0 in OpenTracing bridge by @MrAlias in #6827
- Upgrade semconv to v1.34.0 for OTLP templates by @MrAlias in #6828
- Upgrade semconv to 1.34.0 in exporters/zipkin by @MrAlias in #6829
- Upgrade semconv to 1.34.0 in exporters/stdout by @MrAlias in #6830
- Upgrade semconv to 1.34.0 in exporters/prometheus by @MrAlias in #6831
- Upgrade semconv to 1.34.0 in metric by @MrAlias in #6832
- Upgrade semconv to 1.34.0 in sdk/metric by @MrAlias in #6833
- Upgrade semconv to 1.34.0 in sdk/resource by @MrAlias in #6834
- Upgrade semconv to 1.34.0 in sdk/trace by @MrAlias in #6835
- Upgrade semconv to 1.34.0 in trace by @MrAlias in #6836
- Fix semconv instrument types by @MrAlias in #6837
- fix(deps): update googleapis to 200df99 by @renovate in #6843
- chore(deps): update module github.com/abirdcfly/dupword to v0.1.6 by @renovate in #6845
- chore(deps): update golang.org/x/telemetry digest to b2b9eea by @renovate in #6844
- fix(deps): update module go.opentelemetry.io/proto/otlp to v1.7.0 by @renovate in #6848
- Checkout code for codecov upload by @MrAlias in #6849
- chore(deps): update golang.org/x/telemetry digest to 25d2f78 by @renovate in #6851
- Add the FOSSA license scan badge shield by @MrAlias in #6852
- Add a CLO monitor exemption for Artifact Hub by @MrAlias in #6853
- sdk/trace: Remove internaltest package by @Mojachieee in #6846
- chore(deps): update ossf/scorecard-action action to v2.4.2 by @renovate in #6857
- chore(deps): update otel/weaver docker tag to v0.15.2 by @renovate in #6858
- fix(deps): update golang.org/x to 65e9200 by @renovate in #6859
- chore(deps): update module github.com/spf13...
Experimental logs v0.12.2
- Retract
v0.12.0release ofgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpcmodule that contains invalid dependencies. (#6804) - Retract
v0.12.0release ofgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpmodule that contains invalid dependencies. (#6804) - Retract
v0.12.0release ofgo.opentelemetry.io/otel/exporters/stdout/stdoutlogmodule 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.0package.
The package contains semantic conventions from thev1.31.0version 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, andRecordtypes ingo.opentelemetry.io/otel/log/logtest. (#6507) - Add
WithHTTPClientoption to configure thehttp.Clientused bygo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6751) - Add
WithHTTPClientoption to configure thehttp.Clientused bygo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6752) - Add
WithHTTPClientoption to configure thehttp.Clientused bygo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6688) - Add
ValuesGetteringo.opentelemetry.io/otel/propagation, aTextMapCarrierthat supports retrieving multiple values for a single key. (#5973) - Add
Valuesmethod toHeaderCarrierto implement the newValuesGetterinterface ingo.opentelemetry.io/otel/propagation. (#5973) - Update
Baggageingo.opentelemetry.io/otel/propagationto retrieve multiple values for a key when the carrier implementsValuesGetter. (#5973) - Add
AssertEqualfunction ingo.opentelemetry.io/otel/log/logtest. (#6662) - The
go.opentelemetry.io/otel/semconv/v1.32.0package.
The package contains semantic conventions from thev1.32.0version 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
Transformoption ingo.opentelemetry.io/otel/log/logtest. (#6794) - Add
Descoption ingo.opentelemetry.io/otel/log/logtest. (#6796)
Removed
- Drop support for [Go 1.22]. (#6381, #6418)
- Remove
Resourcefield fromEnabledParametersingo.opentelemetry.io/otel/sdk/log. (#6494) - Remove
RecordFactorytype fromgo.opentelemetry.io/otel/log/logtest. (#6492) - Remove
ScopeRecords,EmittedRecord, andRecordFactorytypes fromgo.opentelemetry.io/otel/log/logtest. (#6507) - Remove
AssertRecordEqualfunction ingo.opentelemetry.io/otel/log/logtest, useAssertEqualinstead. (#6662)
Changed
⚠️ Updategithub.com/prometheus/client_golangtov1.21.1, which changes theNameValidationSchemetoUTF8Validation.
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.NameValidationSchemetoLegacyValidationingithub.com/prometheus/common/model. (#6433)- Initialize map with
len(keys)inNewAllowKeysFilterandNewDenyKeysFilterto avoid unnecessary allocations ingo.opentelemetry.io/otel/attribute. (#6455) go.opentelemetry.io/otel/log/logtestis now a separate Go module. (#6465)go.opentelemetry.io/otel/sdk/log/logtestis now a separate Go module. (#6466)Recorderingo.opentelemetry.io/otel/log/logtestno longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)- Improve performance of
BatchProcessoringo.opentelemetry.io/otel/sdk/logby not exporting when exporter cannot accept more. (#6569, #6641)
Deprecated
- Deprecate support for
model.LegacyValidationforgo.opentelemetry.io/otel/exporters/prometheus. (#6449)
Fixes
- Stop percent encoding header environment variables in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpcandgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6392) - Ensure the
noopSpan.tracerProvidermethod is not inlined ingo.opentelemetry.io/otel/traceso thego.opentelemetry.io/autoinstrumentation can instrument non-recording spans. (#6456) - Use a
sync.Poolinstead of allocatingmetricdata.ResourceMetricsingo.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/logtestingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#6800) - Use the proper dependency version of
go.opentelemetry.io/otel/sdk/log/logtestingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6800) - Use the proper dependency version of
go.opentelemetry.io/otel/sdk/log/logtestingo.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#6800)