mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-09 12:23:32 -04:00
type error fixed
This commit is contained in:
parent
1bedb57123
commit
619b389322
1 changed files with 2 additions and 0 deletions
|
|
@ -732,6 +732,8 @@ module Logs = struct
|
|||
| None -> observed_time_unix_nano
|
||||
| Some t -> t
|
||||
in
|
||||
let trace_id = Option.map Trace_id.to_bytes trace_id in
|
||||
let span_id = Option.map Span_id.to_bytes span_id in
|
||||
let body = _conv_value body in
|
||||
default_log_record
|
||||
~time_unix_nano ~observed_time_unix_nano
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue