-
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.12.0/v0.35.0 #3623
Merged
Merged
Release v1.12.0/v0.35.0 #3623
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Revert to original version as nothing has changed.
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3623 +/- ##
=======================================
- Coverage 79.7% 79.7% -0.1%
=======================================
Files 171 171
Lines 12673 12673
=======================================
- Hits 10105 10103 -2
- Misses 2355 2357 +2
Partials 213 213
|
MrAlias
requested review from
jmacd,
Aneurysm9,
evantorrie,
XSAM,
dashpole,
MadVikingGod,
pellared,
hanyuancheung and
dmathieu
as code owners
January 28, 2023 17:20
12 tasks
Aneurysm9
approved these changes
Jan 28, 2023
MadVikingGod
approved these changes
Jan 29, 2023
This was referenced Jan 31, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added
WithInt64Callback
option togo.opentelemetry.io/otel/metric/instrument
. This options is used to configureint64
Observer callbacks during their creation. (Add single instrument callback and split metric instrument configuration #3507)WithFloat64Callback
option togo.opentelemetry.io/otel/metric/instrument
. This options is used to configurefloat64
Observer callbacks during their creation. (Add single instrument callback and split metric instrument configuration #3507)Producer
interface andReader.RegisterProducer(Producer)
togo.opentelemetry.io/otel/sdk/metric
. These additions are used to enable external metric Producers. (Add Metric Producer as a new interface, which returns scope metrics #3524)Callback
function type togo.opentelemetry.io/otel/metric
. This new named function type is registered with aMeter
. (Create metric API Callback type #3564)go.opentelemetry.io/otel/semconv/v1.13.0
package. The package contains semantic conventions from thev1.13.0
version of the OpenTelemetry specification. (Add v1.13 semantic conventions #3499)EndUserAttributesFromHTTPRequest
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is merged intoClientRequest
andServerRequest
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.HTTPAttributesFromHTTPStatusCode
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is merged intoClientResponse
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.HTTPClientAttributesFromHTTPRequest
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is replaced byClientRequest
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.HTTPServerAttributesFromHTTPRequest
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is replaced byServerRequest
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.HTTPServerMetricAttributesFromHTTPRequest
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is replaced byServerRequest
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.NetAttributesFromHTTPRequest
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is split intoTransport
ingo.opentelemetry.io/otel/semconv/v1.13.0/netconv
andClientRequest
orServerRequest
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.SpanStatusFromHTTPStatusCode
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is replaced byClientStatus
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.SpanStatusFromHTTPStatusCodeAndSpanKind
function ingo.opentelemetry.io/otel/semconv/v1.12.0
is split intoClientStatus
andServerStatus
ingo.opentelemetry.io/otel/semconv/v1.13.0/httpconv
.Client
function is included ingo.opentelemetry.io/otel/semconv/v1.13.0/netconv
to generate attributes for anet.Conn
.Server
function is included ingo.opentelemetry.io/otel/semconv/v1.13.0/netconv
to generate attributes for anet.Listener
.go.opentelemetry.io/otel/semconv/v1.14.0
package. The package contains semantic conventions from thev1.14.0
version of the OpenTelemetry specification. (Generate semconv/v1.14.0 #3566)go.opentelemetry.io/otel/semconv/v1.15.0
package. The package contains semantic conventions from thev1.15.0
version of the OpenTelemetry specification. (Generate semconv/v1.15.0 #3578)go.opentelemetry.io/otel/semconv/v1.16.0
package. The package contains semantic conventions from thev1.16.0
version of the OpenTelemetry specification. (Generate semconv/v1.16.0 #3579)go.opentelemetry.io/otel/metric/instrument
. These instruments are use as replacements of the depreactedgo.opentelemetry.io/otel/metric/instrument/{asyncfloat64,asyncint64,syncfloat64,syncint64}
packages.(Deprecate the syncint64/syncfloat64/asyncint64/asyncfloat64 packages #3575, Remove the unneeded Observe method from the async instruments #3586)Float64ObservableCounter
replaces theasyncfloat64.Counter
Float64ObservableUpDownCounter
replaces theasyncfloat64.UpDownCounter
Float64ObservableGauge
replaces theasyncfloat64.Gauge
Int64ObservableCounter
replaces theasyncint64.Counter
Int64ObservableUpDownCounter
replaces theasyncint64.UpDownCounter
Int64ObservableGauge
replaces theasyncint64.Gauge
Float64Counter
replaces thesyncfloat64.Counter
Float64UpDownCounter
replaces thesyncfloat64.UpDownCounter
Float64Histogram
replaces thesyncfloat64.Histogram
Int64Counter
replaces thesyncint64.Counter
Int64UpDownCounter
replaces thesyncint64.UpDownCounter
Int64Histogram
replaces thesyncint64.Histogram
NewTracerProvider
togo.opentelemetry.io/otel/bridge/opentracing
. This is used to createWrapperTracer
instances from aTracerProvider
. (bridge/opentracing: introduce NewTracerProvider that wraps TracerProvider instead of Tracer #3116)Extrema
type togo.opentelemetry.io/otel/sdk/metric/metricdata
. This type is used to represent min/max values and still be able to distinguish unset and zero values. (Adds an Attribute assertion to metric data test #3487)go.opentelemetry.io/otel/semconv/v1.17.0
package. The package contains semantic conventions from thev1.17.0
version of the OpenTelemetry specification. (Generate the semconv/v1.17.0 package #3599)Changed
github.com/go-logr/logr
as the logging interface, and add theWithLogr
option. (Exporter:WithLogger
uses thegithub.com/go-logr/logr
interface to replace the standard library logger #3497, feat(exporter): Jaeger and Zipkin exporter uselogr
as the logging interface #3500)go.opentelemetry.io/otel/metric/instrument
is split into specific options and confguration based on the instrument type. (Add single instrument callback and split metric instrument configuration #3507)Int64Option
type to configure instruments fromgo.opentelemetry.io/otel/metric/instrument/syncint64
.Float64Option
type to configure instruments fromgo.opentelemetry.io/otel/metric/instrument/syncfloat64
.Int64ObserverOption
type to configure instruments fromgo.opentelemetry.io/otel/metric/instrument/asyncint64
.Float64ObserverOption
type to configure instruments fromgo.opentelemetry.io/otel/metric/instrument/asyncfloat64
.Registration
from theRegisterCallback
method of aMeter
in thego.opentelemetry.io/otel/metric
package. ThisRegistration
can be used to unregister callbacks. (Allow multi-instrument callbacks to be unregistered #3522)NewMetricProducer
togo.opentelemetry.io/otel/bridge/opencensus
, which can be used to pass OpenCensus metrics to an OpenTelemetry Reader. (Update OpenCensus metric bridge to use the metric.Producer interface #3541)Shutdown
method of the"go.opentelemetry.io/otel/sdk/trace".TracerProvider
releases all computational resources when called the first time. (TracerProvider shutdown release resources #3551)Sampler
returned fromTraceIDRatioBased
go.opentelemetry.io/otel/sdk/trace
now uses the rightmost bits for sampling decisions. This fixes random sampling when using ID generators likexray.IDGenerator
and increasing parity with other language implementations. (traceIDRatioSampler: use rightmost bits #3557)go.opentelemetry.io/otel/exporters/otlp/otlptrace
exporters are wrapped in erros identifying their signal name. Existing users of the exporters attempting to identify specific errors will need to useerrors.Unwrap()
to get the underlying error. (OTLP traces export errors use a consistent error message prefix #3516)go.opentelemetry.io/otel/exporters/otlp
will print the final retryable error message when attempts to retry time out. (OTLP exporter: Let final retry error include last retryable error message #3514)go.opentelemetry.io/otel/sdk/metric
are updated to match the API. (Rename metric SDK instrument kind to match API #3562)InstrumentKindSyncCounter
is renamed toInstrumentKindCounter
InstrumentKindSyncUpDownCounter
is renamed toInstrumentKindUpDownCounter
InstrumentKindSyncHistogram
is renamed toInstrumentKindHistogram
InstrumentKindAsyncCounter
is renamed toInstrumentKindObservableCounter
InstrumentKindAsyncUpDownCounter
is renamed toInstrumentKindObservableUpDownCounter
InstrumentKindAsyncGauge
is renamed toInstrumentKindObservableGauge
RegisterCallback
method of theMeter
ingo.opentelemetry.io/otel/metric
changed.Callback
replaces the inline function parameter. (Create metric API Callback type #3564)Callback
is required to return an error. (Have multi-instrument callback return an error #3576)Callback
accepts the addedObserver
parameter added. This new parameter is used byCallback
implementations to observe values for asynchronous instruments instead of calling theObserve
method of the instrument directly. (Redesign RegisterCallback API #3584)instrument.Asynchronous
is now passed as a variadic argument. (Restructure RegisterCallback method #3587)go.opentelemetry.io/otel/exporters/zipkin
is updated to use thev1.16.0
version of semantic conventions. This means it no longer uses the removednet.peer.ip
orhttp.host
attributes to determine the remote endpoint. Instead it uses thenet.sock.peer
attributes. (Upgrade all semconv dependencies to v1.16.0 #3581)Min
andMax
fields of theHistogramDataPoint
ingo.opentelemetry.io/otel/sdk/metric/metricdata
are now defined with the addedExtrema
type instead of a*float64
. (Adds an Attribute assertion to metric data test #3487)Fixed
RegisterCallback
method of theMeter
fromgo.opentelemetry.io/otel/sdk/metric
only registers a callback for instruments created by that meter. Trying to register a callback with instruments from a different meter will result in an error being returned. (Redesign RegisterCallback API #3584)Deprecated
NewMetricExporter
ingo.opentelemetry.io/otel/bridge/opencensus
is deprecated. UseNewMetricProducer
instead. (Update OpenCensus metric bridge to use the metric.Producer interface #3541)go.opentelemetry.io/otel/metric/instrument/asyncfloat64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (Deprecate the syncint64/syncfloat64/asyncint64/asyncfloat64 packages #3575)go.opentelemetry.io/otel/metric/instrument/asyncint64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (Deprecate the syncint64/syncfloat64/asyncint64/asyncfloat64 packages #3575)go.opentelemetry.io/otel/metric/instrument/syncfloat64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (Deprecate the syncint64/syncfloat64/asyncint64/asyncfloat64 packages #3575)go.opentelemetry.io/otel/metric/instrument/syncint64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (Deprecate the syncint64/syncfloat64/asyncint64/asyncfloat64 packages #3575)NewWrappedTracerProvider
ingo.opentelemetry.io/otel/bridge/opentracing
is now deprecated. UseNewTracerProvider
instead. (bridge/opentracing: introduce NewTracerProvider that wraps TracerProvider instead of Tracer #3116)Removed
go.opentelemetry.io/otel/sdk/metric/view
package is removed. (Remove the deprecated view package #3520)InstrumentProvider
fromgo.opentelemetry.io/otel/sdk/metric/asyncint64
is removed. Use the new creation methods of theMeter
ingo.opentelemetry.io/otel/sdk/metric
instead. (Remove metric instrument provider API #3530)Counter
method is replaced byMeter.Int64ObservableCounter
UpDownCounter
method is replaced byMeter.Int64ObservableUpDownCounter
Gauge
method is replaced byMeter.Int64ObservableGauge
InstrumentProvider
fromgo.opentelemetry.io/otel/sdk/metric/asyncfloat64
is removed. Use the new creation methods of theMeter
ingo.opentelemetry.io/otel/sdk/metric
instead. (Remove metric instrument provider API #3530)Counter
method is replaced byMeter.Float64ObservableCounter
UpDownCounter
method is replaced byMeter.Float64ObservableUpDownCounter
Gauge
method is replaced byMeter.Float64ObservableGauge
InstrumentProvider
fromgo.opentelemetry.io/otel/sdk/metric/syncint64
is removed. Use the new creation methods of theMeter
ingo.opentelemetry.io/otel/sdk/metric
instead. (Remove metric instrument provider API #3530)Counter
method is replaced byMeter.Int64Counter
UpDownCounter
method is replaced byMeter.Int64UpDownCounter
Histogram
method is replaced byMeter.Int64Histogram
InstrumentProvider
fromgo.opentelemetry.io/otel/sdk/metric/syncfloat64
is removed. Use the new creation methods of theMeter
ingo.opentelemetry.io/otel/sdk/metric
instead. (Remove metric instrument provider API #3530)Counter
method is replaced byMeter.Float64Counter
UpDownCounter
method is replaced byMeter.Float64UpDownCounter
Histogram
method is replaced byMeter.Float64Histogram