imandra-ai / ocaml-opentelemetry

Instrumentation for https://opentelemetry.io
http://docs.imandra.ai/ocaml-opentelemetry/
33 stars 7 forks source link

Add debug-wrapping backend #44

Closed ELLIOTTCABLE closed 9 months ago

ELLIOTTCABLE commented 1 year ago

Was initially creating this as a utility for a test-harness; but realized it's a bit of a cleaner approach to debugging that's external to any particular collector.

For the moment, I've left the existing debug machinery in both the clients; but some of it may be redundant now?

Additionally, this adds a "noop" collector, which when used with the Debug_collector functor, results in an implementation that just prints to stdout.

c-cube commented 10 months ago

Sorry I didn't come around to reviewing that earlier! I think it can be useful. @ELLIOTTCABLE would you rebase it?

ELLIOTTCABLE commented 9 months ago

Ah, sorry, this was already merged into master as 03f6f69bdd747e8b504c1f44d2d490ccec99b147 / as part of #34. 🙈