Support Go 1.19. (#3077)
Include compatibility testing and document support. (#3077)
Support the OTLP ExportTracePartialSuccess response; these are passed to the registered error handler. (#3106)
Upgrade go.opentelemetry.io/proto/otlp from v0.18.0 to v0.19.0 (#3107)
Changed
Fix misidentification of OpenTelemetry SpanKind in OpenTracing bridge (go.opentelemetry.io/otel/bridge/opentracing). (#3096)
Attempting to start a span with a nil context will no longer cause a panic. (#3110)
All exporters will be shutdown even if one reports an error (#3091)
Ensure valid UTF-8 when truncating over-length attribute values. (#3156)
Release v1.6.3
Fixed
Allow non-comparable global MeterProvider, TracerProvider, and TextMapPropagator types to be set. (#2772, #2773)
Release v1.6.2
1.6.2 - 2022-04-06
Changed
Don't panic anymore when setting a global TracerProvider or TextMapPropagator to itself. (#2749)
Upgrade go.opentelemetry.io/proto/otlp in go.opentelemetry.io/otel/exporters/otlp/otlptrace from v0.12.1 to v0.15.0.
This replaces the use of the now deprecated InstrumentationLibrary and InstrumentationLibrarySpans types and fields in the proto library with the equivalent InstrumentationScope and ScopeSpans. (#2748)
Release v1.6.1
Fixed
The go.opentelemetry.io/otel/schema/* packages now use the correct schema URL for their SchemaURL constant. Instead of using "https://opentelemetry.io/schemas/v<version>" they now use the correct URL without a v prefix, "https://opentelemetry.io/schemas/<version>". (#2743, #2744)
Security
Upgrade go.opentelemetry.io/proto/otlp from v0.12.0 to v0.12.1. This includes an indirect upgrade of github.com/grpc-ecosystem/grpc-gateway which resolves a vulnerability from gopkg.in/yaml.v2 in version v2.2.3. (#2724, #2728)
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)
Jaeger and Zipkin exporter use github.com/go-logr/logr as the logging interface, and add the WithLogr option. (#3497, #3500)
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/trace from 1.6.0 to 1.11.2.
Release notes
Sourced from go.opentelemetry.io/otel/trace's releases.
Changelog
Sourced from go.opentelemetry.io/otel/trace'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)