This repository has been archived by the owner on Dec 21, 2023. It is now read-only.
build(deps): update opentelemetry-go monorepo to v1.21.0 [skip ci] (minor) #605
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.16.0
->v1.21.0
v1.16.0
->v1.21.0
v1.16.0
->v1.21.0
v1.16.0
->v1.21.0
Release Notes
open-telemetry/opentelemetry-go (go.opentelemetry.io/otel)
v1.21.0
: /v0.44.0Compare Source
Removed
go.opentelemetry.io/otel/bridge/opencensus.NewTracer
. (#4706)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
module. (#4707)go.opentelemetry.io/otel/example/view
module. (#4708)go.opentelemetry.io/otel/example/fib
module. (#4723)Fixed
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4719)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#4719)v1.20.0
: /v0.43.0Compare Source
This release brings a breaking change for custom trace API implementations. Some interfaces (
TracerProvider
,Tracer
,Span
) now embed thego.opentelemetry.io/otel/trace/embedded
types. Implementors need to update their implementations based on what they want the default behavior to be. See the "API Implementations" section of the trace API package documentation for more about how to accomplish this.Added
go.opentelemetry.io/otel/bridge/opencensus.InstallTraceBridge
, which installs the OpenCensus trace bridge, and replacesopencensus.NewTracer
. (#4567)go.opentelemetry.io/otel/bridge/opencensus
. (#4584)go.opentelemetry.io/otel/trace/embedded
package to be embedded in the exported trace API interfaces. (#4620)go.opentelemetry.io/otel/trace/noop
package as a default no-op implementation of the trace API. (#4620)go.opentelemetry.io/otel/example/dice
. (#4644)go.opentelemetry.io/otel/example/prometheus
. (#4649)go.opentelemetry.io/otel/metric.WithExplicitBucketBoundaries
, which allows defining default explicit bucket boundaries when creating histogram instruments. (#4603)Version
function ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#4660)Version
function ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4660)go.opentelemetry.io/sdk/metric/metricdata
. (#4622)go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducer
now supports exemplars from OpenCensus. (#4585)WithExplicitBucketBoundaries
ingo.opentelemetry.io/otel/sdk/metric
. (#4605)go.opentelemetry.io/otel/bridge/opencensus
. (#4668)Deprecated
go.opentelemetry.io/otel/bridge/opencensus.NewTracer
in favor ofopencensus.InstallTraceBridge
. (#4567)go.opentelemetry.io/otel/example/fib
package is in favor ofgo.opentelemetry.io/otel/example/dice
. (#4618)go.opentelemetry.io/otel/trace.NewNoopTracerProvider
.Use the added
NewTracerProvider
function ingo.opentelemetry.io/otel/trace/noop
instead. (#4620)go.opentelemetry.io/otel/example/view
package in favor ofgo.opentelemetry.io/otel/example/prometheus
. (#4649)go.opentelemetry.io/otel/exporters/otlp/otlpmetric
. (#4693)Changed
go.opentelemetry.io/otel/bridge/opencensus.NewMetricProducer
returns a*MetricProducer
struct instead of the metric.Producer interface. (#4583)TracerProvider
ingo.opentelemetry.io/otel/trace
now embeds thego.opentelemetry.io/otel/trace/embedded.TracerProvider
type.This extends the
TracerProvider
interface and is is a breaking change for any existing implementation.Implementors need to update their implementations based on what they want the default behavior of the interface to be.
See the "API Implementations" section of the
go.opentelemetry.io/otel/trace
package documentation for more information about how to accomplish this. (#4620)Tracer
ingo.opentelemetry.io/otel/trace
now embeds thego.opentelemetry.io/otel/trace/embedded.Tracer
type.This extends the
Tracer
interface and is is a breaking change for any existing implementation.Implementors need to update their implementations based on what they want the default behavior of the interface to be.
See the "API Implementations" section of the
go.opentelemetry.io/otel/trace
package documentation for more informationabout how to accomplish this. (#4620)Span
ingo.opentelemetry.io/otel/trace
now embeds thego.opentelemetry.io/otel/trace/embedded.Span
type.This extends the
Span
interface and is is a breaking change for any existing implementation.Implementors need to update their implementations based on what they want the default behavior of the interface to be.
See the "API Implementations" section of the
go.opentelemetry.io/otel/trace
package documentation for more information about how to accomplish this. (#4620)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
does no longer depend ongo.opentelemetry.io/otel/exporters/otlp/otlpmetric
. (#4660)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
does no longer depend ongo.opentelemetry.io/otel/exporters/otlp/otlpmetric
. (#4660)502 Bad Gateway
and504 Gateway Timeout
HTTP statuses ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4670)502 Bad Gateway
and504 Gateway Timeout
HTTP statuses ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#4670)RESOURCE_EXHAUSTED
only if RetryInfo is returned ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#4669)RESOURCE_EXHAUSTED
only if RetryInfo is returned ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
. (#4669)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
. (#4679)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
. (#4679)Fixed
+
,/
byParse
ingo.opentelemetry.io/otel/baggage
as they were rendered as a whitespace. (#4667)+
,/
passed viaOTEL_RESOURCE_ATTRIBUTES
ingo.opentelemetry.io/otel/sdk/resource
as they were rendered as a whitespace. (#4699)+
,/
passed viaOTEL_EXPORTER_OTLP_HEADERS
andOTEL_EXPORTER_OTLP_METRICS_HEADERS
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
as they were rendered as a whitespace. (#4699)+
,/
passed viaOTEL_EXPORTER_OTLP_HEADERS
andOTEL_EXPORTER_OTLP_METRICS_HEADERS
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
as they were rendered as a whitespace. (#4699)+
,/
passed viaOTEL_EXPORTER_OTLP_HEADERS
andOTEL_EXPORTER_OTLP_TRACES_HEADERS
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracegrpc
as they were rendered as a whitespace. (#4699)+
,/
passed viaOTEL_EXPORTER_OTLP_HEADERS
andOTEL_EXPORTER_OTLP_TRACES_HEADERS
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlptracehttp
as they were rendered as a whitespace. (#4699)go.opentelemetry.op/otel/exporters/prometheus
, the exporter no longerCollect
s metrics afterShutdown
is invoked. (#4648)WithCompressor
ingo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
. (#4695)WithCompressor
ingo.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
. (#4695)v1.19.0
: /v0.42.0/v0.0.7Compare Source
This release contains the first stable release of the OpenTelemetry Go metric SDK. Our project stability guarantees now apply to the
go.opentelemetry.io/otel/sdk/metric
package. See our versioning policy for more information about these stability guarantees.Added
go.opentelemetry.io/otel/example/dice
. (#4539)WithWriter
andWithPrettyPrint
options togo.opentelemetry.io/otel/exporters/stdout/stdoutmetric
to set a customio.Writer
, and allow displaying the output in human-readable JSON. (#4507)Changed
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
does not prettify its output by default anymore. (#4507)gopkg.io/yaml
fromv2
tov3
ingo.opentelemetry.io/otel/schema
. (#4535)Fixed
go.opentelemetry.op/otel/exporters/prometheus
, don't try to create the Prometheus metric on everyCollect
if we know the scope is invalid. (#4499)Removed
"go.opentelemetry.io/otel/bridge/opencensus".NewMetricExporter
, which is replaced byNewMetricProducer
. (#4566)Full Changelog: open-telemetry/opentelemetry-go@v1.18.0...v1.19.0
v1.18.0
: /v0.41.0/v0.0.6Compare Source
This release drops the compatibility guarantee of Go 1.19.
Added
WithProducer
option ingo.opentelemetry.op/otel/exporters/prometheus
to restore the ability to register producers on the prometheus exporter's manual reader. (#4473)IgnoreValue
option ingo.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest
to allow ignoring values when comparing metrics. (#4447)Deprecated
NewMetricExporter
ingo.opentelemetry.io/otel/bridge/opencensus
was deprecated inv0.35.0
(#3541).The deprecation notice format for the function has been corrected to trigger Go documentation and build tooling. (#4470)
Removed
go.opentelemetry.io/otel/exporters/jaeger
package. (#4467)go.opentelemetry.io/otel/example/jaeger
package. (#4467)go.opentelemetry.io/otel/sdk/metric/aggregation
package. (#4468)go.opentelemetry.io/otel/exporters/otlp
and its sub-packages. (#4469)New Contributors
Full Changelog: open-telemetry/opentelemetry-go@v1.17.0...v1.18.0
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
Configuration
📅 Schedule: Branch creation - "after 10pm every weekday,before 5am every weekday,every weekend" in timezone Europe/Vienna, 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 these updates again.
This PR has been generated by Mend Renovate. View repository job log here.