From 28b78cd7415f4a87a676afa61bdb9eca5290da2c Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Thu, 10 Apr 2025 15:36:06 -0400 Subject: [PATCH] readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 2023493e..bd5b0550 100644 --- a/README.md +++ b/README.md @@ -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"