Skip to content

feat: update opentelemetry - #69

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/opentelemetry
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/opentelemetry

Conversation

@renovate

@renovate renovate Bot commented Aug 23, 2024 •

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 → v0.72.0 age confidence
go.opentelemetry.io/otel v1.28.0 → v1.47.0 age confidence
go.opentelemetry.io/otel/trace v1.28.0 → v1.47.0 age confidence

Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)

v1.47.0: /v0.69.0/v0.23.0/v0.1.0

Compare Source

This release contains the first stable release of the OpenTelemetry Go Logs API and SDK.
Our project stability guarantees now apply to the following modules:

  • go.opentelemetry.io/otel/log
  • go.opentelemetry.io/otel/sdk/log

See our versioning policy for more information about these stability guarantees.

Added
  • Add String method for KeyValue type in go.opentelemetry.io/otel/attribute. (#​8205)
  • Add String method for Set type in go.opentelemetry.io/otel/attribute. (#​8347)
  • Add WithMaxExportBatchSize to go.opentelemetry.io/otel/sdk/metric to configure the maximum export batch size for PeriodicReader. (#​8960)
  • Add WithAttributeValueDepthLimit, DefaultAttributeValueDepthLimit, and SpanLimits.AttributeValueDepthLimit in go.opentelemetry.io/otel/sdk/trace to configure the maximum depth of span, event, link, and instrumentation scope attribute values. (#​8938)
  • Add WithAttributeValueDepthLimit in go.opentelemetry.io/otel/sdk/log to configure the maximum depth of log record and instrumentation scope attribute values. (#​8938)
  • Add WithMaxResponseSize to go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, and
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​8941)
  • Add experimental ProbabilitySampler in go.opentelemetry.io/otel/sdk/trace/x that conforms to the OpenTelemetry specification's threshold-based sampling algorithm. (#​8123)
  • Add experimental *Binder extension interfaces in go.opentelemetry.io/otel/metric/x for instruments that support binding attributes ahead of time. (#​8760)
  • Add the experimental Finisher synchronous metric instrument extension interface to go.opentelemetry.io/otel/metric/x. (#​8906)
Changed
  • Use the OpenTelemetry Attribute Collection representation for non-OTLP protocols for metric data diffs in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#​8993)
  • Apply a maximum depth of 64 by default to span, event, link, log record, and instrumentation scope attribute values in go.opentelemetry.io/otel/sdk/trace and go.opentelemetry.io/otel/sdk/log. (#​8938)
  • Reduce allocations when applying attribute value length limits in go.opentelemetry.io/otel/sdk/trace and go.opentelemetry.io/otel/sdk/log by rebuilding composite values only when truncation is needed. (#​8912)
  • Decode traceparent using a hex lookup table in go.opentelemetry.io/otel/propagation, which rejects the specification-disallowed upper-case characters without a separate scan of the header. (#​8739)
  • Decode all characters at constant indices in TraceIDFromHex and SpanIDFromHex in go.opentelemetry.io/otel/trace to eliminate bounds checks. (#​8740)
Fixed
  • Count valid U+FFFD replacement characters toward attribute value length limits in go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/sdk/trace, and go.opentelemetry.io/otel/sdk/log.
  • Truncate string attribute values to empty strings when the configured length limit is zero, including malformed UTF-8, in go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/sdk/trace, and go.opentelemetry.io/otel/sdk/log. (#​9054)
  • Fix a data race in NewPeriodicReader where r.inst was assigned after the background goroutine was launched in go.opentelemetry.io/otel/sdk/metric. (#​9028)
  • Prevent precision loss for large int64 values in Sum, Histogram, and ExponentialHistogram aggregations in go.opentelemetry.io/otel/sdk/metric. (#​8981)
  • Ensure grpc.DialOption values passed via WithDialOption take precedence over conflicting internally-computed defaults in
    go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc,
    go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc, and
    go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​8805, #​8834, #​8836)
  • Treat overflowing OTEL_METRIC_EXPORT_INTERVAL and OTEL_METRIC_EXPORT_TIMEOUT values as invalid in go.opentelemetry.io/otel/sdk/metric. (#​8800)
  • Prevent a panic in NewFixedSizeReservoir and FixedSizeReservoirProvider when given a negative size in go.opentelemetry.io/otel/sdk/metric/exemplar; negative sizes are now clamped to zero, consistent with a size of zero. (#​8832)
  • Preserve exponential histogram ZeroThreshold during OTLP metric export in go.opentelemetry.io/otel/exporters/otlp/otlpmetric. (#​8801)
  • Ensure metric helpers in go.opentelemetry.io/otel/semconv/v1.32.0, go.opentelemetry.io/otel/semconv/v1.33.0, and go.opentelemetry.io/otel/semconv/v1.34.0 record measurements only once when no attributes are provided. (#​8849)
  • Treat empty OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG values as unset in go.opentelemetry.io/otel/sdk/trace. (#​8873)
  • Normalize global OTEL_EXPORTER_OTLP_ENDPOINT path joining in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp so trailing-slash base URLs do not produce double-slash log export paths. (#​8864)
  • Prevent a deadlock when formatting an error passed to RecordError calls back into the span in go.opentelemetry.io/otel/sdk/trace. (#​8815)
  • Prevent SimpleSpanProcessor.Shutdown from panicking when constructed with a nil exporter in go.opentelemetry.io/otel/sdk/trace. (#​8844)
  • Propagate invalid exponential histogram scale errors to Prometheus exporter self-observability metrics in go.opentelemetry.io/otel/exporters/prometheus. (#​8839)
  • Retain instrument advisory attributes configured with go.opentelemetry.io/otel/metric/x.WithDefaultAttributes when a matching View in go.opentelemetry.io/otel/sdk/metric does not specify an attribute filter. (#​8859)
  • Ignore HTTP URL paths when building OTLP/gRPC metric exporter targets from OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_METRICS_ENDPOINT, while preserving unix:// and unix-abstract:// targets; treat unix-abstract:// endpoints as insecure in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​8862)
  • Ignore HTTP(S) paths when deriving gRPC trace exporter endpoints from OTEL_EXPORTER_OTLP_ENDPOINT and OTEL_EXPORTER_OTLP_TRACES_ENDPOINT in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​8852)
  • Bound memory used while parsing dense W3C property metadata by storing it compactly and materializing Property values on demand in go.opentelemetry.io/otel/baggage and go.opentelemetry.io/otel/propagation.
Removed
  • Remove the experimental OTEL_GO_X_METRIC_EXPORT_BATCH_SIZE environment variable in go.opentelemetry.io/otel/sdk/metric.
    Use the WithMaxExportBatchSize option instead. (#​8960)
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.47.0-rc.1...v1.47.0

v1.46.0: /v0.68.0/v0.22.0/v0.0.19

Compare Source

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

Added
  • Support testing of Go 1.27. (#​8811)
  • Support http/json protocol in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​8273, #​8775, #​8831)
  • Add Hasher struct and methods in go.opentelemetry.io/otel/attribute to compute authoritative Distinct hashes incrementally for attribute filtering and deduplication. (#​8598)
Changed
  • Lazily evaluate filtered and dropped attributes on measurement hot paths in go.opentelemetry.io/otel/sdk/metric to avoid unnecessary attribute set allocations. (#​8598)
  • Add ErrExporterShutdown to go.opentelemetry.io/otel/sdk/log and return it from the go.opentelemetry.io/otel/exporters/stdout/stdoutlog, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc, and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp exporters when Export is called after Shutdown. (#​8773)
  • Clarify in go.opentelemetry.io/otel/log that calling Logger.Enabled is optional and that cached results can become stale. (#​8764)
Fixed
  • Export dropped attribute counts in OTLP log records from go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc and go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​8829)
  • Name span events created from OpenTracing logs after the event log field, falling back to log, instead of always using an empty name in go.opentelemetry.io/otel/bridge/opentracing. (#​8648)
  • Count exception attributes omitted due to the attribute count limit as dropped in go.opentelemetry.io/otel/sdk/log. (#​8796)
  • Prevent log record and instrumentation scope attributes with empty keys from reaching processors and exporters in go.opentelemetry.io/otel/sdk/log. (#​8797)
  • Fix a data race when span attributes are read concurrently in go.opentelemetry.io/otel/sdk/trace. (#​8706)
  • Prevent a panic in (*Set).Filter when called on a nil receiver in go.opentelemetry.io/otel/attribute. (#​8792)
  • The simple span and log processors record otel.sdk.processor.{span,log}.processed when the record is submitted to the exporter instead of after the export completes, and no longer set error.type from the export outcome, in go.opentelemetry.io/otel/sdk/trace and go.opentelemetry.io/otel/sdk/log. (#​8705)
  • Prevent Resource.MarshalLog from panicking on nil resources in go.opentelemetry.io/otel/sdk/resource. (#​8758)
What's Changed

❗ Important

✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate

renovate Bot commented Aug 23, 2024 •

Copy link
Copy Markdown
Contributor Author

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 14 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22 -> 1.24.0
google.golang.org/grpc v1.65.0 -> v1.77.0
google.golang.org/protobuf v1.34.2 -> v1.36.10
github.com/go-logr/logr v1.4.2 -> v1.4.3
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/rogpeppe/go-internal v1.12.0 -> v1.14.1
go.opentelemetry.io/otel/metric v1.28.0 -> v1.39.0
go.opentelemetry.io/otel/sdk/metric v1.27.0 -> v1.39.0
golang.org/x/crypto v0.24.0 -> v0.44.0
golang.org/x/net v0.26.0 -> v0.47.0
golang.org/x/sys v0.21.0 -> v0.39.0
golang.org/x/text v0.16.0 -> v0.31.0
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d -> v0.38.0
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 -> v0.0.0-20251022142026-3a174f9686a8
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 -> v0.0.0-20251202230838-ff82c1b0f217

@codecov

codecov Bot commented Aug 23, 2024 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.81%. Comparing base (3cf2082) to head (50fc23c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #69   +/-   ##
=======================================
  Coverage   54.81%   54.81%           
=======================================
  Files          25       25           
  Lines        1609     1609           
=======================================
  Hits          882      882           
  Misses        630      630           
  Partials       97       97           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from eda8c92 to c74ed2d Compare August 24, 2024 02:04
@renovate renovate Bot changed the title feat: update opentelemetry to v1.29.0 feat: update opentelemetry Aug 24, 2024
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 03d410e to ff475a5 Compare September 12, 2024 02:03
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 91e53a8 to e20846b Compare October 14, 2024 21:01
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 831c2ee to 236f4ae Compare November 8, 2024 21:30
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 4 times, most recently from 9c81cda to a823aa6 Compare December 17, 2024 16:38
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 920a16d to 76ba12f Compare January 17, 2025 21:27
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 4 times, most recently from b45af79 to a2bbe5d Compare March 6, 2025 02:44
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from a2bbe5d to f93ad2a Compare April 8, 2025 14:23
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from f93ad2a to 363b27f Compare April 25, 2025 17:06
@renovate renovate Bot changed the title feat: update opentelemetry feat: update opentelemetry to v1.35.0 Apr 25, 2025
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 363b27f to 270fd8d Compare April 25, 2025 22:51
@renovate renovate Bot changed the title feat: update opentelemetry to v1.35.0 feat: update opentelemetry Apr 25, 2025
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 3 times, most recently from 26a7ed9 to 0d648dc Compare May 13, 2025 17:36
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 0d648dc to b56ea94 Compare May 14, 2025 12:49
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 3ca0691 to 26480e8 Compare December 9, 2025 02:37
@renovate

renovate Bot commented Dec 13, 2025 •

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 15 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.22 -> 1.26.0
go.opentelemetry.io/otel/sdk v1.28.0 -> v1.47.0
google.golang.org/grpc v1.65.0 -> v1.83.2
google.golang.org/protobuf v1.34.2 -> v1.36.12
github.com/go-logr/logr v1.4.2 -> v1.4.4
github.com/google/go-cmp v0.6.0 -> v0.7.0
github.com/rogpeppe/go-internal v1.12.0 -> v1.14.1
go.opentelemetry.io/otel/metric v1.28.0 -> v1.47.0
go.opentelemetry.io/otel/sdk/metric v1.27.0 -> v1.47.0
golang.org/x/crypto v0.24.0 -> v0.57.0
golang.org/x/net v0.26.0 -> v0.59.0
golang.org/x/sys v0.21.0 -> v0.48.0
golang.org/x/text v0.16.0 -> v0.42.0
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d -> v0.49.0
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 -> v0.0.0-20260526163538-3dc84a4a5aaa
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 -> v0.0.0-20260928230214-8a89bd6388cc

@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 26480e8 to d613ba8 Compare February 2, 2026 23:05
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from faa2532 to 32cb360 Compare March 6, 2026 22:47
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from c233cef to 01d5b22 Compare April 7, 2026 09:45
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 01d5b22 to 33344cb Compare April 24, 2026 05:18
@renovate renovate Bot changed the title feat: update opentelemetry feat: update opentelemetry to v1.43.0 Apr 24, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 33344cb to fd8fd99 Compare April 24, 2026 09:04
@renovate renovate Bot changed the title feat: update opentelemetry to v1.43.0 feat: update opentelemetry Apr 24, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from fd8fd99 to 7a7d67a Compare May 15, 2026 09:45
@renovate renovate Bot changed the title feat: update opentelemetry feat: update opentelemetry to v1.43.0 May 15, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 7a7d67a to 74f3116 Compare May 15, 2026 12:50
@renovate renovate Bot changed the title feat: update opentelemetry to v1.43.0 feat: update opentelemetry May 15, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from ac6dfa9 to 0d4ef0b Compare May 28, 2026 06:39
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 0d4ef0b to 7f78392 Compare June 25, 2026 18:30
@renovate renovate Bot changed the title feat: update opentelemetry feat: update opentelemetry to v1.44.0 Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 7f78392 to 2051e9c Compare June 25, 2026 21:41
@renovate renovate Bot changed the title feat: update opentelemetry to v1.44.0 feat: update opentelemetry Jun 25, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch 2 times, most recently from 84391d8 to 398e087 Compare August 4, 2026 20:50
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from 398e087 to c47751e Compare August 16, 2026 09:46
@renovate renovate Bot changed the title feat: update opentelemetry feat: update opentelemetry to v1.45.0 Aug 16, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from c47751e to e746be5 Compare August 16, 2026 13:14
@renovate renovate Bot changed the title feat: update opentelemetry to v1.45.0 feat: update opentelemetry Aug 16, 2026
@renovate
renovate Bot force-pushed the renovate/opentelemetry branch from e746be5 to 9527674 Compare August 22, 2026 18:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants