Skip to content

instrumentation, log: add support for otel log collection.#663

Draft
klihub wants to merge 7 commits intocontainers:mainfrom
klihub:devel/otel/logging
Draft

instrumentation, log: add support for otel log collection.#663
klihub wants to merge 7 commits intocontainers:mainfrom
klihub:devel/otel/logging

Conversation

@klihub
Copy link
Copy Markdown
Collaborator

@klihub klihub commented Apr 16, 2026

This patch series:

  • reworks the internal logging backend using slog, allowing us to eventually move to structured logging
  • cleans up logging calls to consistently use the f-variants for formatted/non-structured logging
  • adds support for exporting logs to an opentelemetry compatible collector

Still a draft. I still need to at least

  • add e2e tests
  • update documentation
  • simplify a bit more the log handlers

klihub added 3 commits April 16, 2026 10:51
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Bump golang to v1.26.0 and golangci-lint to v2.11.4.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Use log.Debugf, log.Infof, log.Warnf, and log.Errorf consistently
everywhere for formatted logging.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
@klihub klihub force-pushed the devel/otel/logging branch 2 times, most recently from b5c7502 to 88d42a4 Compare April 16, 2026 08:01
klihub added 4 commits April 16, 2026 11:12
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Rework internal logger implementation using slog, allowing us
to eventually move to structured logging.

Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
@klihub klihub force-pushed the devel/otel/logging branch from 88d42a4 to 6efc5a8 Compare April 16, 2026 08:12
@klihub klihub requested a review from fmuyassarov April 16, 2026 08:13
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.

1 participant