Sourced from go.opentelemetry.io/contrib/instrumentation/runtime's changelog.
[1.45.0/2.5.2/0.70.0/0.37.2/0.25.0/0.20.0/0.16.2/0.17.0] - 2026-08-03
Added
- Add
go.opentelemetry.io/contrib/detectors/ibmcloud/vpc, a new resource detector for IBM Cloud VPC virtual server instances, ported fromgithub.com/open-telemetry/opentelemetry-collector-contrib/processor/resourcedetectionprocessor/internal/ibmcloud/vpc. Detectscloud.provider,cloud.platform,cloud.region,cloud.availability_zone,cloud.account.id,cloud.resource_id,host.id,host.image.id,host.image.name,host.name, andhost.type. (#9011)- Add
go.opentelemetry.io/contrib/detectors/k8sapi, a new resource detector that queries the Kubernetes API. Detectsk8s.node.nameandk8s.node.uidwhenK8S_NODE_NAMEis set via the downward API, andk8s.cluster.uidderived from the kube-system namespace UID (works on any Kubernetes distribution). (#9108)- Add new
elasticbeanstalkresource detector for AWS Elastic Beanstalk, ported fromprocessor/resourcedetectionprocessor/internal/aws/elasticbeanstalkin opentelemetry-collector-contrib. (#8993)- The resource created by
go.opentelemetry.io/contrib/otelconfnow includes default SDK attributes. (#8990)- Add support for the
aws.ecsresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#8915)- Add support for the
aws.eksresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9138)- Add support for the
azure.vmresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9074)- Add support for the
gcpresource detector ingo.opentelemetry.io/contrib/otelconf/x. (#9137)- Add
go.opentelemetry.io/contrib/detectors/azure/azureappservice, a new resource detector for Azure App Service. Detectscloud.*,service.name,azure.resource_group.name,azure.app_service.instance.id, anddeployment.environment.namefrom theWEBSITE_*andREGION_NAMEenvironment variables. (#9289)- Add
azurecontainerappsresource detector for Azure Container Apps. (#8939)- Add
go.opentelemetry.io/contrib/detectors/azure/azurefunctions, a new resource detector for Azure Functions. Detectscloud.*,service.name,azure.resource_group.name,faas.instance, anddeployment.environment.namefrom theFUNCTIONS_*,WEBSITE_*,CONTAINER_NAME, andREGION_NAMEenvironment variables. (#9290)- Add
NewResourceDetectoralong with theWithAttributeFilterandWithTagKeyFilteroptions ingo.opentelemetry.io/contrib/detectors/azure/azurevm.WithAttributeFilterrestricts the returned resource to the attributes the filter accepts.WithTagKeyFilteropts in toazure.tag.<name>attributes for the VM tags whose keys satisfy the provided predicate; no VM tags are emitted without it. (#9162)- Add
go.opentelemetry.io/contrib/detectors/vultr— a new resource detector for Vultr Cloud Compute instances, ported fromprocessor/resourcedetectionprocessor/internal/vultrinopentelemetry-collector-contrib. Detectscloud.provider,cloud.platform,cloud.region,host.id, andhost.name. (#8995)Changed
- Upgrade
go.opentelemetry.io/otel/semconvtov1.43.0, including updates across instrumentation and detector modules. See semantic-conventions v1.43.0 release for complete details. (#9337)- Upgrade
go.opentelemetry.io/otel/semconvtov1.42.0, including updates across instrumentation and detector modules. See semantic-conventions v1.42.0 release for complete details. (#9196)- Use direct normalized-key lookups in
Carrier.GetandCarrier.Keysingo.opentelemetry.io/contrib/propagators/envcar. (#9112)- Update log bridge conversions to use attribute key-values instead of the removed log key-values in
go.opentelemetry.io/contrib/bridges/otellogr,go.opentelemetry.io/contrib/bridges/otellogrus,go.opentelemetry.io/contrib/bridges/otelslog, andgo.opentelemetry.io/contrib/bridges/otelzap. (#9180)- The
Version()function ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmuxhas been replaced byconst Version. (#9076)- Set
error.typeattribute instead of addingexceptionspan events ingo.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin. (#8977)- Prefer the gRPC dial target over the resolved peer IP for the
server.addressandserver.portattributes ingo.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc. (#8904)- The detector in
go.opentelemetry.io/contrib/detectors/azure/azurevmnow also detectscloud.account.id,cloud.availability_zone,azure.vm.name,azure.vm.size,azure.vm.scaleset.name, andazure.resource_group.name, and prefersosProfile.computerNameforhost.name(falling back to the VM name), reconciling it with the collector-contrib Azure resource detector. (#9162)Fixed
- Fix Prometheus reader resource label filter configuration in
go.opentelemetry.io/contrib/otelconf/v0.2.0. (#9062)- Apply
resource.detection/development.attributes.includedandexcludedfiltering to resource detector attributes ingo.opentelemetry.io/contrib/otelconf/x. (#9131)- Honor the context configured with
WithContextwhen constructing resources ingo.opentelemetry.io/contrib/otelconfandgo.opentelemetry.io/contrib/otelconf/x. (#9160)- Handle nil response bodies from custom
RoundTripperimplementations ingo.opentelemetry.io/contrib/instrumentation/net/http/otelhttpwithout panicking. (#9184)- Fix incorrect (overestimated) sum calculation for runtime histograms in
go.opentelemetry.io/contrib/instrumentation/runtime. (#9063)- Fix
Severity.UnmarshalTextround trip for positiveFATALoffsets above the named range ingo.opentelemetry.io/contrib/processors/minsev. (#9197)- Reduce binary size by fetching ConfigMaps via
rest.HTTPClientForinstead of the Kubernetes clientset ingo.opentelemetry.io/contrib/detectors/aws/eks. (#9284)TextMapPropagatoringo.opentelemetry.io/contrib/propagators/autopropreturns the no-op propagator for empty input, matching the behavior ofnone. An unknownOTEL_PROPAGATORSvalue still returns an error with a nil propagator soNewTextMapPropagatorfalls back to the default TraceContext and Baggage propagators instead of disabling propagation. (#9163)- Preserve error-valued attributes nested in a group as grouped attributes instead of silently dropping them in
go.opentelemetry.io/contrib/bridges/otelslog. (#9238)- Fix a data race in
go.opentelemetry.io/contrib/bridges/otelslogwhere concurrentHandlecalls could corrupt each other's log attributes becausekvBuffer.KeyValuesreturned a slice aliasing a shared buffer. (#9229)- Avoid a panic in
go.opentelemetry.io/contrib/bridges/otelzapwhen a malformed error field contains a nil or non-error value. (#9068)- Use
azure.container_app.instance.idinstead ofservice.instance.idfor the replica name detected bygo.opentelemetry.io/contrib/detectors/azure/azurecontainerapps. (#9208)- Preserve the underlying metadata errors returned with partial resources from
go.opentelemetry.io/contrib/detectors/gcp. (#9069)- Copy
MultipartFormback to the requestotelmux.Middlewarewas given after the wrapped handler returns, sonet/httpcan find and remove the temp filesParseMultipartFormcreated on the context-derived request copy, whenotelmux.Middlewarewraps a handler directly, ingo.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux. This does not cover a handler panic, nor the commonrouter.Use(...)integration, wheregorilla/mux's own routing step makes an additional request copy the middleware cannot write back through; see gorilla/mux#777. (#9361)- Report the
b3header fromFields()for the defaultB3Unspecifiedsingle-header injection encoding, matching whatInjectwrites, ingo.opentelemetry.io/contrib/propagators/b3. (#9273)- Fix
go.opentelemetry.io/contrib/propagators/aws/xrayproducing deterministic trace and span IDs when the seed read fromcrypto/randsilently failed, by switching tomath/rand/v2's concurrency-safe top-level generator. (#9359)- Strip connection number suffix from connection ID in
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/v2/mongo/otelmongoto prevent unbounded metric cardinality. (#9352)
... (truncated)
c8a87a6
Release v1.45.0/v2.5.2/v0.70.0/v0.37.2/v0.25.0/v0.20.0/v0.16.2/v0.17.0
(#9413)cde125c
fix(deps): update aws-sdk-go-v2 monorepo (#9384)88572a7
chore(deps): update googleapis to 6ac0973 (#9409)e4f511a
chore(deps): update github/codeql-action action to v4.37.5 (#9410)265eb0b
fix(deps): update go.opentelemetry.io/otel digest to 48db2c6 (#9317)941ba46
chore(deps): update github.com/charmbracelet/ultraviolet digest to
8b69304 (#...ededd3b
chore(deps): update module github.com/lucasb-eyer/go-colorful to v1.4.1
(#9406)7c6e819
fix(deps): update module github.com/atombender/go-jsonschema to v0.24.1
(#9405)ec1e544
chore(deps): update github.com/lufia/plan9stats digest to 341c2f0 (#9403)5d7e16a
chore(deps): update github.com/golangci/rowserrcheck digest to d2031e3
(#9402)Sourced from go.opentelemetry.io/otel's releases.
Release v1.45.0/v0.67.0/v0.21.0/v0.0.18
Overview
Added
- Add experimental observability metrics to
BatchProcessoringo.opentelemetry.io/otel/sdk/log. (#7124)- Add the experimental
WithUnsafeAttributesno-copy attribute option togo.opentelemetry.io/otel/metric/xfor future performance improvements. This API is a work in progress. (#8251)- Add
MapandMapValuefunctions for the newMAPattribute type ingo.opentelemetry.io/otel/attribute. (#8445)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlptrace. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlplog. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/zipkin. (#8453)- Apply
AttributeValueLengthLimitrecursively to values contained inattribute.MAPattributes ingo.opentelemetry.io/otel/sdk/trace. (#8454)- Remove duplicate keys from
attribute.MAPvalues ingo.opentelemetry.io/otel/sdk/resourceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/logusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in span, event, link, and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/traceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in measurement and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/metricusing last-value-wins semantics. (#8471)- Extend
WithAllowKeyDuplicationingo.opentelemetry.io/otel/sdk/logto disable duplicate-key removal inattribute.MAPvalues for instrumentation scope attributes. (#8471)- Add the
go.opentelemetry.io/otel/semconv/v1.42.0package. The package contains semantic conventions from thev1.42.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.41.0. (#8484)- Add
WithoutPanicRecordingas aTracerProviderOptioningo.opentelemetry.io/otel/sdk/traceto disable exception event recording for panics. (#8532)- Add the
go.opentelemetry.io/otel/semconv/v1.43.0package. The package contains semantic conventions from thev1.43.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.42.0. (#8628)Changed
HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarnow uses a time-unbiased sampling algorithm for exemplars. (#8306)- ⚠️ Breaking Change: Use
go.opentelemetry.io/otel/attribute.Valueandgo.opentelemetry.io/otel/attribute.KeyValuefor log bodies and attributes ingo.opentelemetry.io/otel/log,go.opentelemetry.io/otel/log/logtest,go.opentelemetry.io/otel/sdk/log, andgo.opentelemetry.io/otel/sdk/log/logtest. (#8490)- Encode log bodies and attributes as
go.opentelemetry.io/otel/attribute.ValueJSON ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#8490)- Improve the performance of hashing
BOOLSLICE,INT64SLICE,FLOAT64SLICE, andSTRINGSLICEattribute values by avoiding reflection for short slices ingo.opentelemetry.io/otel/attribute. (#8511)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_METRICS_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/metrics"))to preserve the previous behavior. (#8538)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_TRACES_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/traces"))to preserve the previous behavior. (#8538)Deprecated
- Deprecate
WithExportBufferSizeingo.opentelemetry.io/otel/sdk/log. The option remains available for source compatibility but no longer affects behavior;BatchProcessorno longer maintains a separate export-request buffer. (#8620)Removed
- ⚠️ Breaking Change: Remove
Kind,Value,KeyValue, their constructors, and attribute conversion helpers fromgo.opentelemetry.io/otel/log. (#8490)- ⚠️ Breaking Change: Remove the
AttributeValueLengthLimitandAttributeCountLimitfields fromRecordFactoryingo.opentelemetry.io/otel/sdk/log/logtest; records produced by the factory now keep attribute limits disabled so test code can append exact attributes. (#8556)Fixed
- Apply TLS certificates configured through environment variables to gRPC connections in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc.- Prevent panics in
go.opentelemetry.io/otel/bridge/opentracingwhen OpenTracing baggage is propagated concurrently withSpan.SetBaggageItem.- Fix an off-by-one error in
FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarthat prevented the first exemplar from being sampled after the reservoir was filled. (#8309)- Interpret HTTP
Retry-Afterheader values as seconds instead of nanoseconds when retrying OTLP HTTP exports ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, andgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8383)
... (truncated)
Sourced from go.opentelemetry.io/otel's changelog.
[1.45.0/0.67.0/0.21.0/0.0.18] - 2026-08-03
Added
- Add experimental observability metrics to
BatchProcessoringo.opentelemetry.io/otel/sdk/log. (#7124)- Add the experimental
WithUnsafeAttributesno-copy attribute option togo.opentelemetry.io/otel/metric/xfor future performance improvements. This API is a work in progress. (#8251)- Add
MapandMapValuefunctions for the newMAPattribute type ingo.opentelemetry.io/otel/attribute. (#8445)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlptrace. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlplog. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/zipkin. (#8453)- Apply
AttributeValueLengthLimitrecursively to values contained inattribute.MAPattributes ingo.opentelemetry.io/otel/sdk/trace. (#8454)- Remove duplicate keys from
attribute.MAPvalues ingo.opentelemetry.io/otel/sdk/resourceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/logusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in span, event, link, and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/traceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in measurement and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/metricusing last-value-wins semantics. (#8471)- Extend
WithAllowKeyDuplicationingo.opentelemetry.io/otel/sdk/logto disable duplicate-key removal inattribute.MAPvalues for instrumentation scope attributes. (#8471)- Add the
go.opentelemetry.io/otel/semconv/v1.42.0package. The package contains semantic conventions from thev1.42.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.41.0. (#8484)- Add
WithoutPanicRecordingas aTracerProviderOptioningo.opentelemetry.io/otel/sdk/traceto disable exception event recording for panics. (#8532)- Add the
go.opentelemetry.io/otel/semconv/v1.43.0package. The package contains semantic conventions from thev1.43.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.42.0. (#8628)Changed
HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarnow uses a time-unbiased sampling algorithm for exemplars. (#8306)- ⚠️ Breaking Change: Use
go.opentelemetry.io/otel/attribute.Valueandgo.opentelemetry.io/otel/attribute.KeyValuefor log bodies and attributes ingo.opentelemetry.io/otel/log,go.opentelemetry.io/otel/log/logtest,go.opentelemetry.io/otel/sdk/log, andgo.opentelemetry.io/otel/sdk/log/logtest. (#8490)- Encode log bodies and attributes as
go.opentelemetry.io/otel/attribute.ValueJSON ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#8490)- Improve the performance of hashing
BOOLSLICE,INT64SLICE,FLOAT64SLICE, andSTRINGSLICEattribute values by avoiding reflection for short slices ingo.opentelemetry.io/otel/attribute. (#8511)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_METRICS_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/metrics"))to preserve the previous behavior. (#8538)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_TRACES_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/traces"))to preserve the previous behavior. (#8538)Deprecated
- Deprecate
WithExportBufferSizeingo.opentelemetry.io/otel/sdk/log. The option remains available for source compatibility but no longer affects behavior;BatchProcessorno longer maintains a separate export-request buffer. (#8620)Removed
- ⚠️ Breaking Change: Remove
Kind,Value,KeyValue, their constructors, and attribute conversion helpers fromgo.opentelemetry.io/otel/log. (#8490)- ⚠️ Breaking Change: Remove the
AttributeValueLengthLimitandAttributeCountLimitfields fromRecordFactoryingo.opentelemetry.io/otel/sdk/log/logtest; records produced by the factory now keep attribute limits disabled so test code can append exact attributes. (#8556)Fixed
- Apply TLS certificates configured through environment variables to gRPC connections in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc.- Prevent panics in
go.opentelemetry.io/otel/bridge/opentracingwhen OpenTracing baggage is propagated concurrently withSpan.SetBaggageItem.- Fix an off-by-one error in
FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarthat prevented the first exemplar from being sampled after the reservoir was filled. (#8309)- Interpret HTTP
Retry-Afterheader values as seconds instead of nanoseconds when retrying OTLP HTTP exports ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, andgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8383)- Fix a memory leak in the
Reservoirimplementation ingo.opentelemetry.io/otel/sdk/metric/exemplar, where storing the fullcontext.Contextpinned large objects such as gRPC transport buffers. (#8389)
... (truncated)
93a693e
Release v1.45.0 (#8693)c65d435
Merge commit from fork223f9fd
sdk/metric: remove obsolete randomFloat64 TODO (#8685)06272bc
fix(deps): update googleapis to 6ac0973 (#8694)a4f238f
chore(deps): update github.com/charmbracelet/ultraviolet digest to
8b69304 (#...37140e7
chore(deps): update codspeedhq/action action to v5.0.2 (#8690)cef0855
chore(deps): update module github.com/lucasb-eyer/go-colorful to v1.4.1
(#8689)e814a72
Merge commit from forkbfd8eb7
chore(deps): update github.com/golangci/rowserrcheck digest to d2031e3
(#8687)48db2c6
chore(deps): update github/codeql-action action to v4.37.5 (#8692)Sourced from go.opentelemetry.io/otel/exporters/prometheus's changelog.
[1.45.0/0.67.0/0.21.0/0.0.18] - 2026-08-03
Added
- Add experimental observability metrics to
BatchProcessoringo.opentelemetry.io/otel/sdk/log. (#7124)- Add the experimental
WithUnsafeAttributesno-copy attribute option togo.opentelemetry.io/otel/metric/xfor future performance improvements. This API is a work in progress. (#8251)- Add
MapandMapValuefunctions for the newMAPattribute type ingo.opentelemetry.io/otel/attribute. (#8445)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlptrace. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlplog. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/zipkin. (#8453)- Apply
AttributeValueLengthLimitrecursively to values contained inattribute.MAPattributes ingo.opentelemetry.io/otel/sdk/trace. (#8454)- Remove duplicate keys from
attribute.MAPvalues ingo.opentelemetry.io/otel/sdk/resourceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/logusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in span, event, link, and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/traceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in measurement and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/metricusing last-value-wins semantics. (#8471)- Extend
WithAllowKeyDuplicationingo.opentelemetry.io/otel/sdk/logto disable duplicate-key removal inattribute.MAPvalues for instrumentation scope attributes. (#8471)- Add the
go.opentelemetry.io/otel/semconv/v1.42.0package. The package contains semantic conventions from thev1.42.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.41.0. (#8484)- Add
WithoutPanicRecordingas aTracerProviderOptioningo.opentelemetry.io/otel/sdk/traceto disable exception event recording for panics. (#8532)- Add the
go.opentelemetry.io/otel/semconv/v1.43.0package. The package contains semantic conventions from thev1.43.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.42.0. (#8628)Changed
HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarnow uses a time-unbiased sampling algorithm for exemplars. (#8306)- ⚠️ Breaking Change: Use
go.opentelemetry.io/otel/attribute.Valueandgo.opentelemetry.io/otel/attribute.KeyValuefor log bodies and attributes ingo.opentelemetry.io/otel/log,go.opentelemetry.io/otel/log/logtest,go.opentelemetry.io/otel/sdk/log, andgo.opentelemetry.io/otel/sdk/log/logtest. (#8490)- Encode log bodies and attributes as
go.opentelemetry.io/otel/attribute.ValueJSON ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#8490)- Improve the performance of hashing
BOOLSLICE,INT64SLICE,FLOAT64SLICE, andSTRINGSLICEattribute values by avoiding reflection for short slices ingo.opentelemetry.io/otel/attribute. (#8511)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_METRICS_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/metrics"))to preserve the previous behavior. (#8538)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_TRACES_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/traces"))to preserve the previous behavior. (#8538)Deprecated
- Deprecate
WithExportBufferSizeingo.opentelemetry.io/otel/sdk/log. The option remains available for source compatibility but no longer affects behavior;BatchProcessorno longer maintains a separate export-request buffer. (#8620)Removed
- ⚠️ Breaking Change: Remove
Kind,Value,KeyValue, their constructors, and attribute conversion helpers fromgo.opentelemetry.io/otel/log. (#8490)- ⚠️ Breaking Change: Remove the
AttributeValueLengthLimitandAttributeCountLimitfields fromRecordFactoryingo.opentelemetry.io/otel/sdk/log/logtest; records produced by the factory now keep attribute limits disabled so test code can append exact attributes. (#8556)Fixed
- Apply TLS certificates configured through environment variables to gRPC connections in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc.- Prevent panics in
go.opentelemetry.io/otel/bridge/opentracingwhen OpenTracing baggage is propagated concurrently withSpan.SetBaggageItem.- Fix an off-by-one error in
FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarthat prevented the first exemplar from being sampled after the reservoir was filled. (#8309)- Interpret HTTP
Retry-Afterheader values as seconds instead of nanoseconds when retrying OTLP HTTP exports ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, andgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8383)- Fix a memory leak in the
Reservoirimplementation ingo.opentelemetry.io/otel/sdk/metric/exemplar, where storing the fullcontext.Contextpinned large objects such as gRPC transport buffers. (#8389)
... (truncated)
93a693e
Release v1.45.0 (#8693)c65d435
Merge commit from fork223f9fd
sdk/metric: remove obsolete randomFloat64 TODO (#8685)06272bc
fix(deps): update googleapis to 6ac0973 (#8694)a4f238f
chore(deps): update github.com/charmbracelet/ultraviolet digest to
8b69304 (#...37140e7
chore(deps): update codspeedhq/action action to v5.0.2 (#8690)cef0855
chore(deps): update module github.com/lucasb-eyer/go-colorful to v1.4.1
(#8689)e814a72
Merge commit from forkbfd8eb7
chore(deps): update github.com/golangci/rowserrcheck digest to d2031e3
(#8687)48db2c6
chore(deps): update github/codeql-action action to v4.37.5 (#8692)Sourced from go.opentelemetry.io/otel/metric's releases.
Release v1.45.0/v0.67.0/v0.21.0/v0.0.18
Overview
Added
- Add experimental observability metrics to
BatchProcessoringo.opentelemetry.io/otel/sdk/log. (#7124)- Add the experimental
WithUnsafeAttributesno-copy attribute option togo.opentelemetry.io/otel/metric/xfor future performance improvements. This API is a work in progress. (#8251)- Add
MapandMapValuefunctions for the newMAPattribute type ingo.opentelemetry.io/otel/attribute. (#8445)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlptrace. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlplog. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#8453)- Support
MAPattributes ingo.opentelemetry.io/otel/exporters/zipkin. (#8453)- Apply
AttributeValueLengthLimitrecursively to values contained inattribute.MAPattributes ingo.opentelemetry.io/otel/sdk/trace. (#8454)- Remove duplicate keys from
attribute.MAPvalues ingo.opentelemetry.io/otel/sdk/resourceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/logusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in span, event, link, and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/traceusing last-value-wins semantics. (#8471)- Remove duplicate keys by default from
attribute.MAPvalues in measurement and instrumentation scope attributes ingo.opentelemetry.io/otel/sdk/metricusing last-value-wins semantics. (#8471)- Extend
WithAllowKeyDuplicationingo.opentelemetry.io/otel/sdk/logto disable duplicate-key removal inattribute.MAPvalues for instrumentation scope attributes. (#8471)- Add the
go.opentelemetry.io/otel/semconv/v1.42.0package. The package contains semantic conventions from thev1.42.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.41.0. (#8484)- Add
WithoutPanicRecordingas aTracerProviderOptioningo.opentelemetry.io/otel/sdk/traceto disable exception event recording for panics. (#8532)- Add the
go.opentelemetry.io/otel/semconv/v1.43.0package. The package contains semantic conventions from thev1.43.0version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade fromgo.opentelemetry.io/otel/semconv/v1.42.0. (#8628)Changed
HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarnow uses a time-unbiased sampling algorithm for exemplars. (#8306)- ⚠️ Breaking Change: Use
go.opentelemetry.io/otel/attribute.Valueandgo.opentelemetry.io/otel/attribute.KeyValuefor log bodies and attributes ingo.opentelemetry.io/otel/log,go.opentelemetry.io/otel/log/logtest,go.opentelemetry.io/otel/sdk/log, andgo.opentelemetry.io/otel/sdk/log/logtest. (#8490)- Encode log bodies and attributes as
go.opentelemetry.io/otel/attribute.ValueJSON ingo.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#8490)- Improve the performance of hashing
BOOLSLICE,INT64SLICE,FLOAT64SLICE, andSTRINGSLICEattribute values by avoiding reflection for short slices ingo.opentelemetry.io/otel/attribute. (#8511)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_METRICS_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/metrics"))to preserve the previous behavior. (#8538)- ⚠️ Breaking Change:
WithEndpointURLingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpno longer appends the default signal path when an endpoint URL has no path, making the behavior consistent withgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttpand with setting the endpoint throughOTEL_EXPORTER_OTLP_TRACES_ENDPOINT. If the URL has no path component, the root path (/) is used. UseWithEndpointURL(url.JoinPath(endpoint, "/v1/traces"))to preserve the previous behavior. (#8538)Deprecated
- Deprecate
WithExportBufferSizeingo.opentelemetry.io/otel/sdk/log. The option remains available for source compatibility but no longer affects behavior;BatchProcessorno longer maintains a separate export-request buffer. (#8620)Removed
- ⚠️ Breaking Change: Remove
Kind,Value,KeyValue, their constructors, and attribute conversion helpers fromgo.opentelemetry.io/otel/log. (#8490)- ⚠️ Breaking Change: Remove the
AttributeValueLengthLimitandAttributeCountLimitfields fromRecordFactoryingo.opentelemetry.io/otel/sdk/log/logtest; records produced by the factory now keep attribute limits disabled so test code can append exact attributes. (#8556)Fixed
- Apply TLS certificates configured through environment variables to gRPC connections in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc.- Prevent panics in
go.opentelemetry.io/otel/bridge/opentracingwhen OpenTracing baggage is propagated concurrently withSpan.SetBaggageItem.- Fix an off-by-one error in
FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarthat prevented the first exemplar from being sampled after the reservoir was filled. (#8309)- Interpret HTTP
Retry-Afterheader values as seconds instead of nanoseconds when retrying OTLP HTTP exports ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, andgo.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8383)
... (truncated)
Sourced from go.opentelemetry.io/otel/metric's changelog.
[1.45.0/0.67.0/0.21.0/0.0.18] - 2026-08-03
Added
- Add experimental observability me... _Description has been truncated_ Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Radoslav Dimitrov --- go.mod | 16 ++++++++-------- go.sum | 36 ++++++++++++++++++------------------ 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/go.mod b/go.mod index bb46065..aba4b8e 100644 --- a/go.mod +++ b/go.mod @@ -16,12 +16,12 @@ require ( github.com/rs/cors v1.11.1 github.com/santhosh-tekuri/jsonschema/v5 v5.3.1 github.com/stretchr/testify v1.12.0 - go.opentelemetry.io/contrib/instrumentation/runtime v0.69.0 - go.opentelemetry.io/otel v1.44.0 - go.opentelemetry.io/otel/exporters/prometheus v0.66.0 - go.opentelemetry.io/otel/metric v1.44.0 - go.opentelemetry.io/otel/sdk v1.44.0 - go.opentelemetry.io/otel/sdk/metric v1.44.0 + go.opentelemetry.io/contrib/instrumentation/runtime v0.70.0 + go.opentelemetry.io/otel v1.45.0 + go.opentelemetry.io/otel/exporters/prometheus v0.67.0 + go.opentelemetry.io/otel/metric v1.45.0 + go.opentelemetry.io/otel/sdk v1.45.0 + go.opentelemetry.io/otel/sdk/metric v1.45.0 golang.org/x/mod v0.40.0 gopkg.in/yaml.v3 v3.0.1 ) @@ -43,7 +43,7 @@ require ( github.com/docker/docker-credential-helpers v0.9.3 // indirect github.com/felixge/httpsnoop v1.0.4 // indirect github.com/go-jose/go-jose/v4 v4.1.4 // indirect - github.com/go-logr/logr v1.4.3 // indirect + github.com/go-logr/logr v1.4.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/google/s2a-go v0.1.9 // indirect github.com/google/uuid v1.6.0 // indirect @@ -66,7 +66,7 @@ require ( go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect - go.opentelemetry.io/otel/trace v1.44.0 // indirect + go.opentelemetry.io/otel/trace v1.45.0 // indirect golang.org/x/crypto v0.54.0 // indirect golang.org/x/net v0.57.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect diff --git a/go.sum b/go.sum index 904ff2b..d906141 100644 --- a/go.sum +++ b/go.sum @@ -59,8 +59,8 @@ github.com/go-chi/chi/v5 v5.3.1/go.mod h1:R+tYY2hNuVUUjxoPtqUdgBqevM9s9njzkTLutV github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= +github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= @@ -139,22 +139,22 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.6 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg= -go.opentelemetry.io/contrib/instrumentation/runtime v0.69.0 h1:MtkMsuRo3zEXTTMALfyrszwCDZTkB6wolyPjbwFAdq0= -go.opentelemetry.io/contrib/instrumentation/runtime v0.69.0/go.mod h1:FYTxnpsm+UPD0erZNq20GvnM8T2YQHiHtT2vokdpoac= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/exporters/prometheus v0.66.0 h1:vkrK8PAznv2NKt2r+kdu252ccGzkEqLc2aSXbQIALYQ= -go.opentelemetry.io/otel/exporters/prometheus v0.66.0/go.mod h1:V/UB6D3vMF/UBOL5igAsAYnk1nG/bzYYTzvsB16cy7o= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= -go.opentelemetry.io/otel/metric/x v0.66.0 h1:YkCrx1zLOChi9ZcZ6euupOcsgzbVlec7D/xoEU1+cTA= -go.opentelemetry.io/otel/metric/x v0.66.0/go.mod h1:d1+BDj9t96do0/1LoU1ayfCv79ZgNE41qbhBvnMOBZk= -go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= -go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= -go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= -go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= +go.opentelemetry.io/contrib/instrumentation/runtime v0.70.0 h1:1+WLVYezXA9tkuVzKQri8zgB1cEIVYKUSoYIRjsBiMU= +go.opentelemetry.io/contrib/instrumentation/runtime v0.70.0/go.mod h1:rbAXUUXqQDMxpSnmof4VtcZ+7YpZQEtjXSCIfdvR0Go= +go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= +go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= +go.opentelemetry.io/otel/exporters/prometheus v0.67.0 h1:7IefDa35e6V3NoiqIeLDMDxMFyZDk5qcoC0Ax4cC16E= +go.opentelemetry.io/otel/exporters/prometheus v0.67.0/go.mod h1:nsPI1awTg5Vmg1YrommL2mVarVGlqc4yXOoKAkPRD0c= +go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= +go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= +go.opentelemetry.io/otel/metric/x v0.67.0 h1:PcicCNZFkZ4bXfSooXdo3WN7RBOVOtjVdo1wD358Uns= +go.opentelemetry.io/otel/metric/x v0.67.0/go.mod h1:FBjCWZe6wgcqxcMtjdGiClDKXb2YxxXii0CXftE4QtI= +go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= +go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= +go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= +go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= +go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= +go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.yaml.in/yaml/v2 v2.4.4 h1:tuyd0P+2Ont/d6e2rl3be67goVK4R6deVxCUX5vyPaQ=