Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

fix(deps): update opentelemetry-go monorepo to v1.12.0 #315

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Feb 14, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go.opentelemetry.io/otel require minor v1.3.0 -> v1.12.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc require minor v1.3.0 -> v1.12.0
go.opentelemetry.io/otel/sdk require minor v1.3.0 -> v1.12.0
go.opentelemetry.io/otel/trace require minor v1.3.0 -> v1.12.0

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.


Release Notes

open-telemetry/opentelemetry-go

v1.12.0: /v0.35.0

Compare Source

Added
  • The WithInt64Callback option to go.opentelemetry.io/otel/metric/instrument. This options is used to configure int64 Observer callbacks during their creation. (#​3507)
  • The WithFloat64Callback option to go.opentelemetry.io/otel/metric/instrument. This options is used to configure float64 Observer callbacks during their creation. (#​3507)
  • The Producer interface and Reader.RegisterProducer(Producer) to go.opentelemetry.io/otel/sdk/metric. These additions are used to enable external metric Producers. (#​3524)
  • The Callback function type to go.opentelemetry.io/otel/metric. This new named function type is registered with a Meter. (#​3564)
  • The go.opentelemetry.io/otel/semconv/v1.13.0 package. The package contains semantic conventions from the v1.13.0 version of the OpenTelemetry specification. (#​3499)
    • The EndUserAttributesFromHTTPRequest function in go.opentelemetry.io/otel/semconv/v1.12.0 is merged into ClientRequest and ServerRequest in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The HTTPAttributesFromHTTPStatusCode function in go.opentelemetry.io/otel/semconv/v1.12.0 is merged into ClientResponse in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The HTTPClientAttributesFromHTTPRequest function in go.opentelemetry.io/otel/semconv/v1.12.0 is replaced by ClientRequest in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The HTTPServerAttributesFromHTTPRequest function in go.opentelemetry.io/otel/semconv/v1.12.0 is replaced by ServerRequest in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The HTTPServerMetricAttributesFromHTTPRequest function in go.opentelemetry.io/otel/semconv/v1.12.0 is replaced by ServerRequest in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The NetAttributesFromHTTPRequest function in go.opentelemetry.io/otel/semconv/v1.12.0 is split into Transport in go.opentelemetry.io/otel/semconv/v1.13.0/netconv and ClientRequest or ServerRequest in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The SpanStatusFromHTTPStatusCode function in go.opentelemetry.io/otel/semconv/v1.12.0 is replaced by ClientStatus in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The SpanStatusFromHTTPStatusCodeAndSpanKind function in go.opentelemetry.io/otel/semconv/v1.12.0 is split into ClientStatus and ServerStatus in go.opentelemetry.io/otel/semconv/v1.13.0/httpconv.
    • The Client function is included in go.opentelemetry.io/otel/semconv/v1.13.0/netconv to generate attributes for a net.Conn.
    • The Server function is included in go.opentelemetry.io/otel/semconv/v1.13.0/netconv to generate attributes for a net.Listener.
  • The go.opentelemetry.io/otel/semconv/v1.14.0 package. The package contains semantic conventions from the v1.14.0 version of the OpenTelemetry specification. (#​3566)
  • The go.opentelemetry.io/otel/semconv/v1.15.0 package. The package contains semantic conventions from the v1.15.0 version of the OpenTelemetry specification. (#​3578)
  • The go.opentelemetry.io/otel/semconv/v1.16.0 package. The package contains semantic conventions from the v1.16.0 version of the OpenTelemetry specification. (#​3579)
  • Metric instruments to go.opentelemetry.io/otel/metric/instrument. These instruments are use as replacements of the depreacted go.opentelemetry.io/otel/metric/instrument/{asyncfloat64,asyncint64,syncfloat64,syncint64} packages.(#​3575, #​3586)
    • Float64ObservableCounter replaces the asyncfloat64.Counter
    • Float64ObservableUpDownCounter replaces the asyncfloat64.UpDownCounter
    • Float64ObservableGauge replaces the asyncfloat64.Gauge
    • Int64ObservableCounter replaces the asyncint64.Counter
    • Int64ObservableUpDownCounter replaces the asyncint64.UpDownCounter
    • Int64ObservableGauge replaces the asyncint64.Gauge
    • Float64Counter replaces the syncfloat64.Counter
    • Float64UpDownCounter replaces the syncfloat64.UpDownCounter
    • Float64Histogram replaces the syncfloat64.Histogram
    • Int64Counter replaces the syncint64.Counter
    • Int64UpDownCounter replaces the syncint64.UpDownCounter
    • Int64Histogram replaces the syncint64.Histogram
  • NewTracerProvider to go.opentelemetry.io/otel/bridge/opentracing. This is used to create WrapperTracer instances from a TracerProvider. (#​3116)
  • The Extrema type to go.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)
  • The go.opentelemetry.io/otel/semconv/v1.17.0 package. The package contains semantic conventions from the v1.17.0 version of the OpenTelemetry specification. (#​3599)
Changed
  • Jaeger and Zipkin exporter use github.com/go-logr/logr as the logging interface, and add the WithLogr option. (#​3497, #​3500)
  • Instrument configuration in go.opentelemetry.io/otel/metric/instrument is split into specific options and confguration based on the instrument type. (#​3507)
    • Use the added Int64Option type to configure instruments from go.opentelemetry.io/otel/metric/instrument/syncint64.
    • Use the added Float64Option type to configure instruments from go.opentelemetry.io/otel/metric/instrument/syncfloat64.
    • Use the added Int64ObserverOption type to configure instruments from go.opentelemetry.io/otel/metric/instrument/asyncint64.
    • Use the added Float64ObserverOption type to configure instruments from go.opentelemetry.io/otel/metric/instrument/asyncfloat64.
  • Return a Registration from the RegisterCallback method of a Meter in the go.opentelemetry.io/otel/metric package. This Registration can be used to unregister callbacks. (#​3522)
  • Global error handler uses an atomic value instead of a mutex. (#​3543)
  • Add NewMetricProducer to go.opentelemetry.io/otel/bridge/opencensus, which can be used to pass OpenCensus metrics to an OpenTelemetry Reader. (#​3541)
  • Global logger uses an atomic value instead of a mutex. (#​3545)
  • The Shutdown method of the "go.opentelemetry.io/otel/sdk/trace".TracerProvider releases all computational resources when called the first time. (#​3551)
  • The Sampler returned from TraceIDRatioBased go.opentelemetry.io/otel/sdk/trace now uses the rightmost bits for sampling decisions. This fixes random sampling when using ID generators like xray.IDGenerator and increasing parity with other language implementations. (#​3557)
  • Errors from 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 use errors.Unwrap() to get the underlying error. (#​3516)
  • Exporters from go.opentelemetry.io/otel/exporters/otlp will print the final retryable error message when attempts to retry time out. (#​3514)
  • The instrument kind names in go.opentelemetry.io/otel/sdk/metric are updated to match the API. (#​3562)
    • InstrumentKindSyncCounter is renamed to InstrumentKindCounter
    • InstrumentKindSyncUpDownCounter is renamed to InstrumentKindUpDownCounter
    • InstrumentKindSyncHistogram is renamed to InstrumentKindHistogram
    • InstrumentKindAsyncCounter is renamed to InstrumentKindObservableCounter
    • InstrumentKindAsyncUpDownCounter is renamed to InstrumentKindObservableUpDownCounter
    • InstrumentKindAsyncGauge is renamed to InstrumentKindObservableGauge
  • The RegisterCallback method of the Meter in go.opentelemetry.io/otel/metric changed.
    • The named Callback replaces the inline function parameter. (#​3564)
    • Callback is required to return an error. (#​3576)
    • Callback accepts the added Observer parameter added. This new parameter is used by Callback implementations to observe values for asynchronous instruments instead of calling the Observe method of the instrument directly. (#​3584)
    • The slice of instrument.Asynchronous is now passed as a variadic argument. (#​3587)
  • The exporter from go.opentelemetry.io/otel/exporters/zipkin is updated to use the v1.16.0 version of semantic conventions. This means it no longer uses the removed net.peer.ip or http.host attributes to determine the remote endpoint. Instead it uses the net.sock.peer attributes. (#​3581)
  • The Min and Max fields of the HistogramDataPoint in go.opentelemetry.io/otel/sdk/metric/metricdata are now defined with the added Extrema type instead of a *float64. (#​3487)
Fixed
  • Asynchronous instruments that use sum aggregators and attribute filters correctly add values from equivalent attribute sets that have been filtered. (#​3439, #​3549)
  • The RegisterCallback method of the Meter from go.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
  • The NewMetricExporter in go.opentelemetry.io/otel/bridge/opencensus is deprecated. Use NewMetricProducer instead. (#​3541)
  • The go.opentelemetry.io/otel/metric/instrument/asyncfloat64 package is deprecated. Use the instruments from go.opentelemetry.io/otel/metric/instrument instead. (#​3575)
  • The go.opentelemetry.io/otel/metric/instrument/asyncint64 package is deprecated. Use the instruments from go.opentelemetry.io/otel/metric/instrument instead. (#​3575)
  • The go.opentelemetry.io/otel/metric/instrument/syncfloat64 package is deprecated. Use the instruments from go.opentelemetry.io/otel/metric/instrument instead. (#​3575)
  • The go.opentelemetry.io/otel/metric/instrument/syncint64 package is deprecated. Use the instruments from go.opentelemetry.io/otel/metric/instrument instead. (#​3575)
  • The NewWrappedTracerProvider in go.opentelemetry.io/otel/bridge/opentracing is now deprecated. Use NewTracerProvider instead. (#​3116)
Removed
  • The deprecated go.opentelemetry.io/otel/sdk/metric/view package is removed. (#​3520)
  • The InstrumentProvider from go.opentelemetry.io/otel/sdk/metric/asyncint64 is removed. Use the new creation methods of the Meter in go.opentelemetry.io/otel/sdk/metric instead. (#​3530)
    • The Counter method is replaced by Meter.Int64ObservableCounter
    • The UpDownCounter method is replaced by Meter.Int64ObservableUpDownCounter
    • The Gauge method is replaced by Meter.Int64ObservableGauge
  • The InstrumentProvider from go.opentelemetry.io/otel/sdk/metric/asyncfloat64 is removed. Use the new creation methods of the Meter in go.opentelemetry.io/otel/sdk/metric instead. (#​3530)
    • The Counter method is replaced by Meter.Float64ObservableCounter
    • The UpDownCounter method is replaced by Meter.Float64ObservableUpDownCounter
    • The Gauge method is replaced by Meter.Float64ObservableGauge
  • The InstrumentProvider from go.opentelemetry.io/otel/sdk/metric/syncint64 is removed. Use the new creation methods of the Meter in go.opentelemetry.io/otel/sdk/metric instead. (#​3530)
    • The Counter method is replaced by Meter.Int64Counter
    • The UpDownCounter method is replaced by Meter.Int64UpDownCounter
    • The Histogram method is replaced by Meter.Int64Histogram
  • The InstrumentProvider from go.opentelemetry.io/otel/sdk/metric/syncfloat64 is removed. Use the new creation methods of the Meter in go.opentelemetry.io/otel/sdk/metric instead. (#​3530)
    • The Counter method is replaced by Meter.Float64Counter
    • The UpDownCounter method is replaced by Meter.Float64UpDownCounter
    • The Histogram method is replaced by Meter.Float64Histogram

v1.11.2: /0.34.0

Compare Source

Added
  • The WithView Option 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)
  • OTLP exporters now recognize: (#​3363)
    • 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
  • 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 WithAggregationSelector ReaderOptions 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)
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)
Removed
  • The go.opentelemetry.io/otel/exporters/otlp/otlpmetric.Client interface is removed. (#​3486)
  • The go.opentelemetry.io/otel/exporters/otlp/otlpmetric.New function is removed. Use the otlpmetric[http|grpc].New directly. (#​3486)
Deprecated
  • The go.opentelemetry.io/otel/sdk/metric/view package is deprecated.
    Use Instrument, InstrumentKind, View, and NewView in go.opentelemetry.io/otel/sdk/metric instead. (#​3476)

v1.11.1: /v0.33.0

Compare Source

Added
  • The Prometheus exporter in go.opentelemetry.io/otel/exporters/prometheus registers with a Prometheus registerer on creation. By default, it will register with the default Prometheus default registerer. A non-default registerer can be used by passing the WithRegisterer option. (#​3239)
  • Added the WithAggregationSelector option to the go.opentelemetry.io/otel/exporters/prometheus package to change the default AggregationSelector used. (#​3341)
  • The Prometheus exporter in go.opentelemetry.io/otel/exporters/prometheus converts the Resource associated with metric exports into a target_info metric. (#​3285)
Changed
  • The "go.opentelemetry.io/otel/exporters/prometheus".New function is updated to return an error. It will return an error if the exporter fails to register with Prometheus. (#​3239)
Fixed
  • The URL-encoded values from the OTEL_RESOURCE_ATTRIBUTES environment variable are decoded. (#​2963)
  • The baggage.NewMember function decodes the value parameter instead of directly using it. This fixes the implementation to be compliant with the W3C specification. (#​3226)
  • Slice attributes of the attribute package are now comparable based on their value, not instance. (#​3108 #​3252)
  • The Shutdown and ForceFlush methods of the "go.opentelemetry.io/otel/sdk/trace".TraceProvider no longer return an error when no processor is registered. (#​3268)
  • The Prometheus exporter in go.opentelemetry.io/otel/exporters/prometheus cumulatively sums histogram buckets. (#​3281)
  • The sum of each histogram data point is now uniquely exported by the go.opentelemetry.io/otel/exporters/otlpmetric exporters. (#​3284, #​3293)
  • Recorded values for asynchronous counters (Counter and UpDownCounter) are interpreted as exact, not incremental, sum values by the metric SDK. (#​3350, #​3278)
  • UpDownCounters are now correctly output as Prometheus gauges in the go.opentelemetry.io/otel/exporters/prometheus exporter. (#​3358)
  • The Prometheus exporter in go.opentelemetry.io/otel/exporters/prometheus no longer describes the metrics it will send to Prometheus on startup. Instead the exporter is defined as an "unchecked" collector for Prometheus. This fixes the reader is not registered warning currently emitted on startup. (#​3291 #​3342)
  • The go.opentelemetry.io/otel/exporters/prometheus exporter now correctly adds _total suffixes to counter metrics. (#​3360)
  • The go.opentelemetry.io/otel/exporters/prometheus exporter now adds a unit suffix to metric names. This can be disabled using the WithoutUnits() option added to that package. (#​3352)

v1.11.0: /v0.32.3

Compare Source

Retracts the v0.32.2 version of go.opentelemetry.io/otel/exporters/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlpmetric/otlpmetrichttp given they include unresolvable dependencies.

Added
  • Add default User-Agent header to OTLP exporter requests (go.opentelemetry.io/otel/exporters/otlptrace/otlptracegrpc and go.opentelemetry.io/otel/exporters/otlptrace/otlptracehttp). (#​3261)
Changed
  • span.SetStatus has been updated such that calls that lower the status are now no-ops. (#​3214)
  • Upgrade golang.org/x/sys/unix from v0.0.0-20210423185535-09eb48e85fd7 to v0.0.0-20220919091848-fb04ddd9f9c8.
    This addresses GO-2022-0493. (#​3235)

v1.10.0

Compare Source

Added
  • 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)

v1.9.0: /v0.0.3

Compare Source

Added
  • Add support for Schema Files format 1.1.x (metric "split" transform) with the new go.opentelemetry.io/otel/schema/v1.1 package. (#​2999)
  • Add the go.opentelemetry.io/otel/semconv/v1.11.0 package.
    The package contains semantic conventions from the v1.11.0 version of the OpenTelemetry specification. (#​3009)
  • Add the go.opentelemetry.io/otel/semconv/v1.12.0 package.
    The package contains semantic conventions from the v1.12.0 version of the OpenTelemetry specification. (#​3010)
  • Add the http.method attribute to HTTP server metric from all go.opentelemetry.io/otel/semconv/* packages. (#​3018)
Fixed
  • Invalid warning for context setup being deferred in go.opentelemetry.io/otel/bridge/opentracing package. (#​3029)

v1.8.0: /v0.31.0

Compare Source

1.8.0/0.31.0 - 2022-07-08
Added
  • Add support for opentracing.TextMap format in the Inject and Extract methods
    of the "go.opentelemetry.io/otel/bridge/opentracing".BridgeTracer type. (#​2911)
Changed
  • The crosslink make target has been updated to use the go.opentelemetry.io/build-tools/crosslink package. (#​2886)
  • In the go.opentelemetry.io/otel/sdk/instrumentation package rename Library to Scope and alias Library as Scope (#​2976)
  • Move metric no-op implementation form nonrecording to metric package. (#​2866)
Removed
  • Support for go1.16. Support is now only for go1.17 and go1.18 (#​2917)
Deprecated
  • The Library struct in the go.opentelemetry.io/otel/sdk/instrumentation package is deprecated.
    Use the equivalent Scope struct instead. (#​2977)
  • The ReadOnlySpan.InstrumentationLibrary method from the go.opentelemetry.io/otel/sdk/trace package is deprecated.
    Use the equivalent ReadOnlySpan.InstrumentationScope method instead. (#​2977)

v1.7.0: /v0.30.0

Compare Source

Added
  • Add the go.opentelemetry.io/otel/semconv/v1.8.0 package.
    The package contains semantic conventions from the v1.8.0 version of the OpenTelemetry specification. (#​2763)
  • Add the go.opentelemetry.io/otel/semconv/v1.9.0 package.
    The package contains semantic conventions from the v1.9.0 version of the OpenTelemetry specification. (#​2792)
  • Add the go.opentelemetry.io/otel/semconv/v1.10.0 package.
    The package contains semantic conventions from the v1.10.0 version of the OpenTelemetry specification. (#​2842)
  • Added an in-memory exporter to metrictest to aid testing with a full SDK. (#​2776)
Fixed
  • Globally delegated instruments are unwrapped before delegating asynchronous callbacks. (#​2784)
  • Remove import of testing package in non-tests builds of the go.opentelemetry.io/otel package. (#​2786)
Changed
  • The WithLabelEncoder option from the go.opentelemetry.io/otel/exporters/stdout/stdoutmetric package is renamed to WithAttributeEncoder. (#​2790)
  • The LabelFilterSelector interface from go.opentelemetry.io/otel/sdk/metric/processor/reducer is renamed to AttributeFilterSelector.
    The method included in the renamed interface also changed from LabelFilterFor to AttributeFilterFor. (#​2790)
  • The Metadata.Labels method from the go.opentelemetry.io/otel/sdk/metric/export package is renamed to Metadata.Attributes.
    Consequentially, the Record type from the same package also has had the embedded method renamed. (#​2790)
Deprecated
  • The Iterator.Label method in the go.opentelemetry.io/otel/attribute package is deprecated.
    Use the equivalent Iterator.Attribute method instead. (#​2790)
  • The Iterator.IndexedLabel method in the go.opentelemetry.io/otel/attribute package is deprecated.
    Use the equivalent Iterator.IndexedAttribute method instead. (#​2790)
  • The MergeIterator.Label method in the go.opentelemetry.io/otel/attribute package is deprecated.
    Use the equivalent MergeIterator.Attribute method instead. (#​2790)
Removed
  • Removed the Batch type from the go.opentelemetry.io/otel/sdk/metric/metrictest package. (#​2864)
  • Removed the Measurement type from the go.opentelemetry.io/otel/sdk/metric/metrictest package. (#​2864)

v1.6.3

Compare Source

Fixed
  • Allow non-comparable global MeterProvider, TracerProvider, and TextMapPropagator types to be set. (#​2772, #​2773)

v1.6.2

Compare Source

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)

v1.6.1

Compare Source

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)

v1.6.0: /v0.28.0

Compare Source

⚠️ Notice ⚠️

This update is a breaking change of the unstable Metrics API.
Code instrumented with the go.opentelemetry.io/otel/metric will need to be modified.

Added
  • Add metrics exponential histogram support.
    New mapping functions have been made available in sdk/metric/aggregator/exponential/mapping for other OpenTelemetry projects to take dependencies on. (#​2502)
  • Add Go 1.18 to our compatibility tests. (#​2679)
  • Allow configuring the Sampler with the OTEL_TRACES_SAMPLER and OTEL_TRACES_SAMPLER_ARG environment variables. (#​2305, #​2517)
  • Add the metric/global for obtaining and setting the global MeterProvider. (#​2660)
Changed
  • The metrics API has been significantly changed to match the revised OpenTelemetry specification.
    High-level changes include:

    • Synchronous and asynchronous instruments are now handled by independent InstrumentProviders.
      These InstrumentProviders are managed with a Meter.
    • Synchronous and asynchronous instruments are grouped into their own packages based on value types.
    • Asynchronous callbacks can now be registered with a Meter.

    Be sure to check out the metric module documentation for more information on how to use the revised API. (#​2587, #​2660)

Fixed
  • Fallback to general attribute limits when span specific ones are not set in the environment. (#​2675, #​2677)

v1.5.0

Compare Source

Added
  • Log the Exporters configuration in the TracerProviders message. (#​2578)
  • Added support to configure the span limits with environment variables.
    The following environment variables are supported. (#​2606, #​2637)
    • OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT
    • OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT
    • OTEL_SPAN_EVENT_COUNT_LIMIT
    • OTEL_EVENT_ATTRIBUTE_COUNT_LIMIT
    • OTEL_SPAN_LINK_COUNT_LIMIT
    • OTEL_LINK_ATTRIBUTE_COUNT_LIMIT
      If the provided environment variables are invalid (negative), the default values would be used.
  • Rename the gc runtime name to go (#​2560)
  • Add resource container ID detection. (#​2418)
  • Add span attribute value length limit.
    The new AttributeValueLengthLimit field is added to the "go.opentelemetry.io/otel/sdk/trace".SpanLimits type to configure this limit for a TracerProvider.
    The default limit for this resource is "unlimited". (#​2637)
  • Add the WithRawSpanLimits option to go.opentelemetry.io/otel/sdk/trace.
    This option replaces the WithSpanLimits option.
    Zero or negative values will not be changed to the default value like WithSpanLimits does.
    Setting a limit to zero will effectively disable the related resource it limits and setting to a negative value will mean that resource is unlimited.
    Consequentially, limits should be constructed using NewSpanLimits and updated accordingly. (#​2637)
Changed
  • Drop oldest tracestate Member when capacity is reached. (#​2592)
  • Add event and link drop counts to the exported data from the oltptrace exporter. (#​2601)
  • Unify path cleaning functionally in the otlpmetric and otlptrace configuration. (#​2639)
  • Change the debug message from the sdk/trace.BatchSpanProcessor to reflect the count is cumulative. (#​2640)
  • Introduce new internal envconfig package for OTLP exporters. (#​2608)
  • If http.Request.Host is empty, fall back to use URL.Host when populating http.host in the semconv packages. (#​2661)
Fixed
  • Remove the OTLP trace exporter limit of SpanEvents when exporting. (#​2616)
  • Default to port 4318 instead of 4317 for the otlpmetrichttp and otlptracehttp client. (#​2614, #​2625)
  • Unlimited span limits are now supported (negative values). (#​2636, #​2637)
Deprecated
  • Deprecated "go.opentelemetry.io/otel/sdk/trace".WithSpanLimits.
    Use WithRawSpanLimits instead.
    That option allows setting unlimited and zero limits, this option does not.
    This option will be kept until the next major version incremented release. (#​2637)

v1.4.1

Compare Source

Fixed
  • Fix race condition in reading the dropped spans number for the BatchSpanProcessor. (#​2615)

v1.4.0: /v0.27.0

Compare Source

Added
  • Use OTEL_EXPORTER_ZIPKIN_ENDPOINT environment variable to specify zipkin collector endpoint. (#​2490)
  • Log the configuration of TracerProviders, and Tracers for debugging.
    To enable use a logger with Verbosity (V level) >=1. (#​2500)
  • Added support to configure the batch span-processor with environment variables.
    The following environment variables are used. (#​2515)
    • OTEL_BSP_SCHEDULE_DELAY
    • OTEL_BSP_EXPORT_TIMEOUT
    • OTEL_BSP_MAX_QUEUE_SIZE.
    • OTEL_BSP_MAX_EXPORT_BATCH_SIZE
Changed
  • Zipkin exporter exports Resource attributes in the Tags field. (#​2589)
Deprecated
  • Deprecate module the go.opentelemetry.io/otel/sdk/export/metric.
    Use the go.opentelemetry.io/otel/sdk/metric module instead. (#​2382)
  • Deprecate "go.opentelemetry.io/otel/sdk/metric".AtomicFieldOffsets. (#​2445)
Fixed
  • Fixed the instrument kind for noop async instruments to correctly report an implementation. (#​2461)
  • Fix UDP packets overflowing with Jaeger payloads. (#​2489, #​2512)
  • Change the otlpmetric.Client interface's UploadMetrics method to accept a single ResourceMetrics instead of a slice of them. (#​2491)
  • Specify explicit buckets in Prometheus example, fixing issue where example only has +inf bucket. (#​2419, #​2493)
  • W3C baggage will now decode urlescaped values. (#​2529)
  • Baggage members are now only validated once, when calling NewMember and not also when adding it to the baggage itself. (#​2522)
  • The order attributes are dropped from spans in the go.opentelemetry.io/otel/sdk/trace package when capacity is reached is fixed to be in compliance with the OpenTelemetry specification.
    Instead of dropping the least-recently-used attribute, the last added attribute is dropped.
    This drop order still only applies to attributes with unique keys not already contained in the span.
    If an attribute is added with a key already contained in the span, that attribute is updated to the new value being added. (#​2576)
Removed

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from zachfi February 14, 2022 01:33
@coveralls
Copy link

coveralls commented Feb 14, 2022

Coverage Status

Coverage increased (+0.03%) to 16.834% when pulling 70df8d5 on renovate/opentelemetry-go-monorepo into 95ceac6 on main.

@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 2 times, most recently from a9196af to c4d501e Compare February 14, 2022 19:59
@renovate renovate bot changed the title fix(deps): update opentelemetry-go monorepo to v1.4.0 fix(deps): update opentelemetry-go monorepo Feb 14, 2022
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 3 times, most recently from 04f7958 to e652fe9 Compare February 17, 2022 23:58
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 2 times, most recently from e8d101b to 1ace5a2 Compare February 28, 2022 18:11
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 2 times, most recently from 7e46193 to e9128cc Compare March 16, 2022 17:19
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 2 times, most recently from 11f95bc to 37ddd26 Compare March 23, 2022 22:29
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 3 times, most recently from b669af3 to c4f521a Compare April 4, 2022 14:11
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 4 times, most recently from ffc9725 to 70df8d5 Compare April 7, 2022 21:16
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 2 times, most recently from 52b3ce3 to 32826f5 Compare April 28, 2022 19:43
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 32826f5 to e29081c Compare May 6, 2022 04:13
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from e29081c to 797ac50 Compare July 18, 2022 02:20
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 797ac50 to 928f262 Compare September 25, 2022 18:08
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 928f262 to 5a6d9b3 Compare November 20, 2022 10:16
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 5a6d9b3 to ad9431a Compare January 3, 2023 01:48
@renovate renovate bot changed the title fix(deps): update opentelemetry-go monorepo fix(deps): update opentelemetry-go monorepo to v1.11.2 Jan 3, 2023
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch 5 times, most recently from 8a3fd4f to 986b10e Compare January 20, 2023 03:04
@renovate renovate bot force-pushed the renovate/opentelemetry-go-monorepo branch from 986b10e to d1af31d Compare January 29, 2023 17:53
@renovate renovate bot changed the title fix(deps): update opentelemetry-go monorepo to v1.11.2 fix(deps): update opentelemetry-go monorepo to v1.12.0 Jan 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant