Skip to content

Commit

Permalink
Add changes to changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Apr 10, 2023
1 parent 9faab86 commit 796b83d
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- 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 `Int64AddConfig` used to hold configuration for `int64` addition measurements
- `NewInt64AddConfig` used to create a new `Int64AddConfig`
- `Int64AddOption` used to configure an `Int64AddConfig`
- The `Float64AddConfig` used to hold configuration for `float64` addition measurements
- `NewFloat64AddConfig` used to create a new `Float64AddConfig`
- `Float64AddOption` used to configure an `Float64AddConfig`
- The `Int64RecordConfig` used to hold configuration for `int64` recorded measurements
- `NewInt64RecordConfig` used to create a new `Int64RecordConfig`
- `Int64RecordOption` used to configure an `Int64RecordConfig`
- The `Float64RecordConfig` used to hold configuration for `float64` recorded measurements
- `NewFloat64RecordConfig` used to create a new `Float64RecordConfig`
- `Float64RecordOption` used to configure an `Float64RecordConfig`
- The `Int64ObserveConfig` used to hold configuration for `int64` observed measurements
- `NewInt64ObserveConfig` used to create a new `Int64ObserveConfig`
- `Int64ObserveOption` used to configure an `Int64ObserveConfig`
- The `Float64ObserveConfig` used to hold configuration for `float64` observed measurements
- `NewFloat64ObserveConfig` used to create a new `Float64ObserveConfig`
- `Float64ObserveOption` used to configure an `Float64ObserveConfig`

### Changed

Expand All @@ -22,6 +41,18 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- 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`
- 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 `...Int64AddOption`
- The `Float64Counter.Add` method now accepts `...Float64AddOption`
- The `Int64UpDownCounter.Add` method now accepts `...Int64AddOption`
- The `Float64UpDownCounter.Add` method now accepts `...Float64AddOption`
- The `Int64Histogram.Record` method now accepts `...Int64RecordOption`
- The `Float64Histogram.Record` method now accepts `...Float64RecordOption`
- The `Int64Observer.Observe` method now accepts `...Int64ObserveOption`
- The `Float64Observer.Observe` method now accepts `...Float64ObserveOption`
- 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 `...Int64ObserveOption`
- The `Observer.ObserveFloat64` method now accepts `...Float64ObserveOption`

### Fixed

Expand Down

0 comments on commit 796b83d

Please sign in to comment.