mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
readme
This commit is contained in:
parent
34a4a87fc3
commit
28b78cd741
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@ MIT
|
|||
* [x] batching, perf, etc.
|
||||
- [ ] async collector relying on ocurl-multi
|
||||
- [ ] interface with `logs` (carry context around)
|
||||
- [x] implicit scope (via [ambient-context][])
|
||||
- [x] implicit scope (via vendored `ambient-context`, see `opentelemetry.ambient-context`)
|
||||
|
||||
## Use
|
||||
|
||||
|
|
@ -36,7 +36,7 @@ For now, instrument traces/spans, logs, and metrics manually:
|
|||
|
||||
```ocaml
|
||||
module Otel = Opentelemetry
|
||||
let (let@) f x = f x
|
||||
let (let@) = (@@)
|
||||
|
||||
let foo () =
|
||||
let@ scope = Otel.Trace.with_ "foo"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue