fix(deps): update opentelemetry-go monorepo to v1.15.1 #58

Merged
kjuulh merged 1 commits from renovate/opentelemetry-go-monorepo into main 2023-05-02 19:49:52 +02:00
Owner

This PR contains the following updates:

Package Type Update Change
go.opentelemetry.io/otel require minor v1.14.0 -> v1.15.1
go.opentelemetry.io/otel/sdk require minor v1.14.0 -> v1.15.1
go.opentelemetry.io/otel/trace require minor v1.14.0 -> v1.15.1

Release Notes

open-telemetry/opentelemetry-go

v1.15.1: /v0.38.1

Compare Source

What's Changed
Fixed
  • Remove unused imports from sdk/resource/host_id_bsd.go which caused build failures. (#​4040, #​4041)
New Contributors

Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.15.0...v1.15.1

v1.15.0: /v0.38.0

Compare Source

Added
  • The go.opentelemetry.io/otel/metric/embedded package. (#​3916)
  • The Version function to go.opentelemetry.io/otel/sdk to return the SDK version. (#​3949)
  • Add a WithNamespace option to go.opentelemetry.io/otel/exporters/prometheus to allow users to prefix metrics with a namespace. (#​3970)
  • The following configuration types were added to go.opentelemetry.io/otel/metric/instrument to be used in the configuration of measurement methods. (#​3971)
    • The AddConfig used to hold configuration for addition measurements
      • NewAddConfig used to create a new AddConfig
      • AddOption used to configure an AddConfig
    • The RecordConfig used to hold configuration for recorded measurements
      • NewRecordConfig used to create a new RecordConfig
      • RecordOption used to configure a RecordConfig
    • The ObserveConfig used to hold configuration for observed measurements
      • NewObserveConfig used to create a new ObserveConfig
      • ObserveOption used to configure an ObserveConfig
  • WithAttributeSet and WithAttributes are added to go.opentelemetry.io/otel/metric/instrument. They return an option used during a measurement that defines the attribute Set associated with the measurement. (#​3971)
  • The Version function to go.opentelemetry.io/otel/exporters/otlp/otlpmetric to return the OTLP metrics client version. (#​3956)
  • The Version function to go.opentelemetry.io/otel/exporters/otlp/otlptrace to return the OTLP trace client version. (#​3956)
Changed
  • The Extrema in go.opentelemetry.io/otel/sdk/metric/metricdata is redefined with a generic argument of [N int64 | float64]. (#​3870)
  • Update all exported interfaces from go.opentelemetry.io/otel/metric to embed their corresponding interface from go.opentelemetry.io/otel/metric/embedded. This adds an implementation requirement to set the interface default behavior for unimplemented methods. (#​3916)
  • Move No-Op implementation from go.opentelemetry.io/otel/metric into its own package go.opentelemetry.io/otel/metric/noop. (#​3941)
    • metric.NewNoopMeterProvider is replaced with noop.NewMeterProvider
  • Add all the methods from "go.opentelemetry.io/otel/trace".SpanContext to bridgeSpanContext by embedding otel.SpanContext in bridgeSpanContext. (#​3966)
  • Wrap UploadMetrics error in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/ to improve error message when encountering generic grpc errors. (#​3974)
  • The measurement methods for all instruments in go.opentelemetry.io/otel/metric/instrument accept an option instead of the variadic "go.opentelemetry.io/otel/attribute".KeyValue. (#​3971)
    • The Int64Counter.Add method now accepts ...AddOption
    • The Float64Counter.Add method now accepts ...AddOption
    • The Int64UpDownCounter.Add method now accepts ...AddOption
    • The Float64UpDownCounter.Add method now accepts ...AddOption
    • The Int64Histogram.Record method now accepts ...RecordOption
    • The Float64Histogram.Record method now accepts ...RecordOption
    • The Int64Observer.Observe method now accepts ...ObserveOption
    • The Float64Observer.Observe method now accepts ...ObserveOption
  • The Observer methods in go.opentelemetry.io/otel/metric accept an option instead of the variadic "go.opentelemetry.io/otel/attribute".KeyValue. (#​3971)
    • The Observer.ObserveInt64 method now accepts ...ObserveOption
    • The Observer.ObserveFloat64 method now accepts ...ObserveOption
  • Move global metric back to go.opentelemetry.io/otel/metric/global from go.opentelemetry.io/otel. (#​3986)
Fixed
  • TracerProvider allows calling Tracer() while it's shutting down. It used to deadlock. (#​3924)
  • Use the SDK version for the Telemetry SDK resource detector in go.opentelemetry.io/otel/sdk/resource. (#​3949)
  • Fix a data race in SpanProcessor returned by NewSimpleSpanProcessor in go.opentelemetry.io/otel/sdk/trace. (#​3951)
  • Automatically figure out the default aggregation with aggregation.Default. (#​3967)
Deprecated
  • The go.opentelemetry.io/otel/metric/instrument package is deprecated. Use the equivalent types added to go.opentelemetry.io/otel/metric instead. (#​4018)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) | require | minor | `v1.14.0` -> `v1.15.1` | | [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) | require | minor | `v1.14.0` -> `v1.15.1` | | [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) | require | minor | `v1.14.0` -> `v1.15.1` | --- ### Release Notes <details> <summary>open-telemetry/opentelemetry-go</summary> ### [`v1.15.1`](https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.15.1): /v0.38.1 [Compare Source](https://github.com/open-telemetry/opentelemetry-go/compare/v1.15.0...v1.15.1) ##### What's Changed ##### Fixed - Remove unused imports from `sdk/resource/host_id_bsd.go` which caused build failures. ([#&#8203;4040](https://github.com/open-telemetry/opentelemetry-go/issues/4040), [#&#8203;4041](https://github.com/open-telemetry/opentelemetry-go/issues/4041)) ##### New Contributors - [@&#8203;Achooo](https://github.com/Achooo) made their first contribution in https://github.com/open-telemetry/opentelemetry-go/pull/4041 **Full Changelog**: https://github.com/open-telemetry/opentelemetry-go/compare/v1.15.0...v1.15.1 ### [`v1.15.0`](https://github.com/open-telemetry/opentelemetry-go/releases/tag/v1.15.0): /v0.38.0 [Compare Source](https://github.com/open-telemetry/opentelemetry-go/compare/v1.14.0...v1.15.0) ##### Added - The `go.opentelemetry.io/otel/metric/embedded` package. ([#&#8203;3916](https://github.com/open-telemetry/opentelemetry-go/issues/3916)) - The `Version` function to `go.opentelemetry.io/otel/sdk` to return the SDK version. ([#&#8203;3949](https://github.com/open-telemetry/opentelemetry-go/issues/3949)) - Add a `WithNamespace` option to `go.opentelemetry.io/otel/exporters/prometheus` to allow users to prefix metrics with a namespace. ([#&#8203;3970](https://github.com/open-telemetry/opentelemetry-go/issues/3970)) - The following configuration types were added to `go.opentelemetry.io/otel/metric/instrument` to be used in the configuration of measurement methods. ([#&#8203;3971](https://github.com/open-telemetry/opentelemetry-go/issues/3971)) - The `AddConfig` used to hold configuration for addition measurements - `NewAddConfig` used to create a new `AddConfig` - `AddOption` used to configure an `AddConfig` - The `RecordConfig` used to hold configuration for recorded measurements - `NewRecordConfig` used to create a new `RecordConfig` - `RecordOption` used to configure a `RecordConfig` - The `ObserveConfig` used to hold configuration for observed measurements - `NewObserveConfig` used to create a new `ObserveConfig` - `ObserveOption` used to configure an `ObserveConfig` - `WithAttributeSet` and `WithAttributes` are added to `go.opentelemetry.io/otel/metric/instrument`. They return an option used during a measurement that defines the attribute Set associated with the measurement. ([#&#8203;3971](https://github.com/open-telemetry/opentelemetry-go/issues/3971)) - The `Version` function to `go.opentelemetry.io/otel/exporters/otlp/otlpmetric` to return the OTLP metrics client version. ([#&#8203;3956](https://github.com/open-telemetry/opentelemetry-go/issues/3956)) - The `Version` function to `go.opentelemetry.io/otel/exporters/otlp/otlptrace` to return the OTLP trace client version. ([#&#8203;3956](https://github.com/open-telemetry/opentelemetry-go/issues/3956)) ##### Changed - The `Extrema` in `go.opentelemetry.io/otel/sdk/metric/metricdata` is redefined with a generic argument of `[N int64 | float64]`. ([#&#8203;3870](https://github.com/open-telemetry/opentelemetry-go/issues/3870)) - Update all exported interfaces from `go.opentelemetry.io/otel/metric` to embed their corresponding interface from `go.opentelemetry.io/otel/metric/embedded`. This adds an implementation requirement to set the interface default behavior for unimplemented methods. ([#&#8203;3916](https://github.com/open-telemetry/opentelemetry-go/issues/3916)) - Move No-Op implementation from `go.opentelemetry.io/otel/metric` into its own package `go.opentelemetry.io/otel/metric/noop`. ([#&#8203;3941](https://github.com/open-telemetry/opentelemetry-go/issues/3941)) - `metric.NewNoopMeterProvider` is replaced with `noop.NewMeterProvider` - Add all the methods from `"go.opentelemetry.io/otel/trace".SpanContext` to `bridgeSpanContext` by embedding `otel.SpanContext` in `bridgeSpanContext`. ([#&#8203;3966](https://github.com/open-telemetry/opentelemetry-go/issues/3966)) - Wrap `UploadMetrics` error in `go.opentelemetry.io/otel/exporters/otlp/otlpmetric/` to improve error message when encountering generic grpc errors. ([#&#8203;3974](https://github.com/open-telemetry/opentelemetry-go/issues/3974)) - The measurement methods for all instruments in `go.opentelemetry.io/otel/metric/instrument` accept an option instead of the variadic `"go.opentelemetry.io/otel/attribute".KeyValue`. ([#&#8203;3971](https://github.com/open-telemetry/opentelemetry-go/issues/3971)) - The `Int64Counter.Add` method now accepts `...AddOption` - The `Float64Counter.Add` method now accepts `...AddOption` - The `Int64UpDownCounter.Add` method now accepts `...AddOption` - The `Float64UpDownCounter.Add` method now accepts `...AddOption` - The `Int64Histogram.Record` method now accepts `...RecordOption` - The `Float64Histogram.Record` method now accepts `...RecordOption` - The `Int64Observer.Observe` method now accepts `...ObserveOption` - The `Float64Observer.Observe` method now accepts `...ObserveOption` - The `Observer` methods in `go.opentelemetry.io/otel/metric` accept an option instead of the variadic `"go.opentelemetry.io/otel/attribute".KeyValue`. ([#&#8203;3971](https://github.com/open-telemetry/opentelemetry-go/issues/3971)) - The `Observer.ObserveInt64` method now accepts `...ObserveOption` - The `Observer.ObserveFloat64` method now accepts `...ObserveOption` - Move global metric back to `go.opentelemetry.io/otel/metric/global` from `go.opentelemetry.io/otel`. ([#&#8203;3986](https://github.com/open-telemetry/opentelemetry-go/issues/3986)) ##### Fixed - `TracerProvider` allows calling `Tracer()` while it's shutting down. It used to deadlock. ([#&#8203;3924](https://github.com/open-telemetry/opentelemetry-go/issues/3924)) - Use the SDK version for the Telemetry SDK resource detector in `go.opentelemetry.io/otel/sdk/resource`. ([#&#8203;3949](https://github.com/open-telemetry/opentelemetry-go/issues/3949)) - Fix a data race in `SpanProcessor` returned by `NewSimpleSpanProcessor` in `go.opentelemetry.io/otel/sdk/trace`. ([#&#8203;3951](https://github.com/open-telemetry/opentelemetry-go/issues/3951)) - Automatically figure out the default aggregation with `aggregation.Default`. ([#&#8203;3967](https://github.com/open-telemetry/opentelemetry-go/issues/3967)) ##### Deprecated - The `go.opentelemetry.io/otel/metric/instrument` package is deprecated. Use the equivalent types added to `go.opentelemetry.io/otel/metric` instead. ([#&#8203;4018](https://github.com/open-telemetry/opentelemetry-go/issues/4018)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNjAuMCIsInVwZGF0ZWRJblZlciI6IjM0LjE2MC4wIn0=-->
kjuulh force-pushed renovate/opentelemetry-go-monorepo from c843ff42f6 to e2696fcbda 2023-05-02 19:25:32 +02:00 Compare
kjuulh changed title from fix(deps): update opentelemetry-go monorepo to v1.15.0 to fix(deps): update opentelemetry-go monorepo to v1.15.1 2023-05-02 19:25:34 +02:00
kjuulh merged commit e2696fcbda into main 2023-05-02 19:49:52 +02:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: kjuulh/dagger#58
No description provided.