Skip to content

Releases: open-telemetry/opentelemetry-go

v1.42.0/v0.64.0/v0.18.0/v0.0.16

06 Mar 19:19
Immutable release. Only release title and notes can be modified.
v1.42.0
a3941ff

Choose a tag to compare

Added

  • Add go.opentelemetry.io/otel/semconv/v1.40.0 package.
    The package contains semantic conventions from the v1.40.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.39.0. (#7985)
  • Add Err and SetErr on Record in go.opentelemetry.io/otel/log to attach an error and set record exception attributes in go.opentelemetry.io/otel/log/sdk. (#7924)

Changed

  • TracerProvider.ForceFlush in go.opentelemetry.io/otel/sdk/trace joins errors together and continues iteration through SpanProcessors as opposed to returning the first encountered error without attempting exports on subsequent SpanProcessors. (#7856)

Fixed

  • Fix missing request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp to correctly handle HTTP2 GOAWAY frame. (#7931)
  • Fix semconv v1.39.0 generated metric helpers skipping required attributes when extra attributes were empty. (#7964)
  • Preserve W3C TraceFlags bitmask (including the random Trace ID flag) during trace context extraction and injection in go.opentelemetry.io/otel/propagation. (#7834)

Removed

  • Drop support for [Go 1.24]. (#7984)

What's Changed

  • fix changelog protection marker by @pellared in #7986
  • Drop support for Go 1.24 by @MrAlias in #7984
  • fix(deps): update golang.org/x by @renovate[bot] in #7907
  • chore(deps): update module go.opentelemetry.io/collector/featuregate to v1.53.0 by @renovate[bot] in #7981
  • chore(deps): update benchmark-action/github-action-benchmark action to v1.21.0 by @renovate[bot] in #7989
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.53.0 by @renovate[bot] in #7982
  • Revert "Revert "Generate semconv/v1.40.0"" by @MrAlias in #7985
  • support stdlib request.GetBody on metrics by @marifari-hue in #7931
  • attribute: add TestNotEquivalence and equality operator tests by @pellared in #7979
  • Refactor benchmark CI by @XSAM in #7873
  • chore(deps): update module github.com/securego/gosec/v2 to v2.24.7 by @renovate[bot] in #7988
  • chore(deps): pin codspeedhq/action action to df47568 by @renovate[bot] in #7996
  • chore(deps): update actions/checkout action to v6.0.2 by @renovate[bot] in #7997
  • chore(deps): update codspeedhq/action action to v4.11.0 by @renovate[bot] in #7999
  • Upgrade to semconv/v1.40.0 by @MrAlias in #7991
  • Regenerate semconv/v1.40.0/MIGRATION.md by @MrAlias in #7992
  • fix: generated semconv helpers skipping attributes by @victoraugustolls in #7964
  • Feat: Have SpanContext support the new W3C random flag. by @nikhilmantri0902 in #7834
  • Semconv metric helper caller-slice mutation fix by @MrAlias in #7993
  • Fix semconv generated error type to check error chain for custom type declaration by @MrAlias in #7994
  • refactor: replace uint64 and int32 with atomic types in tests by @alexandear in #7941
  • chore(deps): update golang.org/x/telemetry digest to 18da590 by @renovate[bot] in #8000
  • TracerProvider ForceFlush() Error Fix by @sawamurataxman in #7856
  • log: add error field to Record and make SDK to emit exception attributes by @iblancasa in #7924
  • chore(deps): update dependency codespell to v2.4.2 by @renovate[bot] in #8003
  • chore(deps): update github/codeql-action action to v4.32.6 by @renovate[bot] in #8004
  • chore(deps): update codspeedhq/action action to v4.11.1 by @renovate[bot] in #8001
  • fix(deps): update module google.golang.org/grpc to v1.79.2 by @renovate[bot] in #8007
  • chore(deps): update module github.com/mgechev/revive to v1.15.0 by @renovate[bot] in #8009
  • chore(deps): update golang.org/x/telemetry digest to e526e8a by @renovate[bot] in #8010
  • Release v1.42.0/v0.64.0/v0.18.0/v0.0.16 by @pellared in #8006

New Contributors

Full Changelog: v1.41.0...v1.42.0

v1.41.0/v0.63.0/v0.17.0/v0.0.15

02 Mar 18:49
Immutable release. Only release title and notes can be modified.
v1.41.0
4575a97

Choose a tag to compare

This release is the last to support Go 1.24. The next release will require at least Go 1.25.

Added

Fixed

  • 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)

What's Changed

  • fix(deps): update googleapis to ce8ad4c by @renovate[bot] in #7860
  • chore(deps): update otel/weaver docker tag to v0.21.0 by @renovate[bot] in #7865
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.51.0 by @renovate[bot] in #7863
  • chore(deps): update golang.org/x/telemetry digest to fe4bb1c by @renovate[bot] in #7861
  • chore(deps): update golang.org/x/telemetry digest to aaaaaa5 by @renovate[bot] in #7869
  • sdk/log/observ: guard LogProcessed with Enabled by @NesterovYehor in #7848
  • stdouttrace observability: skip metric work when instruments are disabled by @NesterovYehor in #7853
  • chore(deps): update otel/weaver docker tag to v0.21.2 by @renovate[bot] in #7870
  • fix(deps): update googleapis to 546029d by @renovate[bot] in #7871
  • stdoutmetric observ: skip metric work when instruments are disabled by @NesterovYehor in #7868
  • chore(deps): update fossas/fossa-action action to v1.8.0 by @renovate[bot] in #7879
  • chore(deps): update github/codeql-action action to v4.32.2 by @renovate[bot] in #7878
  • chore(deps): update module github.com/ghostiam/protogetter to v0.3.20 by @renovate[bot] in #7877
  • chore(deps): update golang.org/x/telemetry digest to 86a5c4b by @renovate[bot] in #7876
  • fix(deps): update module golang.org/x/sys to v0.41.0 by @renovate[bot] in #7885
  • chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.6.0 by @renovate[bot] in #7884
  • Checked if instrument enabled before measuring in prometheus by @itssaharsh in #7866
  • exporter/otlploghttp: guard observ metrics with Enabled checks by @NesterovYehor in #7813
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.16.5 by @renovate[bot] in #7886
  • chore(deps): update golang.org/x by @renovate[bot] in #7887
  • fix(deps): update golang.org/x by @renovate[bot] in #7890
  • fix(deps): update golang.org/x to 2842357 by @renovate[bot] in #7891
  • fix(deps): update googleapis to 4cfbd41 by @renovate[bot] in #7889
  • Checked if instrument enabled before measuring in oteltracegrpc by @itssaharsh in #7825
  • Checked if Instrument Enabled before measuring in otlpgrpc by @itssaharsh in #7824
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.8 by @renovate[bot] in #7892
  • chore(deps): update module github.com/golangci/golines to v0.15.0 by @renovate[bot] in #7893
  • chore(deps): update module github.com/golangci/misspell to v0.8.0 by @renovate[bot] in #7894
  • chore(deps): update golang.org/x/telemetry digest to 9f66fae by @renovate[bot] in #7898
  • fix(deps): update module google.golang.org/grpc to v1.79.0 by @renovate[bot] in #7906
  • Support Go 1.26 by @dmathieu in #7902
  • fix(deps): update module google.golang.org/grpc to v1.79.1 by @renovate[bot] in #7908
  • chore(deps): update github/codeql-action action to v4.32.3 by @renovate[bot] in #7909
  • chore(deps): update module github.com/kevinburke/ssh_config to v1.5.0 by @renovate[bot] in #7911
  • chore(deps): update module github.com/kevinburke/ssh_config to v1.6.0 by @renovate[bot] in #7913
  • chore(deps): update actions/stale action to v10.2.0 by @renovate[bot] in #7917
  • chore(deps): update module github.com/godoc-lint/godoc-lint to v0.11.2 by @renovate[bot] in #7916
  • chore(deps): update module github.com/clipperhouse/uax29/v2 to v2.7.0 by @renovate[bot] in #7915
  • chore(deps): update module github.com/mattn/go-runewidth to v0.0.20 by @renovate[bot] in #7918
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.28.0 by @renovate[bot] in #7921
  • Checked if Operation Enabled in otlptracehttp before performing operation by @itssaharsh in #7881
  • chore(deps): update github/codeql-action action to v4.32.4 by @renovate[bot] in #7936
  • chore(deps): update module github.com/mirrexone/unqueryvet to v1.5.4 by @renovate[bot] in #7939
  • chore(deps): update module github.com/uudashr/gocognit to v1.2.1 by @renovate[bot] in #7947
  • chore(deps): update module github.com/alexkohler/prealloc to v1.0.3 by @renovate[bot] in #7950
  • chore(deps): update module github.com/go-git/go-billy/v5 to v5.8.0 by @renovate[bot] in #7953
  • chore(deps): update lycheeverse/lychee-action action to v2.8.0 by @renovate[bot] in #7959
  • chore(deps): update module github.com/go-git/go-git/v5 to v5.17.0 by @renovate[bot] in #7960
  • chore(deps): update actions/setup-go action to v6.3.0 by @renovate[bot] in #7962
  • Document metric api interfaces that methods need to be safe to be called concurrently by @dashpole in #7952
  • ci: add govulncheck job to CI workflow and update lint target by @pellared in #7971
  • Comply with W3C Baggage specification limits by @XSAM in #7880
  • chore(deps): update module github.com/mgechev/revive to v1.14.0 by @renovate[bot] in #7895
  • chore(deps): update github artifact actions (major) by @renovate[bot] in #7963
  • chore(deps): update module github.com/kisielk/errcheck to v1.10.0 by @renovate[bot] in #7967
  • chore(deps): update module github.com/protonmail/go-crypto to v1.4.0 by @renovate[bot] in #7969
  • fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to d566b4d by @renovate[bot] in #7972
  • chore(deps): update module github.com/sonatard/noctx to v0.5.0 by @renovate[bot] in #7968
  • chore(deps): update module github.com/daixiang0/gci to v0.14.0 by @renovate[bot] in #7973
  • chore(deps): update module github.com/securego/gosec/v2 to v2.23.0 by @renovate[bot] in #7899
  • Generate semconv/v1.40.0 by @ChrsMark in #7929
  • Revert "Generate semconv/v1.40.0" by @dmathieu in #7978
  • chore(deps): update github/codeql-action action to v4.32.5 by @renovate[bot] in #7980
  • fix: add error handling for insecure HTTP endpoints with TLS client configuration by @sandy2008 in #7914
  • Release 1.41.0/0.63.0/0.17.0/0.0.15 by @pellared in https://github.com/open-telemetry/opentelemetry-...
Read more

Release v1.40.0/v0.62.0/v0.16.0

02 Feb 17:58
Immutable release. Only release title and notes can be modified.
v1.40.0
a3a5317

Choose a tag to compare

Overview

Added

  • Add Enabled method to all synchronous instrument interfaces (Float64Counter, Float64UpDownCounter, Float64Histogram, Float64Gauge, Int64Counter, Int64UpDownCounter, Int64Histogram, Int64Gauge,) in go.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 AlwaysRecord sampler in go.opentelemetry.io/otel/sdk/trace. (#7724)
  • Add go.opentelemetry.io/otel/semconv/v1.39.0 package. The package contains semantic conventions from the v1.39.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.38.0. (#7783, #7789)

Changed

  • Exporter in go.opentelemetry.io/otel/exporters/prometheus ignores metrics with the scope go.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 HistogramReservoir in go.opentelemetry.io/otel/sdk/metric/exemplar by 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 FixedSizeReservoir in go.opentelemetry.io/otel/sdk/metric/exemplar. (#7447)
  • The rpc.grpc.status_code attribute in the experimental metrics emitted from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc is replaced with the rpc.response.status_code attribute to align with the semantic conventions. (#7854)
  • The rpc.grpc.status_code attribute in the experimental metrics emitted from go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc is replaced with the rpc.response.status_code attribute 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 DroppedAttributes on Record in go.opentelemetry.io/otel/sdk/log to not count the non-attribute key-value pairs dropped because of key duplication. (#7662)
  • Fix SetAttributes on Record in go.opentelemetry.io/otel/sdk/log to not log that attributes are dropped when they are actually not dropped. (#7662)
  • WithHostID detector in go.opentelemetry.io/otel/sdk/resource to use full path for ioreg command on Darwin (macOS). (#7818)
  • Fix missing request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp to correctly handle HTTP2 GOAWAY frame. (#7794)

Deprecated

What's Changed

  • fix(deps): update opentelemetry-go monorepo to v0.15.0 by @renovate[bot] in #7690
  • chore(deps): update golang.org/x by @renovate[bot] in #7689
  • fix(deps): update golang.org/x by @renovate[bot] in #7691
  • prometheus exporter ignores metrics from the Prometheus bridge by @dashpole in #7688
  • chore(deps): update codecov/codecov-action action to v5.5.2 by @renovate[bot] in #7693
  • fix(deps): update golang.org/x to 8475f28 by @renovate[bot] in #7692
  • chore(deps): update github.com/securego/gosec/v2 digest to b6eea26 by @renovate[bot] in #7694
  • chore(deps): update module github.com/securego/gosec/v2 to v2.22.11 by @renovate[bot] in #7696
  • Use sync.Map and atomics for fixed bucket histograms by @dashpole in #7474
  • chore(deps): update actions/cache action to v5 by @renovate[bot] in #7701
  • chore(deps): update otel/weaver docker tag to v0.20.0 by @renovate[bot] in #7698
  • fix(deps): update module google.golang.org/protobuf to v1.36.11 by @renovate[bot] in #7704
  • chore(deps): update github/codeql-action action to v4.31.8 by @renovate[bot] in #7703
  • sdk/log: improve Processor documentation by @pellared in #7695
  • chore(deps): update github artifact actions (major) by @renovate[bot] in #7707
  • chore(deps): update actions/cache action to v5.0.1 by @renovate[bot] in #7705
  • fix(deps): update googleapis to 97cd9d5 by @renovate[bot] in #7708
  • stdoutmetric exporter observability by @mahendrabishnoi2 in #7492
  • Optimize histogram reservoir by @dashpole in #7443
  • chore(deps): update golang.org/x/telemetry digest to e75fd47 by @renovate[bot] in #7710
  • Use sync.Map and atomics for lastvalue aggregations by @dashpole in #7478
  • chore(deps): update module go.opentelemetry.io/collector/featuregate to v1.48.0 by @renovate[bot] in #7713
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.48.0 by @renovate[bot] in #7716
  • chore(deps): update module github.com/alecthomas/chroma/v2 to v2.21.0 by @renovate[bot] in #7715
  • Exponential histogram: defer computing count until collect by @dashpole in #7702
  • address feedback from #7478 by @dashpole in #7718
  • chore(deps): update github/codeql-action action to v4.31.9 by @renovate[bot] in #7722
  • chore(deps): update module github.com/alecthomas/chroma/v2 to v2.21.1 by @renovate[bot] in #7726
  • chore(deps): update golang.org/x/telemetry digest to 2adc8cf by @renovate[bot] in #7725
  • chore(deps): update golang.org/x/telemetry digest to 7004b74 by @renovate[bot] in #7727
  • chore(deps): update module github.com/burntsushi/toml to v1.6.0 by @renovate[bot] in #7728
  • chore(deps): update module github.com/ghostiam/protogetter to v0.3.18 by @renovate[bot] in #7731
  • chore(deps): update golang.org/x/telemetry digest to e0dd3dd by @renovate[bot] in #7732
  • fix(deps): update golang.org/x to 944ab1f by @renovate[bot] in #7733
  • fix(deps): update module google.golang.org/grpc to v1.78.0 by @renovate[bot] in #7742
  • fix(deps): update googleapis to 0a764e5 by @renovate[bot] in #7740
  • chore(deps): update golang.org/x/telemetry digest to 3f2a21f by @renovate[bot] in #7739
  • chore(deps): update module github.com/cloudflare/circl to v1.6.2 by @renovate[bot] in #7741
  • chore(deps): update module github.com/godoc-lint/godoc-lint to v0.11.1 by @renovate[bot] in #7746
  • chore(deps): update module github.com/grpc-ecosystem/grpc-gateway/v2 to v2.27.4 by @renovate[bot] in #7747
  • Add test cases to TestEmit in attribute by @itssaharsh in #7751
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.49.0 by @renovate[bot] in #7754
  • chore(deps): update module github.com/prometheus/common to v0.67.5 by @renovate[bot] in #7752
  • chore(deps): update module github.com/mirrexone/unqueryvet to v1.4.0 by @renovate[bot] in #7756
  • fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 492b5bc by @renovate[bot] in #7759
  • chore(deps): update module github.com/go-critic/go-critic to v0.14.3 by @renovate[bot] in #7757
  • fix...
Read more

Release v1.39.0/v0.61.0/v0.15.0/v0.0.14

08 Dec 16:45
Immutable release. Only release title and notes can be modified.
v1.39.0
6ce1429

Choose a tag to compare

Overview

Added

  • 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)

Removed

  • Drop support for [Go 1.23]. (#7274)
  • 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)

What's Changed

  • Drop support for Go 1.23 by @MrAlias in #7274
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.40.0 by @renovate[bot] in #7275
  • chore(deps): update module github.com/securego/gosec/v2 to v2.22.8 by @renovate[bot] in #7276
  • fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.4.0 by @renovate[bot] in #7277
  • fix(deps): update golang.org/x by @renovate[bot] in #7188
  • fix(deps): update module github.com/opentracing-contrib/go-grpc to v0.1.2 by @renovate[bot] in #7281
  • fix(deps): update googleapis to ef028d9 by @renovate[bot] in #7279
  • chore(deps): update module github.com/rogpeppe/go-internal to v1.14.1 by @renovate[bot] in #7283
  • chore(deps): update module github.com/spf13/pflag to v1.0.9 by @renovate[bot] in #7282
  • fix(deps): update github.com/opentracing-contrib/go-grpc/test digest to 0261db7 by @renovate[bot] in #7278
  • Fix missing link in changelog by @MrAlias in #7273
  • chore(deps): update module github.com/spf13/cobra to v1.10.0 by @renovate[bot] in #7285
  • chore(deps): update github/codeql-action action to v3.30.0 by @renovate[bot] in #7284
  • chore(deps): update module github.com/spf13/cobra to v1.10.1 by @renovate[bot] in #7286
  • Add tracetest example for testing instrumentation by @adity1raut in #7107
  • Fix schema urls by @dmathieu in #7288
  • chore(deps): update module github.com/spf13/pflag to v1.0.10 by @renovate[bot] in #7291
  • chore(deps): update benchmark-action/github-action-benchmark action to v1.20.5 by @renovate[bot] in #7293
  • chore(deps): update module github.com/ghostiam/protogetter to v0.3.16 by @renovate[bot] in #7289
  • chore(deps): update module github.com/golangci/go-printf-func-name to v0.1.1 by @renovate[bot]...
Read more

Release v1.38.0/v0.60.0/v0.14.0/v0.0.13

29 Aug 19:48
v1.38.0
84e3f3a

Choose a tag to compare

Overview

This release is the last to support Go 1.23. The next release will require at least Go 1.24.

Added

  • Add native histogram exemplar support in go.opentelemetry.io/otel/exporters/prometheus. (#6772)
  • Add template attribute functions to the go.opentelmetry.io/otel/semconv/v1.34.0 package. (#6939)
    • ContainerLabel
    • DBOperationParameter
    • DBSystemParameter
    • HTTPRequestHeader
    • HTTPResponseHeader
    • K8SCronJobAnnotation
    • K8SCronJobLabel
    • K8SDaemonSetAnnotation
    • K8SDaemonSetLabel
    • K8SDeploymentAnnotation
    • K8SDeploymentLabel
    • K8SJobAnnotation
    • K8SJobLabel
    • K8SNamespaceAnnotation
    • K8SNamespaceLabel
    • K8SNodeAnnotation
    • K8SNodeLabel
    • K8SPodAnnotation
    • K8SPodLabel
    • K8SReplicaSetAnnotation
    • K8SReplicaSetLabel
    • K8SStatefulSetAnnotation
    • K8SStatefulSetLabel
    • ProcessEnvironmentVariable
    • RPCConnectRPCRequestMetadata
    • RPCConnectRPCResponseMetadata
    • RPCGRPCRequestMetadata
    • RPCGRPCResponseMetadata
  • Add ErrorType attribute helper function to the go.opentelmetry.io/otel/semconv/v1.34.0 package. (#6962)
  • Add WithAllowKeyDuplication in go.opentelemetry.io/otel/sdk/log which can be used to disable deduplication for log records. (#6968)
  • Add WithCardinalityLimit option to configure the cardinality limit in go.opentelemetry.io/otel/sdk/metric. (#6996, #7065, #7081, #7164, #7165, #7179)
  • Add Clone method to Record in go.opentelemetry.io/otel/log that returns a copy of the record with no shared state. (#7001)
  • Add experimental self-observability span and batch span processor metrics in go.opentelemetry.io/otel/sdk/trace. Check the go.opentelemetry.io/otel/sdk/trace/internal/x package documentation for more information. (#7027, #6393, #7209)
  • The go.opentelemetry.io/otel/semconv/v1.36.0 package. The package contains semantic conventions from the v1.36.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.34.0.(#7032, #7041)
  • Add support for configuring Prometheus name translation using WithTranslationStrategy option in go.opentelemetry.io/otel/exporters/prometheus. The current default translation strategy when UTF-8 mode is enabled is NoUTF8EscapingWithSuffixes, but a future release will change the default strategy to UnderscoreEscapingWithSuffixes for compliance with the specification. (#7111)
  • Add experimental self-observability log metrics in go.opentelemetry.io/otel/sdk/log. Check the go.opentelemetry.io/otel/sdk/log/internal/x package documentation for more information. (#7121)
  • Add experimental self-observability trace exporter metrics in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. Check the go.opentelemetry.io/otel/exporters/stdout/stdouttrace/internal/x package documentation for more information. (#7133)
  • Support testing of [Go 1.25]. (#7187)
  • The go.opentelemetry.io/otel/semconv/v1.37.0 package. The package contains semantic conventions from the v1.37.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.36.0.(#7254)

Changed

  • Optimize TraceIDFromHex and SpanIDFromHex in go.opentelemetry.io/otel/sdk/trace. (#6791)
  • Change AssertEqual in go.opentelemetry.io/otel/log/logtest to accept TestingT in order to support benchmarks and fuzz tests. (#6908)
  • Change DefaultExemplarReservoirProviderSelector in go.opentelemetry.io/otel/sdk/metric to use runtime.GOMAXPROCS(0) instead of runtime.NumCPU() for the FixedSizeReservoirProvider default size. (#7094)

Fixed

  • SetBody method of Record in go.opentelemetry.io/otel/sdk/log now deduplicates key-value collections (log.Value of log.KindMap from go.opentelemetry.io/otel/log). (#7002)
  • Fix go.opentelemetry.io/otel/exporters/prometheus to not append a suffix if it's already present in metric name. (#7088)
  • Fix the go.opentelemetry.io/otel/exporters/stdout/stdouttrace self-observability component type and name. (#7195)
  • Fix partial export count metric in go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#7199)

Deprecated

  • Deprecate WithoutUnits and WithoutCounterSuffixes options, preferring WithTranslationStrategy instead. (#7111)
  • Deprecate support for OTEL_GO_X_CARDINALITY_LIMIT environment variable in go.opentelemetry.io/otel/sdk/metric. Use WithCardinalityLimit option instead. (#7166)

What's Changed

  • chore(deps): update golang.org/x/telemetry digest to 96f361d by @renovate[bot] in #7054
  • fix(deps): update googleapis to a45f3df by @renovate[bot] in #7058
  • chore(deps): update github/codeql-action action to v3.29.3 by @renovate[bot] in #7055
  • fix(deps): update module github.com/golangci/golangci-lint/v2 to v2.3.0 by @renovate[bot] in #7060
  • chore(deps): update module github.com/securego/gosec/v2 to v2.22.7 by @renovate[bot] in #7059
  • chore(deps): update python:3.13.5-slim-bullseye docker digest to 89aa817 by @renovate[bot] in #7061
  • chore(deps): update python:3.13.5-slim-bullseye docker digest to 17c88fd by @renovate[bot] in #7062
  • Fix markdown-fail-fast on push by @MrAlias in #7057
  • sdk/trace: self-observability: span metrics by @pellared in #7027
  • chore(deps): update module github.com/ldez/grignotin to v0.10.0 by @renovate[bot] in #7072
  • fix(deps): update module google.golang.org/grpc to v1.74.2 by @renovate[bot] in #7073
  • chore(deps): update python:3.13.5-slim-bullseye docker digest to ba65ee6 by @renovate[bot] in #7068
  • sdk/metric: do not document default cardinality limit by @pellared in #7065
  • docs: unify doc comments for functions returning bool by @pellared in #7064
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.36.1 by @renovate[bot] in #7070
  • fix(deps): update github.com/prometheus/otlptranslator digest to fce6240 by @renovate[bot] in #7075
  • fix(deps): update module github.com/cenkalti/backoff/v5 to v5.0.3 by @renovate[bot] in #7077
  • chore(deps): update github/codeql-action action to v3.29.4 by @renovate[bot] in #7076
  • Add Flc as an approver by @pellared in #7053
  • chore(deps): update module go.opentelemetry.io/build-tools to v0.25.0 by @renovate[bot] in #7079
  • fix(deps): update build-tools to v0.25.0 by @renovate[bot] in #7080
  • chore(deps): update python:3.13.5-slim-bullseye docker digest to 846d391 by @renovate[bot] in #7078
  • chore(deps): update module github.com/bombsimon/wsl/v5 to v5.1.1 by @renovate[bot] in #7082
  • chore(deps): update module github.com/daixiang0/gci to v0.13.7 by @renovate[bot] in #7085
  • fix(deps): update github.com/prometheus/otlptranslator digest to ab8d56d by @renovate[bot] in #7088
  • fix: add mock server URL to .lycheeignore by @flc1125 in #7090
  • chore(deps): update module github.com/sonatard/noctx to v0.4.0 by @renovate[bot] in #7092
  • chore(deps): update golang.org/x/telemetry digest to 1581f0a by @renovate[bot] in #7096
  • fix(deps): update googleapis to f173205 by @renovate[bot] in #7097
  • chore(deps): update module github.com/4meepo/tagalign to v1.4.3 by @renovate[bot] in #7098
  • Modernize by @ash2k in #7089
  • Remove notice about internaltest which is not generated anymore by @dmathieu in #7093
  • sdk/metric: use runtime.GOMAXPROCS(0) instead of runtime.NumCPU() in DefaultExemplarReservoirProviderSelector for the FixedSizeReservoirProvider default size by @lzakharov in #7094
  • ci: Add use-any linter by @flc1125 in #7091
  • chore: enable gocritic linter by @mmorel-35 in #7095
  • chore(deps): update module github.com/sagikazarmark/locafero to v0.10.0 by @renovate[bot] in #7100
  • chore(deps): update golang...
Read more

Release 0.59.1

21 Jul 18:10
exporters/prometheus/v0.59.1
fb73949

Choose a tag to compare

Summary

Changed

  • Retract v0.59.0 release of go.opentelemetry.io/otel/exporters/prometheus module which appends incorrect unit suffixes. (#7046)
  • Change go.opentelemetry.io/otel/exporters/prometheus to no longer deduplicate suffixes when UTF8 is enabled.
    It is recommended to disable unit and counter suffixes in the exporter, and manually add suffixes if you rely on the existing behavior. (#7044)

Fixed

  • Fix go.opentelemetry.io/otel/exporters/prometheus to properly handle unit suffixes when the unit is in brackets.
    E.g. {spans}. (#7044)

What's Changed

  • chore(deps): update module github.com/prometheus/procfs to v0.17.0 by @renovate[bot] in #6961
  • fix(deps): update golang.org/x by @renovate[bot] in #6989
  • Retract most recent prometheus exporter release by @dashpole in #7046
  • Migrate prometheus exporter to otlptranslator by @dashpole in #7044
  • Release exporters/prometheus/v0.59.1 by @dashpole in #7056

Full Changelog: exporters/prometheus/v0.59.0...exporters/prometheus/v0.59.1

Release 1.37.0/0.59.0/0.13.0

25 Jun 06:56
v1.37.0
69e8108

Choose a tag to compare

Added

  • The go.opentelemetry.io/otel/semconv/v1.33.0 package.
    The package contains semantic conventions from the v1.33.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.32.0.(#6799)
  • The go.opentelemetry.io/otel/semconv/v1.34.0 package.
    The package contains semantic conventions from the v1.34.0 version of the OpenTelemetry Semantic Conventions. (#6812)
  • Add metric's schema URL as otel_scope_schema_url label in go.opentelemetry.io/otel/exporters/prometheus. (#5947)
  • Add metric's scope attributes as otel_scope_[attribute] labels in go.opentelemetry.io/otel/exporters/prometheus. (#5947)
  • Add EventName to EnabledParameters in go.opentelemetry.io/otel/log. (#6825)
  • Add EventName to EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#6825)
  • Changed handling of go.opentelemetry.io/otel/exporters/prometheus metric renaming to add unit suffixes when it doesn't match one of the pre-defined values in the unit suffix map. (#6839)

Changed

  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/bridge/opentracing. (#6827)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/exporters/zipkin. (#6829)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/metric. (#6832)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/sdk/resource. (#6834)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/sdk/trace. (#6835)
  • The semantic conventions have been upgraded from v1.26.0 to v1.34.0 in go.opentelemetry.io/otel/trace. (#6836)
  • Record.Resource now returns *resource.Resource instead of resource.Resource in go.opentelemetry.io/otel/sdk/log. (#6864)
  • Retry now shows error cause for context timeout in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6898)

Fixed

  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#6710)
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6710)
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#6710)
  • Stop stripping trailing slashes from configured endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6710)
  • Validate exponential histogram scale range for Prometheus compatibility in go.opentelemetry.io/otel/exporters/prometheus. (#6822)
  • Context cancellation during metric pipeline produce does not corrupt data in go.opentelemetry.io/otel/sdk/metric. (#6914)

Removed

  • go.opentelemetry.io/otel/exporters/prometheus no longer exports otel_scope_info metric. (#6770)

What's Changed

  • Fix dependencies to unreleased sdk/logtest by @dmathieu in #6800
  • Release experimental logs 0.12.1 by @dmathieu in #6802
  • Fix broken link in changelog by @MrAlias in #6805
  • Retract v0.12.0 for log exporters by @MrAlias in #6804
  • chore(deps): update python:3.13.3-slim-bullseye docker digest to 45338d2 by @renovate in #6807
  • remove internal/matchers by @codeimmortal in #6777
  • Release log/v0.12.2 by @MrAlias in #6806
  • chore(deps): update python:3.13.3-slim-bullseye docker digest to f0acec6 by @renovate in #6810
  • Update the required approvals policy by @MrAlias in #6783
  • Generate semconv/v1.33.0 by @MrAlias in #6799
  • chore(deps): update module github.com/jgautheron/goconst to v1.8.2 by @renovate in #6815
  • chore(deps): update module github.com/protonmail/go-crypto to v1.3.0 by @renovate in #6817
  • chore(deps): update module github.com/santhosh-tekuri/jsonschema/v6 to v6.0.2 by @renovate in #6818
  • Semconv v1.34.0 by @MrAlias in #6812
  • bridge/opencensus: add test for OTelSpanContextToOC function by @highlyavailable in #6813
  • chore(deps): update module github.com/sashamelentyev/usestdlibvars to v1.29.0 by @renovate in #6820
  • prometheus: Add otel_scope_schema_url and otel_scope_[attribute] labels by @pellared in #5947
  • Fix/issue 6560 install trace bridge test by @highlyavailable in #6814
  • fix(deps): update module google.golang.org/grpc to v1.72.2 by @renovate in #6823
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.33.0 by @renovate in #6824
  • chore(deps): update module github.com/golangci/plugin-module-register to v0.1.2 by @renovate in #6826
  • chore(deps): update otel/weaver docker tag to v0.15.1 by @renovate in #6838
  • prometheus: remove otel_scope_info by @pellared in #6770
  • log,sdk/log: add EventName to EnabledParameters by @pellared in #6825
  • chore(deps): update module github.com/abirdcfly/dupword to v0.1.5 by @renovate in #6840
  • Add migration doc generation to semconvgen by @MrAlias in #6819
  • fix(deps): update module github.com/go-logr/logr to v1.4.3 by @renovate in #6842
  • Upgrade semconv to v1.34.0 in OpenTracing bridge by @MrAlias in #6827
  • Upgrade semconv to v1.34.0 for OTLP templates by @MrAlias in #6828
  • Upgrade semconv to 1.34.0 in exporters/zipkin by @MrAlias in #6829
  • Upgrade semconv to 1.34.0 in exporters/stdout by @MrAlias in #6830
  • Upgrade semconv to 1.34.0 in exporters/prometheus by @MrAlias in #6831
  • Upgrade semconv to 1.34.0 in metric by @MrAlias in #6832
  • Upgrade semconv to 1.34.0 in sdk/metric by @MrAlias in #6833
  • Upgrade semconv to 1.34.0 in sdk/resource by @MrAlias in #6834
  • Upgrade semconv to 1.34.0 in sdk/trace by @MrAlias in #6835
  • Upgrade semconv to 1.34.0 in trace by @MrAlias in #6836
  • Fix semconv instrument types by @MrAlias in #6837
  • fix(deps): update googleapis to 200df99 by @renovate in #6843
  • chore(deps): update module github.com/abirdcfly/dupword to v0.1.6 by @renovate in #6845
  • chore(deps): update golang.org/x/telemetry digest to b2b9eea by @renovate in #6844
  • fix(deps): update module go.opentelemetry.io/proto/otlp to v1.7.0 by @renovate in #6848
  • Checkout code for codecov upload by @MrAlias in #6849
  • chore(deps): update golang.org/x/telemetry digest to 25d2f78 by @renovate in #6851
  • Add the FOSSA license scan badge shield by @MrAlias in #6852
  • Add a CLO monitor exemption for Artifact Hub by @MrAlias in #6853
  • sdk/trace: Remove internaltest package by @Mojachieee in #6846
  • chore(deps): update ossf/scorecard-action action to v2.4.2 by @renovate in #6857
  • chore(deps): update otel/weaver docker tag to v0.15.2 by @renovate in #6858
  • fix(deps): update golang.org/x to 65e9200 by @renovate in #6859
  • chore(deps): update module github.com/spf13...
Read more

Experimental logs v0.12.2

22 May 07:33
log/v0.12.2
0fc383a

Choose a tag to compare

  • Retract v0.12.0 release of go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc module that contains invalid dependencies. (#6804)
  • Retract v0.12.0 release of go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp module that contains invalid dependencies. (#6804)
  • Retract v0.12.0 release of go.opentelemetry.io/otel/exporters/stdout/stdoutlog module that contains invalid dependencies. (#6804)

Release v1.36.0/v0.58.0/v0.12.0

21 May 07:43
v1.36.0
a85ae98

Choose a tag to compare

Added

  • Add exponential histogram support in go.opentelemetry.io/otel/exporters/prometheus. (#6421)
  • The go.opentelemetry.io/otel/semconv/v1.31.0 package.
    The package contains semantic conventions from the v1.31.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.30.0. (#6479)
  • Add Recording, Scope, and Record types in go.opentelemetry.io/otel/log/logtest. (#6507)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#6751)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#6752)
  • Add WithHTTPClient option to configure the http.Client used by go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6688)
  • Add ValuesGetter in go.opentelemetry.io/otel/propagation, a TextMapCarrier that supports retrieving multiple values for a single key. (#5973)
  • Add Values method to HeaderCarrier to implement the new ValuesGetter interface in go.opentelemetry.io/otel/propagation. (#5973)
  • Update Baggage in go.opentelemetry.io/otel/propagation to retrieve multiple values for a key when the carrier implements ValuesGetter. (#5973)
  • Add AssertEqual function in go.opentelemetry.io/otel/log/logtest. (#6662)
  • The go.opentelemetry.io/otel/semconv/v1.32.0 package.
    The package contains semantic conventions from the v1.32.0 version of the OpenTelemetry Semantic Conventions.
    See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.31.0(#6782)
  • Add Transform option in go.opentelemetry.io/otel/log/logtest. (#6794)
  • Add Desc option in go.opentelemetry.io/otel/log/logtest. (#6796)

Removed

  • Drop support for [Go 1.22]. (#6381, #6418)
  • Remove Resource field from EnabledParameters in go.opentelemetry.io/otel/sdk/log. (#6494)
  • Remove RecordFactory type from go.opentelemetry.io/otel/log/logtest. (#6492)
  • Remove ScopeRecords, EmittedRecord, and RecordFactory types from go.opentelemetry.io/otel/log/logtest. (#6507)
  • Remove AssertRecordEqual function in go.opentelemetry.io/otel/log/logtest, use AssertEqual instead. (#6662)

Changed

  • ⚠️ Update github.com/prometheus/client_golang to v1.21.1, which changes the NameValidationScheme to UTF8Validation.
    This allows metrics names to keep original delimiters (e.g. .), rather than replacing with underscores.
    This can be reverted by setting github.com/prometheus/common/model.NameValidationScheme to LegacyValidation in github.com/prometheus/common/model. (#6433)
  • Initialize map with len(keys) in NewAllowKeysFilter and NewDenyKeysFilter to avoid unnecessary allocations in go.opentelemetry.io/otel/attribute. (#6455)
  • go.opentelemetry.io/otel/log/logtest is now a separate Go module. (#6465)
  • go.opentelemetry.io/otel/sdk/log/logtest is now a separate Go module. (#6466)
  • Recorder in go.opentelemetry.io/otel/log/logtest no longer separately stores records emitted by loggers with the same instrumentation scope. (#6507)
  • Improve performance of BatchProcessor in go.opentelemetry.io/otel/sdk/log by not exporting when exporter cannot accept more. (#6569, #6641)

Deprecated

  • Deprecate support for model.LegacyValidation for go.opentelemetry.io/otel/exporters/prometheus. (#6449)

Fixes

  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6392)
  • Ensure the noopSpan.tracerProvider method is not inlined in go.opentelemetry.io/otel/trace so the go.opentelemetry.io/auto instrumentation can instrument non-recording spans. (#6456)
  • Use a sync.Pool instead of allocating metricdata.ResourceMetrics in go.opentelemetry.io/otel/exporters/prometheus. (#6472)

What's Changed

  • Drop support for Go 1.22 by @XSAM in #6381
  • chore(deps): update module honnef.co/go/tools to v0.6.1 by @renovate in #6414
  • chore(deps): update module github.com/openpeedeep/depguard/v2 to v2.2.1 by @renovate in #6415
  • fix(deps): update golang.org/x by @renovate in #6413
  • fix(deps): update module github.com/jcchavezs/porto to v0.7.0 by @renovate in #5867
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.27.0 by @renovate in #6330
  • Bump Go version for schema by @XSAM in #6418
  • chore(deps): update github/codeql-action digest to 6bb031a by @renovate in #6424
  • Update exporters README.md - otlploggrpc added by @marekjalovec in #6423
  • Promote Alex Kats to triager by @dmathieu in #6420
  • chore(deps): update github.com/golangci/dupl digest to f665c8d by @renovate in #6425
  • chore(deps): update golang.org/x/telemetry digest to fdfaad8 by @renovate in #6428
  • chore(deps): update module github.com/ghostiam/protogetter to v0.3.10 by @renovate in #6427
  • fix(deps): update googleapis by @renovate in #6429
  • Stop percent-encoding the header environment variables in otlplog exporters by @tongoss in #6392
  • fix(deps): update module github.com/golangci/golangci-lint to v1.64.7 by @renovate in #6432
  • fix(deps): update googleapis to 81fb87f by @renovate in #6430
  • chore(deps): update module github.com/catenacyber/perfsprint to v0.9.1 by @renovate in #6437
  • chore(deps): update module github.com/breml/bidichk to v0.3.3 by @renovate in #6435
  • chore(deps): update module github.com/breml/errchkjson to v0.4.1 by @renovate in #6436
  • trace/auto pass stack allocated span context var to ebpf by @RonFed in #6434
  • chore(deps): update module github.com/antonboom/errname to v1.1.0 by @renovate in #6439
  • chore(deps): update module github.com/antonboom/testifylint to v1.6.0 by @renovate in #6440
  • fix(deps): update googleapis to e70fdf4 by @renovate in #6441
  • chore(deps): update module github.com/spf13/afero to v1.13.0 by @renovate in #6444
  • feat(retry): update backoff to v5, fix the breaking changes in that version by @yumosx in #6419
  • chore(deps): update module github.com/spf13/afero to v1.14.0 by @renovate in #6445
  • chore(deps): update module github.com/macabu/inamedparam to v0.2.0 by @renovate in #6448
  • chore(deps): update module github.com/sagikazarmark/locafero to v0.8.0 by @renovate in #6446
  • chore(deps): update module github.com/spf13/viper to v1.20.0 by @renovate in #6447
  • chore(deps): update module github.com/antonboom/nilnil to v1.1.0 by @renovate in #6453
  • chore(deps): update github.com/burntsushi/toml digest to d10101f by @renovate in #6452
  • chore(deps): update module github.com/xen0n/gosmopolitan to v1.3.0 by @renovate in #6454
  • Fix close stale value to be relative by @dmathieu in #6451
  • chore(deps): update module github.com/burntsushi/toml to v1.5.0 by @renovate in #6460
  • fix(deps): update module github.com/golangci/golangci-lint to v1.64.8 by @renovate in #6458
  • chore(deps): update python:3.13.2-slim-bullseye docker digest to c527a33 by @renovate in #6459
  • fix(deps): update module go.opentelemetry.io/collector/pdata to v1.28.0 by @renovate in #6461
  • chore(deps): update module github.com/ghostiam/protogetter to v0.3.12 by @renovate in #6457
  • chore(deps): update github.com/prometheus/client_golang to v1.21.1 by @ajatprabha in #6433
  • chore(deps): update module github.com/prometheus/procfs to v0.16.0 by @renovate in #6462
  • chore(deps): update module github.com/prometheus/client_golang to v1.21.1 by @renovate in...
Read more

Experimental logs v0.12.1

21 May 13:28
log/v0.12.1
355c8cc

Choose a tag to compare

Fixes

  • Use the proper dependency version of go.opentelemetry.io/otel/sdk/log/logtest in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#6800)
  • Use the proper dependency version of go.opentelemetry.io/otel/sdk/log/logtest in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#6800)
  • Use the proper dependency version of go.opentelemetry.io/otel/sdk/log/logtest in go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#6800)