package opentelemetry-lwt

  1. Overview
  2. Docs
Lwt-compatible instrumentation for https://opentelemetry.io

Install

Dune Dependency

Authors

Maintainers

Sources

v0.5.tar.gz
md5=22afc1c6bc7e2397d5796776d5fb542b
sha512=26ffd7233439a9a419ed0415b5884b61ee3b8f6bf44505b446065fe99d75f6b062db5236eac6c6641c9d2f294d0a1d3d44f1d44378cc9bcad872bca84767636c

CHANGES.md.html

0.5

  • new implementation for ocurl backend, using ezcurl and queues

  • refactor lwt: Use try%lwt over Lwt.catch

  • add opentelemetry.trace (optional, depends on trace)

0.4

  • expose Scope.get_surrounding

  • rehault of GC metrics

  • Trace.with_ now has force_new_trace_id param

  • use thread-local storage to store global scope

  • add Span_link module

  • add a Globals.default_span_kind ref to specify default span kind

  • fix(otel-lwt): missing modules now re-exported

  • fix(client-ocurl): fix tick version used in the absence of bg thread

  • drop dep on ocaml-protoc as the generated code is checked-in

  • update vendored otel to 0.19

0.3

  • improve error reporting from ocurl exporter

  • improve GC sample collection

  • feat(ocurl): simpler, cleaner backend implementation, with graceful exit

  • config: make Config.t private (breaking)

0.2

  • require pbrt only, use ocaml-protoc as a lint

  • add Metrics_callbacks module

  • add histogram metrics (untested)

  • basic support for logs

  • expose tick function (useful in the absence of a background thread)

  • debug the library is set via OTEL_OCAML_DEBUG

  • provide conventions for standard metrics

  • add runtime attrs to GC stats

OCaml

Innovation. Community. Security.