Sourced from go.opentelemetry.io/otel/exporters/prometheus's releases.
Release v1.40.0/v0.62.0/v0.16.0
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 open-telemetry/opentelemetry-go#7690- chore(deps): update golang.org/x by
@renovate[bot] in open-telemetry/opentelemetry-go#7689- fix(deps): update golang.org/x by
@renovate[bot] in open-telemetry/opentelemetry-go#7691- prometheus exporter ignores metrics from the Prometheus bridge by
@dashpolein open-telemetry/opentelemetry-go#7688- chore(deps): update codecov/codecov-action action to v5.5.2 by
@renovate[bot] in open-telemetry/opentelemetry-go#7693- fix(deps): update golang.org/x to 8475f28 by
@renovate[bot] in open-telemetry/opentelemetry-go#7692- chore(deps): update github.com/securego/gosec/v2 digest to b6eea26 by
@renovate[bot] in open-telemetry/opentelemetry-go#7694- chore(deps): update module github.com/securego/gosec/v2 to v2.22.11 by
@renovate[bot] in open-telemetry/opentelemetry-go#7696- Use sync.Map and atomics for fixed bucket histograms by
@dashpolein open-telemetry/opentelemetry-go#7474- chore(deps): update actions/cache action to v5 by
@renovate[bot] in open-telemetry/opentelemetry-go#7701- chore(deps): update otel/weaver docker tag to v0.20.0 by
@renovate[bot] in open-telemetry/opentelemetry-go#7698- fix(deps): update module google.golang.org/protobuf to v1.36.11 by
@renovate[bot] in open-telemetry/opentelemetry-go#7704- chore(deps): update github/codeql-action action to v4.31.8 by
@renovate[bot] in open-telemetry/opentelemetry-go#7703- sdk/log: improve Processor documentation by
@pellaredin open-telemetry/opentelemetry-go#7695- chore(deps): update github artifact actions (major) by
@renovate[bot] in open-telemetry/opentelemetry-go#7707
... (truncated)
Sourced from go.opentelemetry.io/otel/exporters/prometheus's changelog.
[1.40.0/0.62.0/0.16.0] 2026-02-02
Added
- Add
AlwaysRecordsampler ingo.opentelemetry.io/otel/sdk/trace. (#7724)- 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
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
- Improve the concurrent performance of
HistogramReservoiringo.opentelemetry.io/otel/sdk/metric/exemplarby 4x. (#7443)- Improve the concurrent performance of
FixedSizeReservoiringo.opentelemetry.io/otel/sdk/metric/exemplar. (#7447)- Improve performance of concurrent histogram measurements in
go.opentelemetry.io/otel/sdk/metric. (#7474)- Improve performance of concurrent synchronous gauge measurements in
go.opentelemetry.io/otel/sdk/metric. (#7478)- Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#7492)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 exponential histogram measurements in
go.opentelemetry.io/otel/sdk/metric. (#7702)- 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)- Fix missing
request.GetBodyingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpto correctly handle HTTP/2GOAWAYframe. (#7794)WithHostIDdetector ingo.opentelemetry.io/otel/sdk/resourceto use full path forioregcommand on Darwin (macOS). (#7818)Deprecated
- Deprecate
go.opentelemetry.io/otel/exporters/zipkin. For more information, see the OTel blog post deprecating the Zipkin exporter. (#7670)
a3a5317
Release v1.40.0 (#7859)77785da
chore(deps): update github/codeql-action action to v4.32.1 (#7858)56fa1c2
chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.5.0
(#7857)298cbed
Upgrade semconv use to v1.39.0 (#7854)3264bf1
refactor: modernize code (#7850)fd5d030
chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to
v2.27...8d3b4cb
chore(deps): update actions/cache action to v5.0.3 (#7847)91f7cad
chore(deps): update github.com/timakin/bodyclose digest to 73d1f95 (#7845)fdad1eb
chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to
v2.27...c46d3ba
chore(deps): update golang.org/x/telemetry digest to fcf36f6 (#7843)