package obs-eio

  1. Overview
  2. Docs
Eio-native observability handle: tracing, structured logging, and metrics

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1.0.tar.gz
md5=e233ef5e93a703d917d160e60b90e664
sha512=9feb606b84dd675fc9fde224544c9bffafad1196bb0f7d6414f0af8a8b892218925581db5dfe9431566c406155ff7b7ec54f77e034b279295400406e5eb12002

doc/CHANGES.html

Changes

Unreleased

  • API change: Obs_trace.t is now a private record, so callers can inspect parsed/generated contexts but cannot construct W3C-invalid ones directly.
  • Obs_trace.of_traceparent now rejects all-zero trace IDs and span IDs, as required by the W3C trace context spec.
  • Obs_trace.generate and Obs_trace.child_span now avoid the same reserved all-zero trace ID and span ID values.
  • Obs_eio.create now accepts ?on_backend_error, a per-handle callback for synchronous backend failures. The callback receives a typed backend operation and is itself protected; cancellation still propagates.
  • Metric registration now rejects conflicting declarations for the same metric name (kind, label names, or help text) before calling the backend.

0.1.0

  • Initial standalone OPAM package: core observability handle, traceparent helpers, structured span logs, and metric declaration/emission.