You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update Baggage in go.opentelemetry.io/otel/propagation and Parse and New in go.opentelemetry.io/otel/baggage to comply with W3C Baggage specification limits. New and Parse now return partial baggage along with an error when limits are exceeded.
Errors from baggage extraction are reported to the global error handler. (#7880)
Greatly reduce the cost of recording metrics in go.opentelemetry.io/otel/sdk/metric using hashing for map keys. (#7175)
Add WithInstrumentationAttributeSet option to go.opentelemetry.io/otel/log, go.opentelemetry.io/otel/metric, and go.opentelemetry.io/otel/trace packages. This provides a concurrent-safe and performant alternative to WithInstrumentationAttributes by accepting a pre-constructed attribute.Set. (#7287)
Add experimental observability for the Prometheus exporter in go.opentelemetry.io/otel/exporters/prometheus. Check the go.opentelemetry.io/otel/exporters/prometheus/internal/x package 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, LowMemoryTemporalitySelector to go.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_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environmental variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7608)
Add Enabled method to the Processor interface in go.opentelemetry.io/otel/sdk/log. All Processor implementations now include an Enabled method. (#7639)
The go.opentelemetry.io/otel/semconv/v1.38.0 package. The package contains semantic conventions from the v1.38.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.37.0.(#7648)
Changed
Distinct in go.opentelemetry.io/otel/attribute is no longer guaranteed to uniquely identify an attribute set. Collisions between Distinct values for different Sets are possible with extremely high cardinality (billions of series per instrument), but are highly unlikely. (#7175)
WithInstrumentationAttributes in go.opentelemetry.io/otel/trace synchronously de-duplicates the passed attributes instead of delegating it to the returned TracerOption. (#7266)
WithInstrumentationAttributes in go.opentelemetry.io/otel/meter synchronously de-duplicates the passed attributes instead of delegating it to the returned MeterOption. (#7266)
WithInstrumentationAttributes in go.opentelemetry.io/otel/log synchronously de-duplicates the passed attributes instead of delegating it to the returned LoggerOption. (#7266)
Rename the OTEL_GO_X_SELF_OBSERVABILITY environment variable to OTEL_GO_X_OBSERVABILITY in go.opentelemetry.io/otel/sdk/trace, go.opentelemetry.io/otel/sdk/log, and go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#7302)
Improve performance of histogram Record in go.opentelemetry.io/otel/sdk/metric when min and max are disabled using NoMinMax. (#7306)
Improve error handling for dropped data during translation by using prometheus.NewInvalidMetric in go.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 a NewInvalidMetric, 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/attribute for better performance. (#7371)
The default TranslationStrategy in go.opentelemetry.io/exporters/prometheus is changed from otlptranslator.NoUTF8EscapingWithSuffixes to otlptranslator.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.Flags field in go.opentelemetry.io/exporters/otlp/otlptrace/otlptracehttp and go.opentelemetry.io/exporters/otlp/otlptrace/otlptracegrpc. (#7438)
The ErrorType function in go.opentelemetry.io/otel/semconv/v1.37.0 now handles custom error types.
If an error implements an ErrorType() string method, the return value of that method will be used as the error type. (#7442)
Fixed
Fix WithInstrumentationAttributes options in go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/metric, and go.opentelemetry.io/otel/log to 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.Set when using the Equal method is not affected by the user overriding the empty set pointed to by attribute.EmptySet in go.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, SetBody on Record in go.opentelemetry.io/otel/sdk/log to not mutate input. (#7403)
Do not double record measurements of RecordSet methods in go.opentelemetry.io/otel/semconv/v1.37.0. (#7655)
Do not double record measurements of RecordSet methods in go.opentelemetry.io/otel/semconv/v1.36.0. (#7656)
Remove the FilterProcessor interface in go.opentelemetry.io/otel/sdk/log. The Enabled method has been added to the Processor interface instead. All Processor implementations must now implement the Enabled method. Custom processors that do not filter records can implement Enabled to return true. (#7639)
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.29.0
fix(deps): update opentelemetry-go monorepo to v1.30.0
Sep 10, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.30.0
fix(deps): update opentelemetry-go monorepo
Oct 11, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo
fix(deps): update opentelemetry-go monorepo to v1.31.0
Oct 11, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.31.0
fix(deps): update module go.opentelemetry.io/otel to v1.31.0
Oct 26, 2024
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel to v1.31.0
fix(deps): update opentelemetry-go monorepo to v1.31.0
Oct 26, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.31.0
fix(deps): update opentelemetry-go monorepo to v1.32.0
Nov 8, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.32.0
fix(deps): update module go.opentelemetry.io/otel to v1.32.0
Dec 2, 2024
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel to v1.32.0
fix(deps): update opentelemetry-go monorepo to v1.32.0
Dec 2, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.32.0
fix(deps): update opentelemetry-go monorepo to v1.33.0
Dec 12, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.33.0
fix(deps): update module go.opentelemetry.io/otel/trace to v1.33.0
Dec 16, 2024
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel/trace to v1.33.0
fix(deps): update opentelemetry-go monorepo to v1.33.0
Dec 16, 2024
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.33.0
fix(deps): update opentelemetry-go monorepo to v1.34.0
Jan 19, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.34.0
fix(deps): update opentelemetry-go monorepo to v1.35.0
Mar 5, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.35.0
fix(deps): update opentelemetry-go monorepo to v1.36.0
May 21, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.36.0
fix(deps): update opentelemetry-go monorepo to v1.37.0
Jun 25, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.37.0
fix(deps): update opentelemetry-go monorepo to v1.38.0
Aug 31, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.38.0
fix(deps): update module go.opentelemetry.io/otel/trace to v1.38.0
Sep 26, 2025
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel/trace to v1.38.0
fix(deps): update opentelemetry-go monorepo to v1.38.0
Sep 26, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.38.0
fix(deps): update module go.opentelemetry.io/otel to v1.38.0
Oct 7, 2025
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel to v1.38.0
fix(deps): update opentelemetry-go monorepo to v1.38.0
Oct 8, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.38.0
fix(deps): update module go.opentelemetry.io/otel/trace to v1.38.0
Oct 20, 2025
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel/trace to v1.38.0
fix(deps): update opentelemetry-go monorepo to v1.38.0
Oct 20, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.38.0
fix(deps): update module go.opentelemetry.io/otel/trace to v1.38.0
Nov 2, 2025
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel/trace to v1.38.0
fix(deps): update opentelemetry-go monorepo to v1.38.0
Nov 2, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.38.0
fix(deps): update opentelemetry-go monorepo to v1.39.0
Dec 8, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.39.0
fix(deps): update module go.opentelemetry.io/otel/trace to v1.39.0
Dec 10, 2025
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel/trace to v1.39.0
fix(deps): update opentelemetry-go monorepo to v1.39.0
Dec 10, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.39.0
fix(deps): update module go.opentelemetry.io/otel to v1.39.0
Dec 13, 2025
renovatebot
changed the title
fix(deps): update module go.opentelemetry.io/otel to v1.39.0
fix(deps): update opentelemetry-go monorepo to v1.39.0
Dec 13, 2025
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.39.0
fix(deps): update opentelemetry-go monorepo to v1.40.0
Mar 1, 2026
renovatebot
changed the title
fix(deps): update opentelemetry-go monorepo to v1.40.0
fix(deps): update opentelemetry-go monorepo to v1.41.0
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.28.0→v1.41.0v1.28.0→v1.41.0Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.41.0: /v0.63.0/v0.17.0/v0.0.15Compare Source
This release is the last to support Go 1.24.
The next release will require at least Go 1.25.
Added
Fixed
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
ce8ad4cby @renovate[bot] in #7860fe4bb1cby @renovate[bot] in #7861aaaaaa5by @renovate[bot] in #7869546029dby @renovate[bot] in #787186a5c4bby @renovate[bot] in #78762842357by @renovate[bot] in #78914cfbd41by @renovate[bot] in #7889oteltracegrpcby @itssaharsh in #78259f66faeby @renovate[bot] in #7898otlptracehttpbefore performing operation by @itssaharsh in #7881d566b4dby @renovate[bot] in #7972New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.40.0...v1.41.0
v1.40.0Compare Source
v1.39.0Compare Source
Overview
Added
go.opentelemetry.io/otel/sdk/metricusing hashing for map keys. (#7175)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)go.opentelemetry.io/otel/exporters/prometheus. Check thego.opentelemetry.io/otel/exporters/prometheus/internal/xpackage documentation for more information. (#7345)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#7353)DeltaTemporalitySelector,CumulativeTemporalitySelector,LowMemoryTemporalitySelectortogo.opentelemetry.io/otel/sdk/metric. (#7434)go.opentelemetry.io/otel/sdk/log. (#7548)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#7459)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7486)go.opentelemetry.io/otel/sdk/trace. (#7374)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7512)go.opentelemetry.io/otel/sdk/metric. (#7524)go.opentelemetry.io/otel/sdk/metric. (#7571)OTEL_EXPORTER_OTLP_LOGS_INSECUREandOTEL_EXPORTER_OTLP_INSECUREenvironmental variables ingo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7608)Enabledmethod to theProcessorinterface ingo.opentelemetry.io/otel/sdk/log. AllProcessorimplementations now include anEnabledmethod. (#7639)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)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)Recordingo.opentelemetry.io/otel/sdk/metricwhen min and max are disabled usingNoMinMax. (#7306)prometheus.NewInvalidMetricingo.opentelemetry.io/otel/exporters/prometheus.NewInvalidMetric, 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)go.opentelemetry.io/otel/attributefor better performance. (#7371)TranslationStrategyingo.opentelemetry.io/exporters/prometheusis changed fromotlptranslator.NoUTF8EscapingWithSuffixestootlptranslator.UnderscoreEscapingWithSuffixes. (#7421)go.opentelemetry.io/otel/sdk/metric. (#7427)Span.Flagsfield ingo.opentelemetry.io/exporters/otlp/otlptrace/otlptracehttpandgo.opentelemetry.io/exporters/otlp/otlptrace/otlptracegrpc. (#7438)ErrorTypefunction ingo.opentelemetry.io/otel/semconv/v1.37.0now handles custom error types.If an error implements an
ErrorType() stringmethod, the return value of that method will be used as the error type. (#7442)Fixed
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)attribute.Setwhen using theEqualmethod is not affected by the user overriding the empty set pointed to byattribute.EmptySetingo.opentelemetry.io/otel/attribute. (#7357)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7372)AddAttributes,SetAttributes,SetBodyonRecordingo.opentelemetry.io/otel/sdk/logto not mutate input. (#7403)RecordSetmethods ingo.opentelemetry.io/otel/semconv/v1.37.0. (#7655)RecordSetmethods ingo.opentelemetry.io/otel/semconv/v1.36.0. (#7656)Removed
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
ef028d9by @renovate[bot] in #72790261db7by @renovate[bot] in #72789b996f7by @renovate[bot] in #7308f7b3be9by @renovate[bot] in #7311af835b0by @renovate[bot] in #73139702482by @renovate[bot] in #7335stdouttrace.Exporterinstrumentation in internal package by @MrAlias in #7307df92998by @renovate[bot] in #7350recordingSpanby @MrAlias in #7354TestNewInstrumentationby @yumosx in #7369a6e64aaby @renovate[bot] in #73759219d12by @renovate[bot] in #7393context.Background()witht.Context()/b.Context()in tests by @flc1125 in #7352xpackage tootlptracegrpcby @MrAlias in #740157b25aeby @renovate[bot] in #74298e64475by @renovate[bot] in #74314eae98aby @renovate[bot] in #7439Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.