Overview
Added
- Add
go.opentelemetry.io/otel/sdk/metric/exemplar.AlwaysOffFilter
, which can be used to disable exemplar recording. (#5850) - Add
go.opentelemetry.io/otel/sdk/metric.WithExemplarFilter
, which can be used to configure the exemplar filter used by the metrics SDK. (#5850) - Add
ExemplarReservoirProviderSelector
andDefaultExemplarReservoirProviderSelector
togo.opentelemetry.io/otel/sdk/metric
, which defines the exemplar reservoir to use based on the aggregation of the metric. (#5861) - Add
ExemplarReservoirProviderSelector
togo.opentelemetry.io/otel/sdk/metric.Stream
to allow using views to configure the exemplar reservoir to use for a metric. (#5861) - Add
ReservoirProvider
,HistogramReservoirProvider
andFixedSizeReservoirProvider
togo.opentelemetry.io/otel/sdk/metric/exemplar
to make it convenient to use providers of Reservoirs. (#5861) - The
go.opentelemetry.io/otel/semconv/v1.27.0
package.
The package contains semantic conventions from thev1.27.0
version of the OpenTelemetry Semantic Conventions. (#5894) - Add
Attributes attribute.Set
field toScope
ingo.opentelemetry.io/otel/sdk/instrumentation
. (#5903) - Add
Attributes attribute.Set
field toScopeRecords
ingo.opentelemetry.io/otel/log/logtest
. (#5927) go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
adds instrumentation scope attributes. (#5934)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
adds instrumentation scope attributes. (#5934)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
adds instrumentation scope attributes. (#5935)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
adds instrumentation scope attributes. (#5935)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
adds instrumentation scope attributes. (#5933)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
adds instrumentation scope attributes. (#5933)go.opentelemetry.io/otel/exporters/prometheus
adds instrumentation scope attributes inotel_scope_info
metric as labels. (#5932)
Changed
- Support scope attributes and make them as identifying for
Tracer
ingo.opentelemetry.io/otel
andgo.opentelemetry.io/otel/sdk/trace
. (#5924) - Support scope attributes and make them as identifying for
Meter
ingo.opentelemetry.io/otel
andgo.opentelemetry.io/otel/sdk/metric
. (#5926) - Support scope attributes and make them as identifying for
Logger
ingo.opentelemetry.io/otel
andgo.opentelemetry.io/otel/sdk/log
. (#5925) - Make schema URL and scope attributes as identifying for
Tracer
ingo.opentelemetry.io/otel/bridge/opentracing
. (#5931) - Clear unneeded slice elements to allow GC to collect the objects in
go.opentelemetry.io/otel/sdk/metric
andgo.opentelemetry.io/otel/sdk/trace
. (#5804)
Fixed
- Global MeterProvider registration unwraps global instrument Observers, the undocumented Unwrap() methods are now private. (#5881)
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
now keeps the metadata already present in the context whenWithHeaders
is used. (#5892)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
now keeps the metadata already present in the context whenWithHeaders
is used. (#5911)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
now keeps the metadata already present in the context whenWithHeaders
is used. (#5915)- Fix
go.opentelemetry.io/otel/exporters/prometheus
trying to add exemplars to Gauge metrics, which is unsupported. (#5912) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#5944) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#5944) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
. (#5944) - Fix
WithEndpointURL
to always use a secure connection when an https URL is passed ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#5944) - Fix incorrect metrics generated from callbacks when multiple readers are used in
go.opentelemetry.io/otel/sdk/metric
. (#5900)
Removed
- Remove all examples under
go.opentelemetry.io/otel/example
as they are moved to Contrib repository. (#5930)
What's Changed
- Allow configuring the exemplar filter on the metrics SDK by @dashpole in #5850
- chore(deps): update lycheeverse/lychee-action action to v2.0.1 by @renovate in #5884
- Run the test compatibility check even if tests failed by @dmathieu in #5879
- chore(deps): update lycheeverse/lychee-action action to v2.0.2 by @renovate in #5885
- fix(deps): update module github.com/prometheus/client_golang to v1.20.5 by @renovate in #5886
- chore(deps): update googleapis to 796eee8 by @renovate in #5888
- Remove company from emeritus by @dmathieu in #5887
- Add selector of exemplar reservoir providers to metric.Stream configuration by @dashpole in #5861
- otel: conceal unwrapping for global async instrument registration by @jmacd in #5881
- Generate
semconv/v1.27.0
by @MrAlias in #5894 - otlpmetricgrpc: Keep metadata for gRPC in context by @mrasu in #5892
- Cleanup interaction of exemplar and aggregation by @dashpole in #5899
- chore(deps): update googleapis to 324edc3 by @renovate in #5908
- [chore] Use errors.Join to unify errors by @MrAlias in #5907
- [chore] Remove unnecessary type declaration in templated transforms by @MrAlias in #5906
- Keep metadata for gRPC in context for log signal by @RocooHash in #5911
- chore(deps): update benchmark-action/github-action-benchmark action to v1.20.4 by @renovate in #5916
- Revert Cleanup interaction of exemplar and aggregation by @XSAM in #5913
- Allow additional context to be added when WithHeaders is used in OTLP gRPC traces exporter by @pree-dew in #5915
- Fix exemplars being added to gauge metrics in the prometheus exporter by @trthomps in #5912
- Switch arm builds out of actuated and into the CNCF runners by @dmathieu in #5923
- fix(deps): update module github.com/prometheus/common to v0.60.1 by @renovate in #5919
- Add Cheng-Zhen as a triager by @dmathieu in #5922
- sdk/instrumentation: Add Attributes to Scope by @pellared in #5903
- Make scope attributes as identifying for Tracer by @pellared in #5924
- Make scope attributes as identifying for Meter by @pellared in #5926
- Make scope attributes as identifying for Logger by @pellared in #5925
- log/logtest: Add Attributes to ScopeRecords by @pellared in #5927
- opentracing: Make schemaURL and scope attributes as identifying for Tracer by @pellared in #5931
- otlptrace: Add instrumentation scope attributes by @pellared in #5934
- otlpmetric: Add instrumentation scope attributes by @pellared in #5935
- otlplog: Add instrumentation scope attributes by @pellared in #5933
- Remove examples by @pellared in #5930
- docs: updating outdated comments by @codeboten in #5940
- chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.23.0 by @renovate in #5939
- prometheus: Refactor getAttrs by @pellared in #5937
- chore(deps): update googleapis to dd2ea8e by @renovate in #5943
- log: Update package documentation by @pellared in #5942
- prometheus: Add instrumentation scope attributes to otel_scope_info by @pellared in #5932
- fix(deps): update github.com/opentracing-contrib/go-grpc digest to d08aa2b by @renovate in #5945
- Override insecure when endpoint URL is set by @sevaorlov in #5944
- fix(deps): update module go.opentelemetry.io/build-tools/gotmpl to v0.15.0 by @renovate in #5949
- fix(deps): update module go.opentelemetry.io/build-tools/crosslink to v0.15.0 by @renovate in #5948
- fix(deps): update module go.opentelemetry.io/build-tools/semconvgen to v0.15.0 by @renovate in #5953
- fix(deps): update github.com/opentracing-contrib/go-grpc digest to e3cbcab by @renovate in #5952
- chore(deps): update lycheeverse/lychee-action action to v2.1.0 by @renovate in #5950
- fix(deps): update module go.opentelemetry.io/build-tools/multimod to v0.15.0 by @renovate in #5951
- Fix incorrect metrics getting generated from multiple readers by @pree-dew in #5900
- Allow GC to collect unneeded slice elements by @ash2k in #5804
- chore(deps): update golang.org/x by @renovate in #5957
- fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.0 by @renovate in #5958
- fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 51a56c3 by @renovate in #5959
- Release v1.32.0/v0.54.0/v0.8.0/v0.0.11 by @pellared in #5960
New Contributors
- @mrasu made their first contribution in #5892
- @RocooHash made their first contribution in #5911
- @trthomps made their first contribution in #5912
- @sevaorlov made their first contribution in #5944
Full Changelog: v1.31.0...v1.32.0