[ANN] opentelemetry 0.90 (and associated libraries)

Hello,

I’m thrilled to announce opentelemetry 0.90 (as well as opentelemetry-client, opentelemetry-client-cohttp-lwt, etc.).

Opentelemetry is an implementation of https://opentelemetry.io/ for OCaml; it covers both the core client API (for instrumentation of libraries, etc.) and the full SDK with various exporters. It is compatible with Trace.

This release is the result of months of work and is hopefully one of the last before 1.0. The changelog is pretty big, I reworked a lot of things; among others:

  • move to ocaml-protoc/pbrt 4.0 (with mutable fields and a different codegen for protobufs)
  • the API is closer to guidelines from https://opentelemetry.io (not fully there yet but better)
  • modularity of the internal processing of signals is much improved, with better code reuse, pluggable ~everything, better queueing/batching, HTTP retries
  • support for exporting as JSON instead of protobuf
  • support for trace 0.11, which allows opentelemetry.trace to eschew all its global state except for the global OTEL exporter
  • better lifecycle and cleanup

API documentation can be found here. As always, feedback, bug reports, etc are very welcome.

9 Likes

I upgraded to 0.9.
My dune build broke.
I read your changelog and fix it though.
Phew, I was mental for a bit.

1 Like