package opentelemetry-client-cohttp-lwt

  1. Overview
  2. Docs
Collector client for opentelemetry, using cohttp + lwt

Install

Dune Dependency

Authors

Maintainers

Sources

v0.6.tar.gz
md5=bb3860b2d9941bbb3680aef45f8db3d8
sha512=a66f9781fdef825addefa3a9c425a454c98f388ae0e476cf216a555d1573291347668a9aa6461ae17074b17504622cd77bbb2302edb55d18b32324d112e782ff

CHANGES.md.html

next version

0.6

  • fix ticker thread shutdown

  • migrated to OTEL proto files v1.0

  • replace Thread_local with ocaml-ambient-context, allowing for implicit scope in Lwt/Eio contexts (#34)

  • update ocaml-trace interface to use the new trace.0.3-style API (breaking, see #34)

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 ocaml-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