package opentelemetry
Instrumentation for https://opentelemetry.io
Install
Dune Dependency
Authors
Maintainers
Sources
opentelemetry-0.11.1.tbz
sha256=0e289b62046daba6427d87276dba52c7d2adfc3d85723d29b3d97141ae522853
sha512=754ef48ee2883f5927dd0e6dcc28dfb2d8faee98be5952578f48515f58898063b6bc7a137bc68d9fbee2e5a8897c7af035e700e53ff202a6df79e74e1aeaf6d4
doc/CHANGES.html
0.11.1
- add missing sample argument to
Traceparent.to_value
0.11
- add
Span_kind.t
, add {kind,set_kind} toScope
- expose
Span_status
types - add
Scope.set_span_status
- add
record_exception
- otel.trace: extension points for links, record_exn, kind
- otel.trace: set status of a span based on
exception.message
- add cohttp upper bound version constraint
- in backends, call
tick()
before cleaning up - reduce memory usage of
Scope.t
(@tatchi) - remove dependency on ambient-context, vendor/inline/specialize it
0.10
- feat: add support for per-signal urls (by @tatchi)
- build: disable protobuf regeneration during normal library use
- fix: emit GC metrics even in the absence of custom metrics
0.9
- compat with trace 0.7
0.8
- feat: add dep on
hmap
, add standard keys to carry around a span context or trace id - add semantic conventions for code and HTTP
- better debug message in curl backend
- make otel-trace a bit more lightweight
0.7
- add Span_link.of_span_ctx, Scope.to_span_ctx, dummy values
- feat: add Span_context, as required by OTEL API guidelines
- feat: record backtraces in error spans
- compat with trace 0.6
- ocurl: add ticker_interval_ms config
- ocurl: do some self-tracing optionally
- move protobuf code to opentelemetry.proto
- perf: rewrite parsing+printing for span ctx as w3c trace ctx
- perf: when we get multiple messages, check batches only once
- perf: use ocaml-protoc 3.0.1 for codegen, with faster pbrt
0.6
- fix ticker thread shutdown
- migrated to OTEL proto files v1.0
- replace
Thread_local
withocaml-ambient-context
, allowing for implicit scope in Lwt/Eio contexts (#34) - update
ocaml-trace
interface to use the newtrace.0.3
-style API (breaking, see #34)
0.5
- new implementation for ocurl backend, using ezcurl and queues
- refactor lwt: Use
try%lwt
overLwt.catch
- add
opentelemetry.trace
(optional, depends onocaml-trace
)
0.4
- expose
Scope.get_surrounding
- rehault of GC metrics
Trace.with_
now hasforce_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