Update opentelemetry-go monorepo #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "renovate/opentelemetry-go-monorepo"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
v1.38.0->v1.39.0v0.14.0->v0.15.0v0.14.0->v0.15.0v1.38.0->v1.39.0v1.38.0->v1.39.0v1.38.0->v1.39.0v1.38.0->v1.39.0v0.14.0->v0.15.0v1.38.0->v1.39.0v1.38.0->v1.39.0v0.14.0->v0.15.0v1.38.0->v1.39.0v1.38.0->v1.39.0Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.39.0: /v0.61.0/v0.15.0/v0.0.14Compare 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. ⚠️ 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)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 #743927f1f14by @renovate[bot] in #74487c0ddcbby @renovate[bot] in #7449internal/observpackage tootlptracegrpcby @MrAlias in #740465f7160by @renovate[bot] in #746049b9836by @renovate[bot] in #7468otlptracegrpcexporter by @MrAlias in #745949b9836by @renovate[bot] in #7469xpackage tootlptracehttpby @MrAlias in #7476internal/observpkg tootlptracehttpby @MrAlias in #7480otlptracehttpexporter by @MrAlias in #7486internal/observpackage to otlploghttp by @yumosx in #74844626949by @renovate[bot] in #750688f65dcby @renovate[bot] in #7521otlploghttpexporter by @yumosx in #75123a174f9by @renovate[bot] in #75295be28d7by @renovate[bot] in #7528a4bb9ffby @renovate[bot] in #7533internal/observpackage to log by @yumosx in #75325beb8c8by @renovate[bot] in #7544d7a2859by @renovate[bot] in #7546ab9386aby @renovate[bot] in #7553f26f940by @renovate[bot] in #7569ab4e49aby @renovate[bot] in #7578cbe4531by @renovate[bot] in #75825cc343dby @renovate[bot] in #758483f4791by @renovate[bot] in #759495abcf5by @renovate[bot] in #759803ef243by @renovate[bot] in #7600e25ba8cby @renovate[bot] in #7602e487659by @renovate[bot] in #761955bbf37by @renovate[bot] in #763379d6a2aby @renovate[bot] in #763487e1e73by @renovate[bot] in #7636abf20d0by @renovate[bot] in #7643ff82c1bby @renovate[bot] in #76528fff8a5by @renovate[bot] in #7654SimpleLogProcessorfrom sdk/log by @yumosx in #7548semconv/v1.37.0by @MrAlias in #7655semconv/v1.33.0by @MrAlias in #7658semconv/v1.34.0by @MrAlias in #7657semconv/v1.37.0by @MrAlias in #7660semconv/v1.36.0by @MrAlias in #7656semconv/v1.34.0by @MrAlias in #7664semconv/v1.32.0by @MrAlias in #7659semconv/v1.36.0by @MrAlias in #7663semconv/v1.32.0by @MrAlias in #7666semconv/v1.33.0by @MrAlias in #7665ErrorTypedocumentation insemconv/v1.37.0by @MrAlias in #7667TestClientInstrumentationby @MrAlias in #767741f28e2by @renovate[bot] in #7682New Contributors
Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.38.0...v1.39.0
Configuration
📅 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot.
⚠️ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
File name: .dagger/go.sum
Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠️ Warning: custom changes will be lost.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.