mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
timestamp_ns.pp_debug: use full RFC3339 to print timestamps
it's easier to copy/paste or post-process, it's still very readable, and you can see the microseconds.
This commit is contained in:
parent
14cd25d289
commit
05ad0421db
1 changed files with 1 additions and 1 deletions
|
|
@ -18,4 +18,4 @@ let pp_debug out (self : t) =
|
|||
| Some span ->
|
||||
(match Ptime.add_span Ptime.epoch span with
|
||||
| None -> Format.fprintf out "ts: <%Ld ns>" self
|
||||
| Some ptime -> Ptime.pp_human () out ptime)
|
||||
| Some ptime -> Ptime.pp_rfc3339 ~space:false ~frac_s:6 () out ptime)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue