Skip to content
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

deps: update opentelemetry-go monorepo to v1 (major) #541

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 17, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
go.opentelemetry.io/otel require major v0.20.0 -> v1.11.2
go.opentelemetry.io/otel/sdk require major v0.20.0 -> v1.11.2
go.opentelemetry.io/otel/trace require major v0.20.0 -> v1.11.2

Release Notes

open-telemetry/opentelemetry-go

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

v1.3.0: /v0.26.0

Compare Source

⚠️ Notice ⚠️

We have updated the project minimum supported Go version to 1.16

Added
  • Added an internal Logger.
    This can be used by the SDK and API to provide users with feedback of the internal state.
    To enable verbose logs configure the logger which will print V(1) logs. For debugging information configure to print V(5) logs. (#​2343)
  • Add the WithRetry Option and the RetryConfig type to the go.opentelemetry.io/otel/exporter/otel/otlpmetric/otlpmetrichttp package to specify retry behavior consistently. (#​2425)
  • Add SpanStatusFromHTTPStatusCodeAndSpanKind to all semconv packages to return a span status code similar to SpanStatusFromHTTPStatusCode, but exclude 4XX HTTP errors as span errors if the span is of server kind. (#​2296)
Changed
  • The "go.opentelemetry.io/otel/exporter/otel/otlptrace/otlptracegrpc".Client now uses the underlying gRPC ClientConn to handle name resolution, TCP connection establishment (with retries and backoff) and TLS handshakes, and handling errors on established connections by re-resolving the name and reconnecting. (#​2329)
  • The "go.opentelemetry.io/otel/exporter/otel/otlpmetric/otlpmetricgrpc".Client now uses the underlying gRPC ClientConn to handle name resolution, TCP connection establishment (with retries and backoff) and TLS handshakes, and handling errors on established connections by re-resolving the name and reconnecting. (#​2425)
  • The "go.opentelemetry.io/otel/exporter/otel/otlpmetric/otlpmetricgrpc".RetrySettings type is renamed to RetryConfig. (#​2425)
  • The go.opentelemetry.io/otel/exporter/otel/* gRPC exporters now default to using the host's root CA set if none are provided by the user and WithInsecure is not specified. (#​2432)
  • Change resource.Default to be evaluated the first time it is called, rather than on import. This allows the caller the option to update OTEL_RESOURCE_ATTRIBUTES first, such as with os.Setenv. (#​2371)
Fixed
  • The go.opentelemetry.io/otel/exporter/otel/* exporters are updated to handle per-signal and universal endpoints according to the OpenTelemetry specification.
    Any per-signal endpoint set via an OTEL_EXPORTER_OTLP_<signal>_ENDPOINT environment variable is now used without modification of the path.
    When OTEL_EXPORTER_OTLP_ENDPOINT is set, if it contains a path, that path is used as a base path which per-signal paths are appended to. (#​2433)
  • Basic metric controller updated to use sync.Map to avoid blocking calls (#​2381)
  • The go.opentelemetry.io/otel/exporter/jaeger correctly sets the otel.status_code value to be a string of ERROR or OK instead of an integer code. (#​2439, #​2440)
Deprecated
  • Deprecated the "go.opentelemetry.io/otel/exporter/otel/otlpmetric/otlpmetrichttp".WithMaxAttempts Option, use the new WithRetry Option instead. (#​2425)
  • Deprecated the "go.opentelemetry.io/otel/exporter/otel/otlpmetric/otlpmetrichttp".WithBackoff Option, use the new WithRetry Option instead. (#​2425)
Removed
  • Remove the metric Processor's ability to convert cumulative to delta aggregation temporality. (#​2350)
  • Remove the metric Bound Instruments interface and implementations. (#​2399)
  • Remove the metric MinMaxSumCount kind aggregation and the corresponding OTLP export path. (#​2423)
  • Metric SDK removes the "exact" aggregator for histogram instruments, as it performed a non-standard aggregation for OTLP export (creating repeated Gauge points) and worked its way into a number of confusing examples. (#​2348)

v1.2.0: /v0.25.0

Compare Source

Changed

  • Metric SDK export.ExportKind, export.ExportKindSelector types have been renamed to aggregation.Temporality and aggregation.TemporalitySelector respectively to keep in line with current specification and protocol along with built-in selectors (e.g., aggregation.CumulativeTemporalitySelector, ...). (#​2274)
  • The Metric Exporter interface now requires a TemporalitySelector method instead of an ExportKindSelector. (#​2274)
  • Metrics API cleanup. The metric/sdkapi package has been created to relocate the API-to-SDK interface:
    • The following interface types simply moved from metric to metric/sdkapi: Descriptor, MeterImpl, InstrumentImpl, SyncImpl, BoundSyncImpl, AsyncImpl, AsyncRunner, AsyncSingleRunner, and AsyncBatchRunner
    • The following struct types moved and are replaced with type aliases, since they are exposed to the user: Observation, Measurement.
    • The No-op implementations of sync and async instruments are no longer exported, new functions sdkapi.NewNoopAsyncInstrument() and sdkapi.NewNoopSyncInstrument() are provided instead. (#​2271)
  • Update the SDK BatchSpanProcessor to export all queued spans when ForceFlush is called. (#​2080, #​2335)
Added
  • Add the "go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc".WithGRPCConn option so the exporter can reuse an existing gRPC connection. (#​2002)
  • Added a new schema module to help parse Schema Files in OTEP 0152 format. (#​2267)
  • Added a new MapCarrier to the go.opentelemetry.io/otel/propagation package to hold propagated coss-cutting concerns as a map[string]string held in memory. (#​2334)

v1.1.0

Compare Source

Added
  • Add the "go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc".WithGRPCConn option so the exporter can reuse an existing gRPC connection. (#​2002)
  • Add the go.opentelemetry.io/otel/semconv/v1.7.0 package.
    The package contains semantic conventions from the v1.7.0 version of the OpenTelemetry specification. (#​2320)
  • Add the go.opentelemetry.io/otel/semconv/v1.6.1 package.
    The package contains semantic conventions from the v1.6.1 version of the OpenTelemetry specification. (#​2321)
  • Add the go.opentelemetry.io/otel/semconv/v1.5.0 package.
    The package contains semantic conventions from the v1.5.0 version of the OpenTelemetry specification. (#​2322)
    • When upgrading from the semconv/v1.4.0 package note the following name changes:
      • K8SReplicasetUIDKey -> K8SReplicaSetUIDKey
      • K8SReplicasetNameKey -> K8SReplicaSetNameKey
      • K8SStatefulsetUIDKey -> K8SStatefulSetUIDKey
      • k8SStatefulsetNameKey -> K8SStatefulSetNameKey
      • K8SDaemonsetUIDKey -> K8SDaemonSetUIDKey
      • K8SDaemonsetNameKey -> K8SDaemonSetNameKey
Changed
  • Links added to a span will be dropped by the SDK if they contain an invalid span context (#​2275).
Fixed
  • The "go.opentelemetry.io/otel/semconv/v1.4.0".HTTPServerAttributesFromHTTPRequest now correctly only sets the HTTP client IP attribute even if the connection was routed with proxies and there are multiple addresses in the X-Forwarded-For header. (#​2282, #​2284)
  • The "go.opentelemetry.io/otel/semconv/v1.4.0".NetAttributesFromHTTPRequest function correctly handles IPv6 addresses as IP addresses and sets the correct net peer IP instead of the net peer hostname attribute. (#​2283, #​2285)
  • The simple span processor shutdown method deterministically returns the exporter error status if it simultaneously finishes when the deadline is reached. (#​2290, #​2289)

v1.0.1: /Metrics v0.24.0

Compare Source

1.0.1 - 2021-10-01
Fixed
  • json stdout exporter no longer crashes due to concurrency bug. (#​2265)
Metrics 0.24.0 - 2021-10-01
Changed
  • NoopMeterProvider is now private and NewNoopMeterProvider must be used to obtain a noopMeterProvider. (#​2237)
  • The Metric SDK Export() function takes a new two-level reader interface for iterating over results one instrumentation library at a time. (#​2197)
    • The former "go.opentelemetry.io/otel/sdk/export/metric".CheckpointSet is renamed Reader.
    • The new interface is named "go.opentelemetry.io/otel/sdk/export/metric".InstrumentationLibraryReader.

v1.0.0

Compare Source

This is the first stable release for the project.
This release includes an API and SDK for the tracing signal that will comply with the stability guarantees defined by the projects versioning policy.

Added
  • OTLP trace exporter now sets the SchemaURL field in the exported telemetry if the Tracer has WithSchemaURL option. (#​2242)
Fixed
  • Slice-valued attributes can correctly be used as map keys. (#​2223)
Removed
  • Removed the "go.opentelemetry.io/otel/exporters/zipkin".WithSDKOptions function. (#​2248)
  • Removed the deprecated package go.opentelemetry.io/otel/oteltest. (#​2234)
  • Removed the deprecated package go.opentelemetry.io/otel/bridge/opencensus/utils. (#​2233)
  • Removed deprecated functions, types, and methods from go.opentelemetry.io/otel/attribute package.
    Use the typed functions and methods added to the package instead. (#​2235)
    • The Key.Array method is removed.
    • The Array function is removed.
    • The Any function is removed.
    • The ArrayValue function is removed.
    • The AsArray function is removed.

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.


  • 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
Copy link
Contributor Author

renovate bot commented Dec 17, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: scheduler/go.sum
Command failed: docker run --rm --name=renovate_sidecar --label=renovate_child -v "/mnt/renovate/gh/keptn/lifecycle-toolkit":"/mnt/renovate/gh/keptn/lifecycle-toolkit" -v "/tmp/renovate-cache":"/tmp/renovate-cache" -v "/tmp/containerbase":"/tmp/containerbase" -e GOPATH -e GOPROXY -e GOFLAGS -e CGO_ENABLED -e GIT_CONFIG_KEY_0 -e GIT_CONFIG_VALUE_0 -e GIT_CONFIG_KEY_1 -e GIT_CONFIG_VALUE_1 -e GIT_CONFIG_KEY_2 -e GIT_CONFIG_VALUE_2 -e GIT_CONFIG_COUNT -e BUILDPACK_CACHE_DIR -e CONTAINERBASE_CACHE_DIR -w "/mnt/renovate/gh/keptn/lifecycle-toolkit/scheduler" docker.io/renovate/sidecar bash -l -c "install-tool golang 1.19.4 && go get -d -t ./..."
go: k8s.io/[email protected]: reading k8s.io/kube-scheduler/go.mod at revision v0.0.0: unknown revision v0.0.0

@codecov
Copy link

codecov bot commented Dec 17, 2022

Codecov Report

Merging #541 (30f8cbd) into main (e02929a) will decrease coverage by 0.12%.
The diff coverage is n/a.

❗ Current head 30f8cbd differs from pull request most recent head c4c022c. Consider uploading reports for the commit c4c022c to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #541      +/-   ##
==========================================
- Coverage   48.61%   48.48%   -0.13%     
==========================================
  Files          60       60              
  Lines        5443     5443              
==========================================
- Hits         2646     2639       -7     
- Misses       2688     2693       +5     
- Partials      109      111       +2     
Impacted Files Coverage Δ
...ptnworkloadinstance/reconcile_prepostdeployment.go 81.81% <0.00%> (-9.10%) ⬇️
...or/controllers/keptnworkloadinstance/controller.go 76.80% <0.00%> (-2.07%) ⬇️
Flag Coverage Δ
component-tests 50.32% <ø> (-0.73%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@renovate renovate bot changed the title Update opentelemetry-go monorepo to v1 (major) deps: update opentelemetry-go monorepo to v1 (major) Dec 17, 2022
@odubajDT odubajDT added the on hold Do not merge yet label Dec 20, 2022
@renovate renovate bot force-pushed the renovate/major-opentelemetry-go-monorepo branch from 30f8cbd to c4c022c Compare December 20, 2022 08:19
@sonarcloud
Copy link

sonarcloud bot commented Dec 20, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@mowies mowies closed this Dec 20, 2022
@mowies mowies deleted the renovate/major-opentelemetry-go-monorepo branch December 20, 2022 08:31
@renovate
Copy link
Contributor Author

renovate bot commented Dec 20, 2022

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 1.x releases. But if you manually upgrade to 1.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants