Update module go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp to v1.17.0 #8
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.
This PR contains the following updates:
v1.11.1
->v1.17.0
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp)
v1.17.0
: /v0.40.0/v0.5.0Compare Source
Added
ManualReader
struct ingo.opentelemetry.io/otel/sdk/metric
. (#4244)PeriodicReader
struct ingo.opentelemetry.io/otel/sdk/metric
. (#4244)A histogram can be configured as an exponential histogram using a view with
"go.opentelemetry.io/otel/sdk/metric".ExponentialHistogram
as the aggregation. (#4245)Exporter
struct ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#4272)Exporter
struct ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4272)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
now support theOTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE
environment variable. (#4287)WithoutCounterSuffixes
option ingo.opentelemetry.io/otel/exporters/prometheus
to disable addition of_total
suffixes. (#4306)go.opentelemetry.io/otel/sdk/metric
. (#4315)go.opentelemetry.io/otel/semconv/v1.21.0
package.The package contains semantic conventions from the
v1.21.0
version of the OpenTelemetry Semantic Conventions. (#4362)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
andgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#4365)Temporality
andAggregation
methods of the"go.opentelemetry.io/otel/sdk/metric".Exporter"
need to be concurrent safe. (#4381)go.opentelemetry.op/otel/exporters/prometheus
(#4374)Aggregation
interface and its implementations fromgo.opentelemetry.io/otel/sdk/metric/aggregation
togo.opentelemetry.io/otel/sdk/metric
. (#4435)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
now support theOTEL_EXPORTER_OTLP_METRICS_DEFAULT_HISTOGRAM_AGGREGATION
environment variable. (#4437)NewAllowKeysFilter
andNewDenyKeysFilter
functions togo.opentelemetry.io/otel/attribute
to allow convenient creation of allow-keys and deny-keys filters. (#4444)Changed
v1.21.0
of semantic conventions,go.opentelemetry.io/otel/semconv/{version}/httpconv
andgo.opentelemetry.io/otel/semconv/{version}/netconv
packages will no longer be published. (#4145)go.opentelemetry.io/otel/sdk/metric
. (#4202)go.opentelemetry.io/otel/sdk/metric
if their name doesn't pass regexp validation. (#4210)NewManualReader
ingo.opentelemetry.io/otel/sdk/metric
returns*ManualReader
instead ofReader
. (#4244)NewPeriodicReader
ingo.opentelemetry.io/otel/sdk/metric
returns*PeriodicReader
instead ofReader
. (#4244)PeriodicReader
timeout ingo.opentelemetry.io/otel/sdk/metric
. (#4221)New
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
returns*Exporter
instead of"go.opentelemetry.io/otel/sdk/metric".Exporter
. (#4272)New
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
returns*Exporter
instead of"go.opentelemetry.io/otel/sdk/metric".Exporter
. (#4272)go.opentelemetry.io/otel/sdk/metric
. (#4290)go.opentelemetry.io/otel/sdk/metric
, the values will be summed instead of the last observation winning. (#4289)go.opentelemetry.io/otel/sdk/metric
package. (#4332)Meter
s ingo.opentelemetry.io/otel/sdk/metric
to only register and collect instruments it created. (#4333)PeriodicReader.Shutdown
andPeriodicReader.ForceFlush
ingo.opentelemetry.io/otel/sdk/metric
now apply the periodic reader's timeout to the operation if the user provided context does not contain a deadline. (#4356, #4377)go.opentelemetry.io/otel/semconv
to usev1.21.0
. (#4408)go.opentelemetry.io/otel/sdk/metric
. (#4434)go.opentelemetry.op/otel/sdk/metric.WithProducer
as anOption
for"go.opentelemetry.io/otel/sdk/metric".NewManualReader
and"go.opentelemetry.io/otel/sdk/metric".NewPeriodicReader
. (#4346)Removed
Reader.RegisterProducer
ingo.opentelemetry.io/otel/metric
.Use the added
WithProducer
option instead. (#4346)Reader.ForceFlush
ingo.opentelemetry.io/otel/metric
.Notice that
PeriodicReader.ForceFlush
is still available. (#4375)Fixed
go.opentelemetry.io/otel/exporters/zipkin
exporter. (#4143)NewView
ingo.opentelemetry.io/otel/sdk/metric
that have empty criteria. (#4307)"go.opentelemetry.io/otel/sdk/resource".WithHostID()
to not set an emptyhost.id
. (#4317)go.opentelemetry.io/otel/sdk/metric
. (#4337)go.opentelemetry.io/otel/sdk/metric
. (#4338)ManualReader
will not panic ifAggregationSelector
returnsnil
ingo.opentelemetry.io/otel/sdk/metric
. (#4350)Reader
'sAggregationSelector
returnsnil
orDefaultAggregation
the pipeline will use the default aggregation. (#4350)go.opentelemetry.io/otel/sdk/metric
. (#4349)go.opentelemetry.io/otel/sdk/trace
. (#4353)ForceFlush
ingo.opentelemetry.io/otel/sdk/trace
. (#4369)go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal
fromgo.opentelemetry.io/otel/exporters/otlp/internal
using gotmpl. (#4397, #3846)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/internal
fromgo.opentelemetry.io/otel/exporters/otlp/internal
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal
using gotmpl. (#4404, #3846)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/internal
fromgo.opentelemetry.io/otel/exporters/otlp/internal
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal
using gotmpl. (#4407, #3846)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal
fromgo.opentelemetry.io/otel/exporters/otlp/internal
andgo.opentelemetry.io/otel/exporters/otlp/otlptrace/internal
using gotmpl. (#4400, #3846)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal
fromgo.opentelemetry.io/otel/exporters/otlp/internal
andgo.opentelemetry.io/otel/exporters/otlp/otlptrace/internal
using gotmpl. (#4401, #3846)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
andgo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#3925, #4395)_total
if the counter already has that suffix for the Prometheus exproter ingo.opentelemetry.io/otel/exporter/prometheus
. (#4373)go.opentelemetry.io/otel/sdk/resource
. (#4409)go.opentelemetry.io/otel/sdk/metric
. (#4428)Deprecated
go.opentelemetry.io/otel/exporters/jaeger
package is deprecated.OpenTelemetry dropped support for Jaeger exporter in July 2023.
Use
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
or
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
instead. (#4423)go.opentelemetry.io/otel/example/jaeger
package is deprecated. (#4423)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal
package is deprecated. (#4420)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/oconf
package is deprecated. (#4420)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/otest
package is deprecated. (#4420)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/internal/transform
package is deprecated. (#4420)go.opentelemetry.io/otel/exporters/otlp/internal
package is deprecated. (#4421)go.opentelemetry.io/otel/exporters/otlp/internal/envconfig
package is deprecated. (#4421)go.opentelemetry.io/otel/exporters/otlp/internal/retry
package is deprecated. (#4421)go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal
package is deprecated. (#4425)go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/envconfig
package is deprecated. (#4425)go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig
package is deprecated. (#4425)go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlptracetest
package is deprecated. (#4425)go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/retry
package is deprecated. (#4425)go.opentelemetry.io/otel/sdk/metric/aggregation
package is deprecated.Use the aggregation types added to
go.opentelemetry.io/otel/sdk/metric
instead. (#4435)New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.16.0...v1.17.0
v1.16.0
: /v0.39.0 -- Stable Metric APICompare Source
This release contains the first stable release of the OpenTelemetry Go metric API. Our project stability guarantees now apply to the
go.opentelemetry.io/otel/metric
package. See our versioning policy for more information about these stability guarantees.What's Changed
Added
go.opentelemetry.io/otel/semconv/v1.19.0
package. The package contains semantic conventions from thev1.19.0
version of the OpenTelemetry specification. (#3848)go.opentelemetry.io/otel/semconv/v1.20.0
package. The package contains semantic conventions from thev1.20.0
version of the OpenTelemetry specification. (#4078)Changed
strings.Cut()
instead ofstring.SplitN()
for better readability and memory use. (#4049)Removed
go.opentelemetry.io/otel/metric/instrument
package is removed. Usego.opentelemetry.io/otel/metric
instead. (#4055)Fixed
go.opentelemetry.io/otel/sdk/resource
. (#4077)New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.15.1...v1.16.0
v1.15.1
: /v0.38.1Compare Source
What's Changed
Fixed
sdk/resource/host_id_bsd.go
which caused build failures. (#4040, #4041)New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.15.0...v1.15.1
v1.15.0
: /v0.38.0Compare Source
Added
go.opentelemetry.io/otel/metric/embedded
package. (#3916)Version
function togo.opentelemetry.io/otel/sdk
to return the SDK version. (#3949)WithNamespace
option togo.opentelemetry.io/otel/exporters/prometheus
to allow users to prefix metrics with a namespace. (#3970)go.opentelemetry.io/otel/metric/instrument
to be used in the configuration of measurement methods. (#3971)AddConfig
used to hold configuration for addition measurementsNewAddConfig
used to create a newAddConfig
AddOption
used to configure anAddConfig
RecordConfig
used to hold configuration for recorded measurementsNewRecordConfig
used to create a newRecordConfig
RecordOption
used to configure aRecordConfig
ObserveConfig
used to hold configuration for observed measurementsNewObserveConfig
used to create a newObserveConfig
ObserveOption
used to configure anObserveConfig
WithAttributeSet
andWithAttributes
are added togo.opentelemetry.io/otel/metric/instrument
. They return an option used during a measurement that defines the attribute Set associated with the measurement. (#3971)Version
function togo.opentelemetry.io/otel/exporters/otlp/otlpmetric
to return the OTLP metrics client version. (#3956)Version
function togo.opentelemetry.io/otel/exporters/otlp/otlptrace
to return the OTLP trace client version. (#3956)Changed
Extrema
ingo.opentelemetry.io/otel/sdk/metric/metricdata
is redefined with a generic argument of[N int64 | float64]
. (#3870)go.opentelemetry.io/otel/metric
to embed their corresponding interface fromgo.opentelemetry.io/otel/metric/embedded
. This adds an implementation requirement to set the interface default behavior for unimplemented methods. (#3916)go.opentelemetry.io/otel/metric
into its own packagego.opentelemetry.io/otel/metric/noop
. (#3941)metric.NewNoopMeterProvider
is replaced withnoop.NewMeterProvider
"go.opentelemetry.io/otel/trace".SpanContext
tobridgeSpanContext
by embeddingotel.SpanContext
inbridgeSpanContext
. (#3966)UploadMetrics
error ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/
to improve error message when encountering generic grpc errors. (#3974)go.opentelemetry.io/otel/metric/instrument
accept an option instead of the variadic"go.opentelemetry.io/otel/attribute".KeyValue
. (#3971)Int64Counter.Add
method now accepts...AddOption
Float64Counter.Add
method now accepts...AddOption
Int64UpDownCounter.Add
method now accepts...AddOption
Float64UpDownCounter.Add
method now accepts...AddOption
Int64Histogram.Record
method now accepts...RecordOption
Float64Histogram.Record
method now accepts...RecordOption
Int64Observer.Observe
method now accepts...ObserveOption
Float64Observer.Observe
method now accepts...ObserveOption
Observer
methods ingo.opentelemetry.io/otel/metric
accept an option instead of the variadic"go.opentelemetry.io/otel/attribute".KeyValue
. (#3971)Observer.ObserveInt64
method now accepts...ObserveOption
Observer.ObserveFloat64
method now accepts...ObserveOption
go.opentelemetry.io/otel/metric/global
fromgo.opentelemetry.io/otel
. (#3986)Fixed
TracerProvider
allows callingTracer()
while it's shutting down. It used to deadlock. (#3924)go.opentelemetry.io/otel/sdk/resource
. (#3949)SpanProcessor
returned byNewSimpleSpanProcessor
ingo.opentelemetry.io/otel/sdk/trace
. (#3951)aggregation.Default
. (#3967)Deprecated
go.opentelemetry.io/otel/metric/instrument
package is deprecated. Use the equivalent types added togo.opentelemetry.io/otel/metric
instead. (#4018)v1.14.0
: /v0.37.0/v0.0.4Compare Source
Part of https://github.com/open-telemetry/opentelemetry-go/issues/3809
This release is the last to support Go 1.18.
The next release will require at least Go 1.19.
Added
event
type semantic conventions are added togo.opentelemetry.io/otel/semconv/v1.17.0
. (#3697)go.opentelemetry.io/otel/semconv/v1.18.0
package.The package contains semantic conventions from the
v1.18.0
version of the OpenTelemetry specification. (#3719)const
renames fromgo.opentelemetry.io/otel/semconv/v1.17.0
are included:OtelScopeNameKey
->OTelScopeNameKey
OtelScopeVersionKey
->OTelScopeVersionKey
OtelLibraryNameKey
->OTelLibraryNameKey
OtelLibraryVersionKey
->OTelLibraryVersionKey
OtelStatusCodeKey
->OTelStatusCodeKey
OtelStatusDescriptionKey
->OTelStatusDescriptionKey
OtelStatusCodeOk
->OTelStatusCodeOk
OtelStatusCodeError
->OTelStatusCodeError
func
renames fromgo.opentelemetry.io/otel/semconv/v1.17.0
are included:OtelScopeName
->OTelScopeName
OtelScopeVersion
->OTelScopeVersion
OtelLibraryName
->OTelLibraryName
OtelLibraryVersion
->OTelLibraryVersion
OtelStatusDescription
->OTelStatusDescription
IsSampled
method is added to theSpanContext
implementation ingo.opentelemetry.io/otel/bridge/opentracing
to expose the span sampled state.See the README for more information. (#3570)
WithInstrumentationAttributes
option togo.opentelemetry.io/otel/metric
. (#3738)WithInstrumentationAttributes
option togo.opentelemetry.io/otel/trace
. (#3739)Reader
ingo.opentelemetry.io/otel/sdk/metric
. (#3763)OTEL_METRIC_EXPORT_INTERVAL
sets the time between collections and exports.OTEL_METRIC_EXPORT_TIMEOUT
sets the timeout an export is attempted.Changed
TextMapCarrier
when it's notHttpHeader
s ingo.opentelemetry.io/otel/bridge/opentracing
. (#3679)Collect
method of the"go.opentelemetry.io/otel/sdk/metric".Reader
interface is updated to accept themetricdata.ResourceMetrics
value the collection will be made into.This change is made to enable memory reuse by SDK users. (#3732)
WithUnit
option ingo.opentelemetry.io/otel/sdk/metric/instrument
is updated to accept astring
for the unit value. (#3776)Fixed
go.opentelemetry.io/otel
does not use generics. (#3723, #3725)MeterProvider
s now export metrics for all readers, instead of just the first reader. (#3720, #3724)"math/rand".Seed
ingo.opentelemetry.io/otel/example/prometheus
. (#3733)Parse
ingo.opentelemetry.io/otel/schema/v1.1
. (#3743)go.opentelemetry.io/otel/sdk/metric
. (#3698, #3772)go.opentelemetry.io/otel/schema/v1.1
. (#3777)Deprecated
go.opentelemetry.io/otel/metric/unit
package is deprecated.Use the equivalent unit string instead. (#3776)
"1"
instead ofunit.Dimensionless
"By"
instead ofunit.Bytes
"ms"
instead ofunit.Milliseconds
v1.13.0
: /v0.36.0Compare Source
1.13.0/0.36.0 2023-02-07
Added
KeyValue
creations functions togo.opentelemetry.io/otel/semconv/v1.17.0
for all non-enum semantic conventions.These functions ensure semantic convention type correctness. (#3675)
Fixed
http.target
attribute from being added byServerRequest
in the following packages. (#3687)go.opentelemetry.io/otel/semconv/v1.13.0/httpconv
go.opentelemetry.io/otel/semconv/v1.14.0/httpconv
go.opentelemetry.io/otel/semconv/v1.15.0/httpconv
go.opentelemetry.io/otel/semconv/v1.16.0/httpconv
go.opentelemetry.io/otel/semconv/v1.17.0/httpconv
Removed
go.opentelemetry.io/otel/metric/instrument/asyncfloat64
package is removed. (#3631)go.opentelemetry.io/otel/metric/instrument/asyncint64
package is removed. (#3631)go.opentelemetry.io/otel/metric/instrument/syncfloat64
package is removed. (#3631)go.opentelemetry.io/otel/metric/instrument/syncint64
package is removed. (#3631)v1.12.0
: /v0.35.0Compare Source
Added
WithInt64Callback
option togo.opentelemetry.io/otel/metric/instrument
. This options is used to configureint64
Observer callbacks during their creation. (#3507)WithFloat64Callback
option togo.opentelemetry.io/otel/metric/instrument
. This options is used to configurefloat64
Observer callbacks during their creation. (#3507)Producer
interface andReader.RegisterProducer(Producer)
togo.opentelemetry.io/otel/sdk/metric
. These additions are used to enable external metric Producers. (#3524)Callback
function type togo.opentelemetry.io/otel/metric
. This new named function type is registered with aMeter
. (#3564)go.opentelemetry.io/otel/semconv/v1.13.0
package. The package contains semantic conventions from thev1.13.0
version of the OpenTelemetry specification. (#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. (#3566)go.opentelemetry.io/otel/semconv/v1.15.0
package. The package contains semantic conventions from thev1.15.0
version of the OpenTelemetry specification. (#3578)go.opentelemetry.io/otel/semconv/v1.16.0
package. The package contains semantic conventions from thev1.16.0
version of the OpenTelemetry specification. (#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.(#3575, #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
. (#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. (#3487)go.opentelemetry.io/otel/semconv/v1.17.0
package. The package contains semantic conventions from thev1.17.0
version of the OpenTelemetry specification. (#3599)Changed
github.com/go-logr/logr
as the logging interface, and add theWithLogr
option. (#3497, #3500)go.opentelemetry.io/otel/metric/instrument
is split into specific options and confguration based on the instrument type. (#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. (#3522)NewMetricProducer
togo.opentelemetry.io/otel/bridge/opencensus
, which can be used to pass OpenCensus metrics to an OpenTelemetry Reader. (#3541)Shutdown
method of the"go.opentelemetry.io/otel/sdk/trace".TracerProvider
releases all computational resources when called the first time. (#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. (#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. (#3516)go.opentelemetry.io/otel/exporters/otlp
will print the final retryable error message when attempts to retry time out. (#3514)go.opentelemetry.io/otel/sdk/metric
are updated to match the 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. (#3564)Callback
is required to 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. (#3584)instrument.Asynchronous
is now passed as a variadic argument. (#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. (#3581)Min
andMax
fields of theHistogramDataPoint
ingo.opentelemetry.io/otel/sdk/metric/metricdata
are now defined with the addedExtrema
type instead of a*float64
. (#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. (#3584)Deprecated
NewMetricExporter
ingo.opentelemetry.io/otel/bridge/opencensus
is deprecated. UseNewMetricProducer
instead. (#3541)go.opentelemetry.io/otel/metric/instrument/asyncfloat64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (#3575)go.opentelemetry.io/otel/metric/instrument/asyncint64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (#3575)go.opentelemetry.io/otel/metric/instrument/syncfloat64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (#3575)go.opentelemetry.io/otel/metric/instrument/syncint64
package is deprecated. Use the instruments fromgo.opentelemetry.io/otel/metric/instrument
instead. (#3575)NewWrappedTracerProvider
ingo.opentelemetry.io/otel/bridge/opentracing
is now deprecated. UseNewTracerProvider
instead. (#3116)Removed
go.opentelemetry.io/otel/sdk/metric/view
package is removed. (#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. (#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. (#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. (#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. (#3530)Counter
method is replaced byMeter.Float64Counter
UpDownCounter
method is replaced byMeter.Float64UpDownCounter
Histogram
method is replaced byMeter.Float64Histogram
v1.11.2
: /0.34.0Compare Source
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. (#3387)This can be disabled using the
WithoutScopeInfo()
option added to that package.(#3273, #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
. (#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
. (#3459)Stream
type is added togo.opentelemetry.io/otel/sdk/metric
to define a metric data stream a view will produce. (#3459)AssertHasAttributes
allows instrument authors to test that datapoints returned have appropriate attributes. (#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. (#3387)Temporality(view.InstrumentKind) metricdata.Temporality
andAggregation(view.InstrumentKind) aggregation.Aggregation
methods are added to the"go.opentelemetry.io/otel/sdk/metric".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. (#3260)WithTemporalitySelector
andWithAggregationSelector
ReaderOption
s have been changed toManualReaderOption
s in thego.opentelemetry.io/otel/sdk/metric
package. (#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. (#3260)Fixed
go.opentelemetry.io/otel/exporters/prometheus
exporter fixes duplicated_total
suffixes. (#3369)Reader
s. (#3387)go.opentelemetry.io/otel/bridge/opencensus
) are defined as monotonic sums, instead of non-monotonic. (#3389)Counter
andUpDownCounter
) from the metric SDK now produce delta sums when configured with delta temporality. (#3398)Status
codes in thego.opentelemetry.io/otel/exporters/zipkin
exporter are now exported as all upper case values. (#3340)Aggregation
s fromgo.opentelemetry.io/otel/sdk/metric
with no data are not exported. (#3394, #3436)go.opentelemetry.io/otel/exporters/otlp
exporters. (#3438, #3432)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
exporters. (#3162, #3440)attribute.Value.As[Type]Slice()
. (#3489)Removed
go.opentelemetry.io/otel/exporters/otlp/otlpmetric.Client
interface is removed. (#3486)go.opentelemetry.io/otel/exporters/otlp/otlpmetric.New
function is removed. Use theotlpmetric[http|grpc].New
directly. (#3486)Deprecated
go.opentelemetry.io/otel/sdk/metric/view
package is deprecated.Use
Instrument
,InstrumentKind
,View
, andNewView
ingo.opentelemetry.io/otel/sdk/metric
instead. (#3476)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.