mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 20:07:55 -04:00
Merge pull request #91 from shonfeder/fix-build-warnings
Fix a few build warnings
This commit is contained in:
commit
8779823fda
2 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
module TLS = Thread_local_storage
|
|
||||||
module Fiber = Eio.Fiber
|
module Fiber = Eio.Fiber
|
||||||
|
|
||||||
open struct
|
open struct
|
||||||
|
|
|
||||||
|
|
@ -1226,9 +1226,9 @@ module Trace = struct
|
||||||
}
|
}
|
||||||
[@@deprecated "use Scope.t"]
|
[@@deprecated "use Scope.t"]
|
||||||
|
|
||||||
let add_event = Scope.add_event [@@deprecated "use Scope.add_event"]
|
let (add_event [@deprecated "use Scope.add_event"]) = Scope.add_event
|
||||||
|
|
||||||
let add_attrs = Scope.add_attrs [@@deprecated "use Scope.add_attrs"]
|
let (add_attrs [@deprecated "use Scope.add_attrs"]) = Scope.add_attrs
|
||||||
|
|
||||||
let with_' ?(force_new_trace_id = false) ?trace_state ?service_name
|
let with_' ?(force_new_trace_id = false) ?trace_state ?service_name
|
||||||
?(attrs : (string * [< value ]) list = []) ?kind ?trace_id ?parent ?scope
|
?(attrs : (string * [< value ]) list = []) ?kind ?trace_id ?parent ?scope
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue