Repository navigation
security(deps): upgrade otel log sdk to v0.21.0 - #4047
Conversation
✅ Deploy Preview for testcontainers-go ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
Summary by CodeRabbit
WalkthroughFour OpenTelemetry logging dependencies in the Grafana LGTM module were updated. The logging bridge moved from v0.19.0 to v0.20.0. The OTLP log exporter, OpenTelemetry log API, and SDK log modules moved from v0.20.0 to v0.21.0. ChangesOpenTelemetry logging dependencies
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Suggested reviewers: Merge Risk: ⚪ Minimal · up to
|
What does this PR do?
Upgrade the Grafana LGTM module's OpenTelemetry log SDK and API from v0.20.0 to v0.21.0. Also upgrade the OTLP HTTP log exporter to v0.21.0 and the
otelslogbridge to v0.20.0, which support the updated log API's attribute types.Changes are limited to
modules/grafana-lgtm/go.modandgo.sum.Why is it important?
Fixes GHSA-hjf4-fphr-2h65 (CVE-2026-81872): the log batch processor can busy-spin and exhaust CPU when export buffers are full. The Grafana LGTM example uses
NewBatchProcessor.Related issues
How to test this PR
Passed locally from
modules/grafana-lgtm:Docker integration tests are left to CI's AMD64 runner: the pinned
grafana/otel-lgtm:0.6.0image is AMD64-only and fails withexec format erroron the local ARM64 Docker host. CI selects onlymodules/grafana-lgtmfor this diff.