Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update opentelemetry #69

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.53.0 -> v0.58.0 age adoption passing confidence
go.opentelemetry.io/otel v1.28.0 -> v1.33.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.28.0 -> v1.33.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.28.0 -> v1.33.0 age adoption passing confidence

Release Notes

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

v1.33.0: /v0.55.0/v0.9.0/v0.0.12

Compare Source

Overview
Added
  • Add Reset method to SpanRecorder in go.opentelemetry.io/otel/sdk/trace/tracetest. (#​5994)
  • Add EnabledInstrument interface in go.opentelemetry.io/otel/sdk/metric/internal/x. This is an experimental interface that is implemented by synchronous instruments provided by go.opentelemetry.io/otel/sdk/metric. Users can use it to avoid performing computationally expensive operations when recording measurements. It does not fall within the scope of the OpenTelemetry Go versioning and stability policy and it may be changed in backwards incompatible ways or removed in feature releases. (#​6016)
Changed
  • The default global API now supports full auto-instrumentation from the go.opentelemetry.io/auto package. See that package for more information. (#​5920)
  • Propagate non-retryable error messages to client in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​5929)
  • Propagate non-retryable error messages to client in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5929)
  • Propagate non-retryable error messages to client in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​5929)
  • Performance improvements for attribute value AsStringSlice, AsFloat64Slice, AsInt64Slice, AsBoolSlice. (#​6011)
  • Change EnabledParameters to have a Severity field instead of a getter and setter in go.opentelemetry.io/otel/log. (#​6009)
Fixed
  • Fix inconsistent request body closing in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​5954)
  • Fix inconsistent request body closing in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5954)
  • Fix inconsistent request body closing in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​5954)
  • Fix invalid exemplar keys in go.opentelemetry.io/otel/exporters/prometheus. (#​5995)
  • Fix attribute value truncation in go.opentelemetry.io/otel/sdk/trace. (#​5997)
  • Fix attribute value truncation in go.opentelemetry.io/otel/sdk/log. (#​6032)
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.32.0...v1.33.0

v1.32.0: /v0.54.0/v0.8.0/v0.0.11

Compare Source

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 and DefaultExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric, which defines the exemplar reservoir to use based on the aggregation of the metric. (#​5861)
  • Add ExemplarReservoirProviderSelector to go.opentelemetry.io/otel/sdk/metric.Stream to allow using views to configure the exemplar reservoir to use for a metric. (#​5861)
  • Add ReservoirProvider, HistogramReservoirProvider and FixedSizeReservoirProvider to go.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 the v1.27.0 version of the OpenTelemetry Semantic Conventions. (#​5894)
  • Add Attributes attribute.Set field to Scope in go.opentelemetry.io/otel/sdk/instrumentation. (#​5903)
  • Add Attributes attribute.Set field to ScopeRecords in go.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 in otel_scope_info metric as labels. (#​5932)
Changed
  • Support scope attributes and make them as identifying for Tracer in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/trace. (#​5924)
  • Support scope attributes and make them as identifying for Meter in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/metric. (#​5926)
  • Support scope attributes and make them as identifying for Logger in go.opentelemetry.io/otel and go.opentelemetry.io/otel/sdk/log. (#​5925)
  • Make schema URL and scope attributes as identifying for Tracer in go.opentelemetry.io/otel/bridge/opentracing. (#​5931)
  • Clear unneeded slice elements to allow GC to collect the objects in go.opentelemetry.io/otel/sdk/metric and go.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 when WithHeaders is used. (#​5892)
  • go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc now keeps the metadata already present in the context when WithHeaders is used. (#​5911)
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc now keeps the metadata already present in the context when WithHeaders 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 in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#​5944)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​5944)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​5944)
  • Fix WithEndpointURL to always use a secure connection when an https URL is passed in go.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
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.31.0...v1.32.0

v1.31.0: /v0.53.0/v0.7.0/v0.0.10

Compare Source

Added
  • Add go.opentelemetry.io/otel/sdk/metric/exemplar package which includes Exemplar, Filter, TraceBasedFilter, AlwaysOnFilter, HistogramReservoir, FixedSizeReservoir, Reservoir, Value and ValueType types. These will be used for configuring the exemplar reservoir for the metrics sdk. (#​5747, #​5862)
  • Add WithExportBufferSize option to log batch processor.(#​5877)
Changed
  • Enable exemplars by default in go.opentelemetry.io/otel/sdk/metric. Exemplars can be disabled by setting OTEL_METRICS_EXEMPLAR_FILTER=always_off (#​5778)
  • Logger.Enabled in go.opentelemetry.io/otel/log now accepts a newly introduced EnabledParameters type instead of Record. (#​5791)
  • FilterProcessor.Enabled in go.opentelemetry.io/otel/sdk/log/internal/x now accepts EnabledParameters instead of Record. (#​5791)
  • The Record type in go.opentelemetry.io/otel/log is no longer comparable. (#​5847)
  • Performance improvements for the trace SDK SetAttributes method in Span. (#​5864)
  • Reduce memory allocations for the Event and Link lists in Span. (#​5858)
  • Performance improvements for the trace SDK AddEvent, AddLink, RecordError and End methods in Span. (#​5874)
Deprecated
Fixed
  • The race condition for multiple FixedSize exemplar reservoirs identified in #​5814 is resolved. (#​5819)
  • Fix log records duplication in case of heterogeneous resource attributes by correctly mapping each log record to it's resource and scope. (#​5803)
  • Fix timer channel drain to avoid hanging on Go 1.23. (#​5868)
  • Fix delegation for global meter providers, and panic when calling otel.SetMeterProvider. (#​5827)
  • Change the reflect.TypeOf to use a nil pointer to not allocate on the heap unless necessary. (#​5827)

v1.30.0: /v0.52.0/v0.6.0/v0.0.9

Compare Source

Overview
Added
  • Support OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environments in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#​5739)
  • The WithResource option for NewMeterProvider now merges the provided resources with the ones from environment variables. (#​5773)
  • The WithResource option for NewLoggerProvider now merges the provided resources with the ones from environment variables. (#​5773)
  • Add UTF-8 support to go.opentelemetry.io/otel/exporters/prometheus. (#​5755)
Fixed
  • Fix memory leak in the global MeterProvider when identical instruments are repeatedly created. (#​5754)
  • Fix panic on instruments creation when setting meter provider. (#​5758)
  • Fix an issue where SetMeterProvider in go.opentelemetry.io/otel might miss the delegation for instruments and registries. (#​5780)
Removed
What's Changed

Configuration

📅 Schedule: 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.

Copy link
Contributor Author

renovate bot commented Aug 23, 2024

ℹ 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):

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

Details:

Package Change
go 1.22 -> 1.23.4
google.golang.org/grpc v1.65.0 -> v1.68.1
google.golang.org/protobuf v1.34.2 -> v1.35.2
github.com/rogpeppe/go-internal v1.12.0 -> v1.13.1
go.opentelemetry.io/otel/metric v1.28.0 -> v1.33.0
golang.org/x/crypto v0.24.0 -> v0.30.0
golang.org/x/net v0.26.0 -> v0.32.0
golang.org/x/sys v0.21.0 -> v0.28.0
golang.org/x/text v0.16.0 -> v0.21.0
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d -> v0.22.0
google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157 -> v0.0.0-20240903143218-8af14fe29dc1
google.golang.org/genproto/googleapis/rpc v0.0.0-20240701130421-f6361c86f094 -> v0.0.0-20241209162323-e6fa225c2576

Copy link

codecov bot commented Aug 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.44%. Comparing base (3cf2082) to head (0750cc9).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #69      +/-   ##
==========================================
- Coverage   54.81%   54.44%   -0.38%     
==========================================
  Files          25       25              
  Lines        1609     1969     +360     
==========================================
+ Hits          882     1072     +190     
- Misses        630      800     +170     
  Partials       97       97              

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

@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 from 236f4ae to ce6c992 Compare December 12, 2024 18:56
@renovate renovate bot force-pushed the renovate/opentelemetry branch from ce6c992 to 0750cc9 Compare December 12, 2024 21:12
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