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