mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-12 05:26:17 -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
|
| None -> observed_time_unix_nano
|
||||||
| Some t -> t
|
| Some t -> t
|
||||||
in
|
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
|
let body = _conv_value body in
|
||||||
default_log_record
|
default_log_record
|
||||||
~time_unix_nano ~observed_time_unix_nano
|
~time_unix_nano ~observed_time_unix_nano
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue