mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
test
This commit is contained in:
parent
d2478f1f82
commit
7839ba97e6
1 changed files with 4 additions and 4 deletions
|
|
@ -24,18 +24,18 @@ let tests (signal_batches : Client.Signal.t list) =
|
||||||
List.map
|
List.map
|
||||||
(fun (lr : L.log_record) ->
|
(fun (lr : L.log_record) ->
|
||||||
let lr = L.copy_log_record lr in
|
let lr = L.copy_log_record lr in
|
||||||
L.set_log_record_time_unix_nano lr 0L;
|
L.log_record_set_time_unix_nano lr 0L;
|
||||||
L.set_log_record_observed_time_unix_nano lr 0L;
|
L.log_record_set_observed_time_unix_nano lr 0L;
|
||||||
lr)
|
lr)
|
||||||
sl.log_records
|
sl.log_records
|
||||||
in
|
in
|
||||||
let sl = L.copy_scope_logs sl in
|
let sl = L.copy_scope_logs sl in
|
||||||
L.set_scope_logs_log_records sl masked_log_records;
|
L.scope_logs_set_log_records sl masked_log_records;
|
||||||
sl)
|
sl)
|
||||||
l.scope_logs
|
l.scope_logs
|
||||||
in
|
in
|
||||||
let l = L.copy_resource_logs l in
|
let l = L.copy_resource_logs l in
|
||||||
L.set_resource_logs_scope_logs l masked_scope_logs;
|
L.resource_logs_set_scope_logs l masked_scope_logs;
|
||||||
l)
|
l)
|
||||||
|> List.iter (Format.printf "%a\n" L.pp_resource_logs)
|
|> List.iter (Format.printf "%a\n" L.pp_resource_logs)
|
||||||
| _ -> ())
|
| _ -> ())
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue