fix(monitoring): use otel.SetLoggerProvider #998

Merged
argoyle merged 1 commits from fix/otel-global-logger-deprecation into main 2026-10-07 19:25:33 +00:00
Owner

opentelemetry-go v1.47.0 (#990) deprecates go.opentelemetry.io/otel/log/global. staticcheck SA1019 in golangci-lint-full now fails pre-commit on every PR (e.g. #997).

Swap global.SetLoggerProvider for otel.SetLoggerProvider and drop the import. go mod tidy marks otel/log indirect. Locally: golangci-lint-full passed, go test ./... passed.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu

opentelemetry-go v1.47.0 (#990) deprecates `go.opentelemetry.io/otel/log/global`. staticcheck SA1019 in `golangci-lint-full` now fails pre-commit on every PR (e.g. #997). Swap `global.SetLoggerProvider` for `otel.SetLoggerProvider` and drop the import. `go mod tidy` marks `otel/log` indirect. Locally: `golangci-lint-full` passed, `go test ./...` passed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu
argoyle added 1 commit 2026-10-07 19:11:58 +00:00
fix(monitoring): use otel.SetLoggerProvider
schemas / check-release (pull_request) Failing after 2m45s
schemas / vulnerabilities (pull_request) Successful in 3m29s
schemas / check (pull_request) Successful in 4m5s
schemas / build (pull_request) Skipped
schemas / deploy-prod (pull_request) Skipped
pre-commit / pre-commit (pull_request) Successful in 9m44s
6f6fb5be68
opentelemetry-go v1.47.0 deprecates go.opentelemetry.io/otel/log/global in
favour of the equivalent otel APIs; staticcheck (SA1019) fails pre-commit
on every PR since the monorepo bump (#990).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu
argoyle merged commit 7d2773f6a1 into main 2026-10-07 19:25:33 +00:00
argoyle deleted branch fix/otel-global-logger-deprecation 2026-10-07 19:25:34 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: unboundsoftware/schemas#998