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

fix(deps): update go opentelemetry packages and libraries #220

Merged
merged 2 commits into from
Aug 8, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 5, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/XSAM/otelsql v0.29.0 -> v0.32.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.49.0 -> v0.53.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/github.com/labstack/echo/otelecho v0.49.0 -> v0.53.0 age adoption passing confidence
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 -> v0.53.0 age adoption passing confidence
go.opentelemetry.io/otel v1.24.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.24.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.24.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/sdk v1.24.0 -> v1.28.0 age adoption passing confidence
go.opentelemetry.io/otel/trace v1.24.0 -> v1.28.0 age adoption passing confidence

Release Notes

XSAM/otelsql (github.com/XSAM/otelsql)

v0.32.0

Compare Source

0.32.0 - 2024-07-05

Changed
  • Upgrade OTel to version v1.28.0/v0.50.0. (#​310)

v0.31.0

Compare Source

0.31.0 - 2024-05-02

Changed
  • Fallback the check of driver.NamedValueChecker to Conn in Stmt. (#​243)
    So, the otelsql can keep the original check order in database/sql for value checkers in the following order,
    stopping at the first found match: Stmt.NamedValueChecker, Conn.NamedValueChecker.
  • Upgrade OTel to version v1.26.0/v0.48.0. (#​244)

v0.30.0

Compare Source

0.30.0 - 2024-04-15

⚠️ Notice ⚠️

The minimum supported Go version is 1.21.

Changed
  • Upgrade OTel to version v1.25.0/v0.47.0. (#​238)
Removed
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 - 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.

👻 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.

@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 82adc3d to 4150480 Compare April 5, 2024 19:45
@renovate renovate bot changed the title fix(deps): update go opentelemetry packages and libraries to v1.25.0 fix(deps): update go opentelemetry packages and libraries Apr 5, 2024
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 4150480 to 16ae6ce Compare April 15, 2024 21:27
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 16ae6ce to c876530 Compare April 24, 2024 17:23
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from c876530 to a4f5e4d Compare May 3, 2024 04:33
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from a4f5e4d to 0ba4853 Compare May 21, 2024 23:28
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 0ba4853 to bd9bbbf Compare July 2, 2024 21:06
Copy link
Contributor Author

renovate bot commented Jul 2, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 17 additional dependencies were updated

Details:

Package Change
github.com/gin-gonic/gin v1.9.1 -> v1.10.0
golang.org/x/oauth2 v0.19.0 -> v0.20.0
github.com/bytedance/sonic v1.11.3 -> v1.11.9
github.com/gabriel-vasile/mimetype v1.4.3 -> v1.4.4
github.com/klauspost/cpuid/v2 v2.2.7 -> v2.2.8
golang.org/x/arch v0.7.0 -> v0.8.0
google.golang.org/genproto/googleapis/api v0.0.0-20240311132316-a219d84964c2 -> v0.0.0-20240701130421-f6361c86f094
google.golang.org/genproto/googleapis/rpc v0.0.0-20240314234333-6e1732d8331c -> v0.0.0-20240701130421-f6361c86f094
github.com/go-logr/logr v1.4.1 -> v1.4.2
github.com/go-playground/validator/v10 v10.19.0 -> v10.22.0
github.com/goccy/go-json v0.10.2 -> v0.10.3
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0 -> v2.20.0
github.com/pelletier/go-toml/v2 v2.2.0 -> v2.2.2
go.opentelemetry.io/otel/metric v1.24.0 -> v1.28.0
go.opentelemetry.io/proto/otlp v1.1.0 -> v1.3.1
google.golang.org/grpc v1.62.1 -> v1.64.0
google.golang.org/protobuf v1.33.0 -> v1.34.2

@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch 2 times, most recently from e4ad3c2 to bae54ef Compare July 6, 2024 07:08
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from bae54ef to 074fd1d Compare August 8, 2024 16:36
@renovate renovate bot requested review from a team as code owners August 8, 2024 16:36
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 074fd1d to 7abaeb6 Compare August 8, 2024 16:44
@renovate renovate bot force-pushed the renovate/opentelemetry-go-and-libraries branch from 7abaeb6 to d55db7b Compare August 8, 2024 16:47
Signed-off-by: Mike Mason <mimason@equinix.com>
@mikemrm mikemrm added this pull request to the merge queue Aug 8, 2024
Merged via the queue into main with commit 0b88a13 Aug 8, 2024
8 checks passed
@mikemrm mikemrm deleted the renovate/opentelemetry-go-and-libraries branch August 8, 2024 17:12
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.

2 participants