mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 04:17:56 -04:00
(- fix) Use new TLS-module naming from ac.0.1.0
This commit is contained in:
parent
caade960b6
commit
057a27abe9
3 changed files with 7 additions and 8 deletions
|
|
@ -1,7 +1,6 @@
|
||||||
|
|
||||||
(library
|
(library
|
||||||
(name opentelemetry_trace)
|
(name opentelemetry_trace)
|
||||||
(public_name opentelemetry.trace)
|
(public_name opentelemetry.trace)
|
||||||
(synopsis "Use opentelemetry as a collector for trace")
|
(synopsis "Use opentelemetry as a collector for trace")
|
||||||
(optional)
|
(optional)
|
||||||
(libraries ambient-context trace opentelemetry))
|
(libraries ambient-context ambient-context.tls trace opentelemetry))
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module Otel = Opentelemetry
|
module Otel = Opentelemetry
|
||||||
module Otrace = Trace (* ocaml-trace *)
|
module Otrace = Trace (* ocaml-trace *)
|
||||||
module TLS = Ambient_context_tls.Thread_local
|
module TLS = Ambient_context_tls.TLS
|
||||||
|
|
||||||
module Well_known = struct
|
module Well_known = struct
|
||||||
let spankind_key = "otrace.spankind"
|
let spankind_key = "otrace.spankind"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module Otel := Opentelemetry
|
module Otel := Opentelemetry
|
||||||
module Otrace := Trace
|
module Otrace := Trace
|
||||||
module TLS := Ambient_context_tls.Thread_local
|
module TLS := Ambient_context_tls.TLS
|
||||||
|
|
||||||
(** [opentelemetry.trace] implements a {!Trace_core.Collector} for
|
(** [opentelemetry.trace] implements a {!Trace_core.Collector} for
|
||||||
{{:https://v3.ocaml.org/p/trace} ocaml-trace}.
|
{{:https://v3.ocaml.org/p/trace} ocaml-trace}.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue