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

Update module go.opentelemetry.io/otel/sdk/metric to v1.30.0 #58

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 7, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel/sdk/metric v1.22.0 -> v1.30.0 age adoption passing confidence

Release Notes

open-telemetry/opentelemetry-go (go.opentelemetry.io/otel/sdk/metric)

v1.30.0

Compare Source

v1.29.0: /v0.51.0/v0.5.0

Compare Source

Overview

This release is the last to support Go 1.21. The next release will require at least Go 1.22.

Added
  • Add MacOS ARM64 platform to the compatibility testing suite. (#​5577)
  • Add InstrumentationScope field to SpanStub in go.opentelemetry.io/otel/sdk/trace/tracetest, as a replacement for the deprecated InstrumentationLibrary. (#​5627)
  • Make the initial release of go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. This new module contains an OTLP exporter that transmits log telemetry using gRPC. This module is unstable and breaking changes may be introduced. See our versioning policy for more information about these stability guarantees. (#​5629)
  • Add Walk function to TraceState in go.opentelemetry.io/otel/trace to iterate all the key-value pairs. (#​5651)
  • Bridge the trace state in go.opentelemetry.io/otel/bridge/opencensus. (#​5651)
  • Zero value of SimpleProcessor in go.opentelemetry.io/otel/sdk/log no longer panics. (#​5665)
  • The FilterProcessor interface type is added in go.opentelemetry.io/otel/sdk/log/internal/x. This is an optional and experimental interface that log Processors can implement to instruct the Logger if a Record will be processed or not. It replaces the existing Enabled method that is removed from the Processor interface itself. It does not fall within the scope of the OpenTelemetry Go versioning and stability policy and it may be changed in backwards incompatible ways or removed in feature releases. (#​5692)
  • Support Go 1.23. (#​5720)
Changed
  • NewMemberRaw, NewKeyProperty and NewKeyValuePropertyRaw in go.opentelemetry.io/otel/baggage allow UTF-8 string in key. (#​5132)
  • Processor.OnEmit in go.opentelemetry.io/otel/sdk/log now accepts a pointer to Record instead of a value so that the record modifications done in a processor are propagated to subsequent registered processors. (#​5636)
  • SimpleProcessor.Enabled in go.opentelemetry.io/otel/sdk/log now returns false if the exporter is nil. (#​5665)
  • Update the concurrency requirements of Exporter in go.opentelemetry.io/otel/sdk/log. (#​5666)
  • SimpleProcessor in go.opentelemetry.io/otel/sdk/log synchronizes OnEmit calls. (#​5666)
  • The Processor interface in go.opentelemetry.io/otel/sdk/log no longer includes the Enabled method. See the FilterProcessor interface type added in go.opentelemetry.io/otel/sdk/log/internal/x to continue providing this functionality. (#​5692)
  • The SimpleProcessor type in go.opentelemetry.io/otel/sdk/log is no longer comparable. (#​5693)
  • The BatchProcessor type in go.opentelemetry.io/otel/sdk/log is no longer comparable. (#​5693)
Fixed
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5584)
  • Pass the underlying error rather than a generic retry-able failure in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp, go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#​5541)
  • Correct the Tracer, Meter, and Logger names used in go.opentelemetry.io/otel/example/dice. (#​5612)
  • Correct the Tracer names used in go.opentelemetry.io/otel/example/namedtracer. (#​5612)
  • Correct the Tracer name used in go.opentelemetry.io/otel/example/opencensus. (#​5612)
  • Correct the Tracer and Meter names used in go.opentelemetry.io/otel/example/otel-collector. (#​5612)
  • Correct the Tracer names used in go.opentelemetry.io/otel/example/passthrough. (#​5612)
  • Correct the Meter name used in go.opentelemetry.io/otel/example/prometheus. (#​5612)
  • Correct the Tracer names used in go.opentelemetry.io/otel/example/zipkin. (#​5612)
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#​5641)
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​5650)
  • Stop percent encoding header environment variables in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp (#​5705)
  • Remove invalid environment variable header keys in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc, go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp, go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc and go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp (#​5705)
Removed
  • The Enabled method of the SimpleProcessor in go.opentelemetry.io/otel/sdk/log is removed. (#​5692)
  • The Enabled method of the BatchProcessor in go.opentelemetry.io/otel/sdk/log is removed. (#​5692)
What's Changed
New Contributors

Full Changelog: open-telemetry/opentelemetry-go@v1.28.0...v1.29.0

v1.28.0: Releases v1.28.0/v0.50.0/v0.4.0

Compare Source

Overview

Added
  • The IsEmpty method is added to the Instrument type in go.opentelemetry.io/otel/sdk/metric.
    This method is used to check if an Instrument instance is a zero-value. (#​5431)
  • Store and provide the emitted context.Context in ScopeRecords of go.opentelemetry.io/otel/sdk/log/logtest. (#​5468)
  • The go.opentelemetry.io/otel/semconv/v1.26.0 package.
    The package contains semantic conventions from the v1.26.0 version of the OpenTelemetry Semantic Conventions. (#​5476)
  • The AssertRecordEqual method to go.opentelemetry.io/otel/log/logtest to allow comparison of two log records in tests. (#​5499)
  • The WithHeaders option to go.opentelemetry.io/otel/exporters/zipkin to allow configuring custom http headers while exporting spans. (#​5530)
Changed
  • Tracer.Start in go.opentelemetry.io/otel/trace/noop no longer allocates a span for empty span context. (#​5457)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/example/otel-collector. (#​5490)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/example/zipkin. (#​5490)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/exporters/zipkin. (#​5490)
    • The exporter no longer exports the deprecated "otel.library.name" or "otel.library.version" attributes.
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/sdk/resource. (#​5490)
  • Upgrade go.opentelemetry.io/otel/semconv/v1.25.0 to go.opentelemetry.io/otel/semconv/v1.26.0 in go.opentelemetry.io/otel/sdk/trace. (#​5490)
  • SimpleProcessor.OnEmit in go.opentelemetry.io/otel/sdk/log no longer allocates a slice which makes it possible to have a zero-allocation log processing using SimpleProcessor. (#​5493)
  • Use non-generic functions in the Start method of "go.opentelemetry.io/otel/sdk/trace".Trace to reduce memory allocation. (#​5497)
  • service.instance.id is populated for a Resource created with "go.opentelemetry.io/otel/sdk/resource".Default with a default value when OTEL_GO_X_RESOURCE is set. (#​5520)
  • Improve performance of metric instruments in go.opentelemetry.io/otel/sdk/metric by removing unnecessary calls to time.Now. (#​5545)
Fixed
  • Log a warning to the OpenTelemetry internal logger when a Record in go.opentelemetry.io/otel/sdk/log drops an attribute due to a limit being reached. (#​5376)
  • Identify the Tracer returned from the global TracerProvider in go.opentelemetry.io/otel/global with its schema URL. (#​5426)
  • Identify the Meter returned from the global MeterProvider in go.opentelemetry.io/otel/global with its schema URL. (#​5426)
  • Log a warning to the OpenTelemetry internal logger when a Span in go.opentelemetry.io/otel/sdk/trace drops an attribute, event, or link due to a limit being reached. (#​5434)
  • Document instrument name requirements in go.opentelemetry.io/otel/metric. (#​5435)
  • Prevent random number generation data-race for experimental rand exemplars in go.opentelemetry.io/otel/sdk/metric. (#​5456)
  • Fix counting number of dropped attributes of Record in go.opentelemetry.io/otel/sdk/log. (#​5464)
  • Fix panic in baggage creation when a member contains 0x80 char in key or value. (#​5494)
  • Correct comments for the priority of the WithEndpoint and WithEndpointURL options and their corresponding environment variables in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#​5508)
  • Retry trace and span ID generation if it generated an invalid one in go.opentelemetry.io/otel/sdk/trace. (#​5514)
  • Fix stale timestamps reported by the last-value aggregation. (#​5517)
  • Indicate the Exporter in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp must be created by the New method. (#​5521)
  • Improved performance in all {Bool,Int64,Float64,String}SliceValue functions of go.opentelemetry.io/attributes by reducing the number of allocations. (#​5549)

What's Changed


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.


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

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Feb 7, 2024

⚠ 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: src/go.sum
Command failed: go get -d -t ./...
go: downloading go.opentelemetry.io/otel/sdk/metric v1.26.0
go: file-storage-server imports
	go.opentelemetry.io/otel/metric/global: cannot find module providing package go.opentelemetry.io/otel/metric/global

@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from dd55789 to 0a16159 Compare February 7, 2024 22:40
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.23.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.23.1 Feb 7, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from 0a16159 to 0ed4c96 Compare February 23, 2024 19:14
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.23.1 Update module go.opentelemetry.io/otel/sdk/metric to v1.24.0 Feb 23, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from 0ed4c96 to 962828f Compare April 5, 2024 15:05
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.24.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.25.0 Apr 5, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from 962828f to eba6478 Compare April 24, 2024 17:26
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.25.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.26.0 Apr 24, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from eba6478 to f962997 Compare May 22, 2024 01:27
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.26.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.27.0 May 22, 2024
Copy link
Contributor Author

renovate bot commented May 22, 2024

⚠️ 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: src/go.sum
Command failed: go get -d -t ./...
go: -d flag is deprecated. -d=true is a no-op
go: downloading go.opentelemetry.io/otel/sdk/metric v1.30.0
go: file-storage-server imports
	go.opentelemetry.io/otel/metric/global: cannot find module providing package go.opentelemetry.io/otel/metric/global

@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from f962997 to fcd396f Compare July 2, 2024 22:05
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.27.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 Jul 2, 2024
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 - autoclosed Jul 14, 2024
@renovate renovate bot closed this Jul 14, 2024
@renovate renovate bot deleted the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch July 14, 2024 06:06
@renovate renovate bot restored the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch July 14, 2024 11:28
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 - autoclosed Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 Jul 14, 2024
@renovate renovate bot reopened this Jul 14, 2024
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 - autoclosed Aug 8, 2024
@renovate renovate bot closed this Aug 8, 2024
@renovate renovate bot deleted the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch August 8, 2024 17:58
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 - autoclosed Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 Aug 8, 2024
@renovate renovate bot reopened this Aug 8, 2024
@renovate renovate bot restored the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch August 8, 2024 18:40
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from fcd396f to a1453c8 Compare August 23, 2024 23:03
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.28.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.29.0 Aug 23, 2024
@renovate renovate bot force-pushed the renovate/go.opentelemetry.io-otel-sdk-metric-1.x branch from a1453c8 to 51e8c98 Compare September 11, 2024 01:51
@renovate renovate bot changed the title Update module go.opentelemetry.io/otel/sdk/metric to v1.29.0 Update module go.opentelemetry.io/otel/sdk/metric to v1.30.0 Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants