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 (minor) #3645

Merged
merged 2 commits into from
Aug 5, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
go.opentelemetry.io/otel v1.26.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.26.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/prometheus v0.48.0 -> v0.50.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.26.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/metric v1.26.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.26.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk/metric v1.26.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.26.0 -> v1.28.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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

New Contributors

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

v1.27.0: /v0.49.0/v0.3.0

Compare Source

This release includes the first beta release of the OpenTelemetry Logs Bridge API and SDK for Go.

Overview
Added
  • Add example for go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#​5242)
  • Add RecordFactory in go.opentelemetry.io/otel/sdk/log/logtest to facilitate testing exporter and processor implementations. (#​5258)
  • Add RecordFactory in go.opentelemetry.io/otel/log/logtest to facilitate testing bridge implementations. (#​5263)
  • The count of dropped records from the BatchProcessor in go.opentelemetry.io/otel/sdk/log is logged. (#​5276)
  • Add metrics in the otel-collector example. (#​5283)
  • Add the synchronous gauge instrument to go.opentelemetry.io/otel/metric. (#​5304)
    • An int64 or float64 synchronous gauge instrument can now be created from a Meter.
    • All implementations of the API (go.opentelemetry.io/otel/metric/noop, go.opentelemetry.io/otel/sdk/metric) are updated to support this instrument.
  • Add logs to go.opentelemetry.io/otel/example/dice. (#​5349)
Changed
  • The Shutdown method of Exporter in go.opentelemetry.io/otel/exporters/stdout/stdouttrace ignores the context cancellation and always returns nil. (#​5189)
  • The ForceFlush and Shutdown methods of the exporter returned by New in go.opentelemetry.io/otel/exporters/stdout/stdoutmetric ignore the context cancellation and always return nil. (#​5189)
  • Apply the value length limits to Record attributes in go.opentelemetry.io/otel/sdk/log. (#​5230)
  • De-duplicate map attributes added to a Record in go.opentelemetry.io/otel/sdk/log. (#​5230)
  • go.opentelemetry.io/otel/exporters/stdout/stdoutlog won't print timestamps when WithoutTimestamps option is set. (#​5241)
  • The go.opentelemetry.io/otel/exporters/stdout/stdoutlog exporter won't print AttributeValueLengthLimit and AttributeCountLimit fields now, instead it prints the DroppedAttributes field. (#​5272)
  • Improved performance in the Stringer implementation of go.opentelemetry.io/otel/baggage.Member by reducing the number of allocations. (#​5286)
  • Set the start time for last-value aggregates in go.opentelemetry.io/otel/sdk/metric. (#​5305)
  • The Span in go.opentelemetry.io/otel/sdk/trace will record links without span context if either non-empty TraceState or attributes are provided. (#​5315)
  • Upgrade all dependencies of go.opentelemetry.io/otel/semconv/v1.24.0 to go.opentelemetry.io/otel/semconv/v1.25.0. (#​5374)
Fixed
  • Comparison of unordered maps for go.opentelemetry.io/otel/log.KeyValue and go.opentelemetry.io/otel/log.Value. (#​5306)
  • Fix the empty output of go.opentelemetry.io/otel/log.Value in go.opentelemetry.io/otel/exporters/stdout/stdoutlog. (#​5311)
  • Split the behavior of Recorder in go.opentelemetry.io/otel/log/logtest so it behaves as a LoggerProvider only. (#​5365)
  • Fix wrong package name of the error message when parsing endpoint URL in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#​5371)
  • Identify the Logger returned from the global LoggerProvider in go.opentelemetry.io/otel/log/global with its schema URL. (#​5375)
What's Changed

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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot requested a review from a team as a code owner August 5, 2024 09:39
Copy link
Contributor Author

renovate bot commented Aug 5, 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: metrics-operator/go.sum
Command failed: go get -d -t ./...
go: downloading k8s.io/klog/v2 v2.120.1
go: downloading sigs.k8s.io/custom-metrics-apiserver v1.28.0
go: downloading k8s.io/metrics v0.28.12
go: downloading github.com/open-feature/go-sdk v1.11.0
go: downloading github.com/DataDog/datadog-api-client-go/v2 v2.25.0
go: downloading github.com/prometheus/client_golang v1.18.0
go: downloading github.com/prometheus/common v0.47.0
go: downloading github.com/gorilla/mux v1.8.1
go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.10.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.26.0
go: downloading go.opentelemetry.io/otel/sdk v1.26.0
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1
go: downloading k8s.io/kube-openapi v0.0.0-20230901164831-6c774f458599
go: downloading github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f
go: downloading golang.org/x/oauth2 v0.20.0
go: downloading github.com/prometheus/procfs v0.12.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.10.0
go: downloading go.opentelemetry.io/proto/otlp v1.2.0
go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de
go: downloading github.com/google/cel-go v0.16.1
go: downloading github.com/coreos/go-systemd/v22 v22.5.0
go: downloading golang.org/x/crypto v0.25.0
go: downloading sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2
go: downloading k8s.io/kms v0.28.12
go: downloading github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.9
go: downloading go.etcd.io/etcd/client/v3 v3.5.9
go: downloading go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0
go: downloading github.com/spf13/cobra v1.7.0
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.35.1
go: downloading github.com/jpillora/backoff v1.0.0
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1
go: downloading github.com/blang/semver/v4 v4.0.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240528184218-531527333157
go: downloading github.com/stoewer/go-strcase v1.2.0
go: downloading golang.org/x/sync v0.7.0
go: downloading github.com/NYTimes/gziphandler v1.1.1
go: downloading go.etcd.io/etcd/api/v3 v3.5.9
go: downloading github.com/inconshreveable/mousetrap v1.1.0
go: downloading github.com/DataDog/zstd v1.5.2
go: downloading github.com/goccy/go-json v0.10.2
go: downloading github.com/felixge/httpsnoop v1.0.4
go: downloading github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df
go: downloading github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a
go: downloading github.com/coreos/go-semver v0.3.1
go: downloading go.opentelemetry.io/otel/exporters/otlp v0.20.1
go: downloading go.opentelemetry.io v0.1.0
go: github.com/keptn/lifecycle-toolkit/metrics-operator/cmd/metrics/adapter imports
	k8s.io/apiserver/pkg/server/options imports
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc imports
	go.opentelemetry.io/otel/exporters/otlp/internal: cannot find module providing package go.opentelemetry.io/otel/exporters/otlp/internal
go: github.com/keptn/lifecycle-toolkit/metrics-operator/cmd/metrics/adapter imports
	k8s.io/apiserver/pkg/server/options imports
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc imports
	go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig: cannot find module providing package go.opentelemetry.io/otel/exporters/otlp/otlptrace/internal/otlpconfig
go: github.com/keptn/lifecycle-toolkit/metrics-operator/cmd/metrics/adapter imports
	k8s.io/apiserver/pkg/server/options imports
	k8s.io/component-base/tracing imports
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp imports
	go.opentelemetry.io/otel/metric/global: cannot find module providing package go.opentelemetry.io/otel/metric/global
go: github.com/keptn/lifecycle-toolkit/metrics-operator/cmd/metrics/adapter imports
	k8s.io/apiserver/pkg/server/options imports
	k8s.io/component-base/tracing imports
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp imports
	go.opentelemetry.io/otel/metric/instrument/syncfloat64: cannot find module providing package go.opentelemetry.io/otel/metric/instrument/syncfloat64
go: github.com/keptn/lifecycle-toolkit/metrics-operator/cmd/metrics/adapter imports
	k8s.io/apiserver/pkg/server/options imports
	k8s.io/component-base/tracing imports
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp imports
	go.opentelemetry.io/otel/metric/instrument/syncint64: cannot find module providing package go.opentelemetry.io/otel/metric/instrument/syncint64

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.67%. Comparing base (95f9f8e) to head (482b9a3).
Report is 133 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3645      +/-   ##
==========================================
+ Coverage   74.64%   74.67%   +0.02%     
==========================================
  Files         225      225              
  Lines       10131    10131              
==========================================
+ Hits         7562     7565       +3     
+ Misses       2198     2196       -2     
+ Partials      371      370       -1     

see 1 file with indirect coverage changes

Flag Coverage Δ
certificate-operator 47.20% <ø> (ø)
component-tests 58.04% <ø> (+0.24%) ⬆️
lifecycle-operator 76.22% <ø> (ø)
metrics-operator 76.17% <ø> (ø)
scheduler 34.59% <ø> (ø)

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

Signed-off-by: odubajDT <[email protected]>
Copy link

sonarcloud bot commented Aug 5, 2024

Copy link
Contributor Author

renovate bot commented Aug 5, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@odubajDT odubajDT merged commit ebc0c29 into main Aug 5, 2024
37 checks passed
@odubajDT odubajDT deleted the renovate/opentelemetry-go-monorepo branch August 5, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants