Remove unused imports from sdk/resource/host_id_bsd.go which caused build failures. (#4040, #4041)
[1.15.0/0.38.0] 2023-04-27
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)
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/trace from 1.14.0 to 1.15.1.
Changelog
Sourced from go.opentelemetry.io/otel/trace's changelog.
... (truncated)
Commits
fc96138
Release v1.15.1/v0.38.1 (#4046)dde1930
Remove unused imports in host_id_bsd.go (#4041)7c55250
Bump benchmark-action/github-action-benchmark from 1.15.0 to 1.17.0 (#4042)8e76ab2
Release v1.15.0/v0.38.0 (#4035)180b355
Move readFile and execCommand to seperate files (#4015)15d6ba2
Unify metric API into the oneotel/metric
package (#4018)94f6c4f
Fix broken link (#4034)86f3258
Added methods for SpanID and TraceID on bridgeSpanContext (#3966)6acade8
[chore] dependabot updates Sun Apr 23 14:49:00 UTC 2023 (#4031)4986b7e
Bump codecov/codecov-action from 3.1.1 to 3.1.3 (#4029)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)