hs-opentelemetry-instrumentation-katip

Bridge Katip structured logging to OpenTelemetry Logs

https://github.com/iand675/hs-opentelemetry#readme

Stackage Nightly 2026-07-30:1.0.0.0
Latest on Hackage:1.0.0.0

See all snapshots hs-opentelemetry-instrumentation-katip appears in

BSD-3-Clause licensed by Ian Duncan
Maintained by [email protected]
This version can be pinned in stack with:hs-opentelemetry-instrumentation-katip-1.0.0.0@sha256:581331de36c090ebd6191598466c3db9de907b5246fe71006c3105071117fce2,1848

Module documentation for 1.0.0.0

Provides a Katip Scribe that forwards structured log items to the OpenTelemetry Logs pipeline with automatic trace correlation. Katip's rich structured payloads (namespaces, JSON context, source locations) are preserved as OTel log record attributes.

Changes

Changelog for hs-opentelemetry-instrumentation-katip

1.0.0.0 - 2026-05-29

  • Promoted to 1.0.0.0 for the hs-opentelemetry 1.0 release.

0.1.0.0

  • Initial release.
  • Provides a Katip Scribe that forwards log items to the OpenTelemetry Logs pipeline.
  • Severity mapping: DebugSDebug, InfoSInfo, WarningSWarn, ErrorSError, CriticalS/AlertS/EmergencySFatal variants.
  • Structured Katip payloads serialised as log.payload.* attributes.
  • Standard OTel attributes emitted: thread.id, server.address, process.pid, code.filepath, code.function.name, code.lineno, katip.namespace.