feat: upgrade OpenTelemetry to v1.45.0 and Go to 1.25 - #4863
Open
houseme wants to merge 3 commits into
Open
Conversation
Upgrade all go.opentelemetry.io/otel packages from v1.38.0 to v1.45.0 across the entire monorepo, and bump minimum Go version from 1.23 to 1.25 (required by otel v1.39.0+). Key dependency upgrades: - go.opentelemetry.io/otel v1.38.0 → v1.45.0 - go.opentelemetry.io/otel/sdk v1.38.0 → v1.45.0 - go.opentelemetry.io/otel/trace v1.38.0 → v1.45.0 - go.opentelemetry.io/otel/metric v1.38.0 → v1.45.0 - go.opentelemetry.io/otel/exporters/prometheus v0.60.0 → v0.67.0 - go.opentelemetry.io/contrib/instrumentation/runtime v0.63.0 → v0.70.0 - go.opentelemetry.io/auto/sdk v1.1.0 → v1.2.1 - go.opentelemetry.io/proto/otlp v1.7.1 → v1.11.0 Code fix: - contrib/metric/otelmetric: runtime.Version() → runtime.Version (function became a constant in contrib/runtime v0.70.0)
…p lint config CI workflow updates: - ci-main.yml, ci-sub.yml: drop Go 1.23/1.24 from test matrix (min is now 1.25) - golangci-lint.yml: pin golangci-lint to v2.13.1, add concurrency cancellation .golangci.yml cleanup: - Remove stale govet.settings referencing internal golangci-lint packages - Remove stale v1-format settings (initialisms, dot-import-whitelist, http-status-code-whitelist) that don't exist in golangci-lint v2 - Reformat staticcheck.checks to multi-line YAML for readability - Fix gci section typo: gfcontrib → gf/contrib (missing slash)
Contributor
|
wait v2.11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrade all
go.opentelemetry.io/otelpackages from v1.38.0 → v1.45.0 across the entire monorepo, and bump minimum Go version from 1.23 → 1.25 (required by otel v1.39.0+).Dependency Changes
go.opentelemetry.io/otelgo.opentelemetry.io/otel/sdkgo.opentelemetry.io/otel/tracego.opentelemetry.io/otel/metricgo.opentelemetry.io/otel/sdk/metricgo.opentelemetry.io/otel/exporters/otlp/otlptracego.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcgo.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttpgo.opentelemetry.io/otel/exporters/prometheusgo.opentelemetry.io/contrib/instrumentation/runtimego.opentelemetry.io/auto/sdkgo.opentelemetry.io/proto/otlpCode Fix
contrib/metric/otelmetric/otelmetric_provider.go:runtime.Version()→runtime.Version(function became a constant in contrib/runtime v0.70.0)Go Version
All 33
go.modfiles bumped fromgo 1.23.0togo 1.25.0.Verification
otelmetrictests passgrpcxtests passmake tidycompletes cleanly