-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v1.11.2/v0.34.0 #3512
Release v1.11.2/v0.34.0 #3512
Conversation
Signed-off-by: Aaron Clawson <[email protected]>
…ental-metrics_v0.34.0' into mvg/release-2022-12-05 Signed-off-by: Aaron Clawson <[email protected]>
Signed-off-by: Aaron Clawson <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3512 +/- ##
======================================
Coverage ? 78.0%
======================================
Files ? 165
Lines ? 11809
Branches ? 0
======================================
Hits ? 9222
Misses ? 2391
Partials ? 196
|
Co-authored-by: Anthony Mirabella <[email protected]>
How do you rationalize this being a patch version 1.11.2, considering how many new features are released? |
Seems like a new release of https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc to match 1.11.2 and 0.34 must also be published? (latest is currently https://pkg.go.dev/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/[email protected]) My
|
Added
WithView
Option
is added to thego.opentelemetry.io/otel/sdk/metric
package.This option is used to configure the view(s) a
MeterProvider
will use for allReader
s that are registered with it. (Associate views with MeterProvider instead of Reader #3387)This can be disabled using the
WithoutScopeInfo()
option added to that package.(Add Instrumentation Scope and Version as info metric and label in Prometheus exporter #3273, prometheus exporter convert instrumentation scope to otel_scope_info metric #3357)OTEL_EXPORTER_OTLP_INSECURE
OTEL_EXPORTER_OTLP_TRACES_INSECURE
OTEL_EXPORTER_OTLP_METRICS_INSECURE
OTEL_EXPORTER_OTLP_CLIENT_KEY
OTEL_EXPORTER_OTLP_TRACES_CLIENT_KEY
OTEL_EXPORTER_OTLP_METRICS_CLIENT_KEY
OTEL_EXPORTER_OTLP_CLIENT_CERTIFICATE
OTEL_EXPORTER_OTLP_TRACES_CLIENT_CERTIFICATE
OTEL_EXPORTER_OTLP_METRICS_CLIENT_CERTIFICATE
View
type and relatedNewView
function to create a view according to the OpenTelemetry specification are added togo.opentelemetry.io/otel/sdk/metric
.These additions are replacements for the
View
type andNew
function fromgo.opentelemetry.io/otel/sdk/metric/view
. (Add View, NewView, Instrument, Stream, and InstrumentKind to sdk/metric with unit tests #3459)Instrument
andInstrumentKind
type are added togo.opentelemetry.io/otel/sdk/metric
.These additions are replacements for the
Instrument
andInstrumentKind
types fromgo.opentelemetry.io/otel/sdk/metric/view
. (Add View, NewView, Instrument, Stream, and InstrumentKind to sdk/metric with unit tests #3459)Stream
type is added togo.opentelemetry.io/otel/sdk/metric
to define a metric data stream a view will produce. (Add View, NewView, Instrument, Stream, and InstrumentKind to sdk/metric with unit tests #3459)AssertHasAttributes
allows instrument authors to test that datapoints returned have appropriate attributes. (Adds an Attribute assertion to metric data test #3487)Changed
"go.opentelemetry.io/otel/sdk/metric".WithReader
option no longer accepts views to associate with theReader
.Instead, views are now registered directly with the
MeterProvider
via the newWithView
option.The views registered with the
MeterProvider
apply to allReader
s. (Associate views with MeterProvider instead of Reader #3387)Temporality(view.InstrumentKind) metricdata.Temporality
andAggregation(view.InstrumentKind) aggregation.Aggregation
methods are added to the"go.opentelemetry.io/otel/sdk/metric".Exporter
interface. (Move Aggregation/Temporality selection to the Exporter interface #3260)Temporality(view.InstrumentKind) metricdata.Temporality
andAggregation(view.InstrumentKind) aggregation.Aggregation
methods are added to the"go.opentelemetry.io/otel/exporters/otlp/otlpmetric".Client
interface. (Move Aggregation/Temporality selection to the Exporter interface #3260)WithTemporalitySelector
andWithAggregationSelector
ReaderOption
s have been changed toManualReaderOption
s in thego.opentelemetry.io/otel/sdk/metric
package. (Move Aggregation/Temporality selection to the Exporter interface #3260)go.opentelemetry.io/otel/sdk/metric
package now uses the temporality and aggregation selectors from its configured exporter instead of accepting them as options. (Move Aggregation/Temporality selection to the Exporter interface #3260)Fixed
go.opentelemetry.io/otel/exporters/prometheus
exporter fixes duplicated_total
suffixes. (Fix prometheus name duplicate _total suffix #3369)Reader
s. (Associate views with MeterProvider instead of Reader #3387)go.opentelemetry.io/otel/bridge/opencensus
) are defined as monotonic sums, instead of non-monotonic. (Set IsMonotonic to true for opencensus sum #3389)Counter
andUpDownCounter
) from the metric SDK now produce delta sums when configured with delta temporality. (Calculate delta sums for delta async counter/up-down-counter types #3398)Status
codes in thego.opentelemetry.io/otel/exporters/zipkin
exporter are now exported as all upper case values. (fix wrong representation of status value in zipkin exporter #3340)Aggregation
s fromgo.opentelemetry.io/otel/sdk/metric
with no data are not exported. ( Exporter version 0.32.0 and higher is not compatible with opentelemetry-collector-contrib #3394, Do not export aggregations without any data points #3436)go.opentelemetry.io/otel/exporters/otlp
exporters. (Do not handle empty partial OTLP successes #3438, Extraneous Partial Success Error Message Exporting Traces to OTel Collector #3432)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
exporters. (Partial-success responses for OTLP metrics #3162, Handle partial success response from OTLP server in otlpmetric exporters #3440)attribute.Value.As[Type]Slice()
. (Make the AsType functions not panic #3489)Removed
go.opentelemetry.io/otel/exporters/otlp/otlpmetric.Client
interface is removed. (Move otlpmetricsClient
to an internal package. #3486)go.opentelemetry.io/otel/exporters/otlp/otlpmetric.New
function is removed. Use theotlpmetric[http|grpc].New
directly. (Move otlpmetricsClient
to an internal package. #3486)Deprecated
go.opentelemetry.io/otel/sdk/metric/view
package is deprecated.Use
Instrument
,InstrumentKind
,View
, andNewView
ingo.opentelemetry.io/otel/sdk/metric
instead. (Deprecate the sdk/metric/view package #3476)