The WithViewOption is added to the go.opentelemetry.io/otel/sdk/metric package.
This option is used to configure the view(s) a MeterProvider will use for all Readers that are registered with it. (#3387)
Add Instrumentation Scope and Version as info metric and label in Prometheus exporter.
This can be disabled using the WithoutScopeInfo() option added to that package.(#3273, #3357)
The View type and related NewView function to create a view according to the OpenTelemetry specification are added to go.opentelemetry.io/otel/sdk/metric.
These additions are replacements for the View type and New function from go.opentelemetry.io/otel/sdk/metric/view. (#3459)
The Instrument and InstrumentKind type are added to go.opentelemetry.io/otel/sdk/metric.
These additions are replacements for the Instrument and InstrumentKind types from go.opentelemetry.io/otel/sdk/metric/view. (#3459)
The Stream type is added to go.opentelemetry.io/otel/sdk/metric to define a metric data stream a view will produce. (#3459)
The AssertHasAttributes allows instrument authors to test that datapoints returned have appropriate attributes. (#3487)
Changed
The "go.opentelemetry.io/otel/sdk/metric".WithReader option no longer accepts views to associate with the Reader.
Instead, views are now registered directly with the MeterProvider via the new WithView option.
The views registered with the MeterProvider apply to all Readers. (#3387)
The Temporality(view.InstrumentKind) metricdata.Temporality and Aggregation(view.InstrumentKind) aggregation.Aggregation methods are added to the "go.opentelemetry.io/otel/sdk/metric".Exporter interface. (#3260)
The Temporality(view.InstrumentKind) metricdata.Temporality and Aggregation(view.InstrumentKind) aggregation.Aggregation methods are added to the "go.opentelemetry.io/otel/exporters/otlp/otlpmetric".Client interface. (#3260)
The WithTemporalitySelector and WithAggregationSelectorReaderOptions have been changed to ManualReaderOptions in the go.opentelemetry.io/otel/sdk/metric package. (#3260)
The periodic reader in the go.opentelemetry.io/otel/sdk/metric package now uses the temporality and aggregation selectors from its configured exporter instead of accepting them as options. (#3260)
Fixed
The go.opentelemetry.io/otel/exporters/prometheus exporter fixes duplicated _total suffixes. (#3369)
Remove comparable requirement for Readers. (#3387)
Cumulative metrics from the OpenCensus bridge (go.opentelemetry.io/otel/bridge/opencensus) are defined as monotonic sums, instead of non-monotonic. (#3389)
Asynchronous counters (Counter and UpDownCounter) from the metric SDK now produce delta sums when configured with delta temporality. (#3398)
Exported Status codes in the go.opentelemetry.io/otel/exporters/zipkin exporter are now exported as all upper case values. (#3340)
Aggregations from go.opentelemetry.io/otel/sdk/metric with no data are not exported. (#3394, #3436)
Reenabled Attribute Filters in the Metric SDK. (#3396)
Asynchronous callbacks are only called if they are registered with at least one instrument that does not use drop aggragation. (#3408)
Do not report empty partial-success responses in the go.opentelemetry.io/otel/exporters/otlp exporters. (#3438, #3432)
Handle partial success responses in go.opentelemetry.io/otel/exporters/otlp/otlpmetric exporters. (#3162, #3440)
Prevent duplicate Prometheus description, unit, and type. (#3469)
Prevents panic when using incorrect attribute.Value.As[Type]Slice(). (#3489)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps go.opentelemetry.io/otel/sdk from 1.7.0 to 1.11.2.
Release notes
Sourced from go.opentelemetry.io/otel/sdk's releases.
Changelog
Sourced from go.opentelemetry.io/otel/sdk's changelog.
... (truncated)
Commits
bc5cf7e
Release v1.11.2/v0.34.0 (#3512)2243431
Signed-off-by: Ziqi Zhao <zhaoziqi9146@gmail.com> (#3469)e97704c
Fix a typo in the manual reader (#3509)a436ae7
Bump github.com/Masterminds/semver/v3 from 3.1.1 to 3.2.0 in /schema (#3511)69ad652
change jaeger tag version in otel-collector (#3495)291aaa0
Redefine gauge in Prometheus example to be a Gauge (#3498)289a612
Adds an Attribute assertion to metric data test (#3487)aa868d5
Clarify HTTP/gRPC exporter examples (#3492)d7b3115
Make the AsType functions not panic (#3489)1f5e6ad
Update the usage of set-output command in GH actions (#3485)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)