diff --git a/tests/logs/test_logs_e2e.expected b/tests/logs/test_logs_e2e.expected index e408710e..58c42959 100644 --- a/tests/logs/test_logs_e2e.expected +++ b/tests/logs/test_logs_e2e.expected @@ -8,7 +8,7 @@ { key = "src"; value = Some(String_value("application")); }; { key = "my_reporter_attr"; value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -16,7 +16,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -25,16 +25,16 @@ severity_text = "debug"; body = Some(String_value("emit_logs: starting")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -46,7 +46,7 @@ { key = "src"; value = Some(String_value("application")); }; { key = "my_reporter_attr"; value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -54,7 +54,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -63,16 +63,16 @@ severity_text = "info"; body = Some(String_value("emit_logs: info log")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -86,7 +86,7 @@ { key = "src"; value = Some(String_value("application")); }; { key = "my_reporter_attr"; value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -94,7 +94,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -103,16 +103,16 @@ severity_text = "warning"; body = Some(String_value("emit_logs: warn log")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -128,7 +128,7 @@ value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -136,7 +136,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -145,16 +145,16 @@ severity_text = "error"; body = Some(String_value("emit_logs: error log")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -170,7 +170,7 @@ value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -178,7 +178,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -187,16 +187,16 @@ severity_text = "app"; body = Some(String_value("emit_logs: app log")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -221,7 +221,7 @@ value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -229,7 +229,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -241,16 +241,16 @@ String_value( "emit_logs: this log is emitted with varied tags from a span")); attributes = []; - dropped_attributes_count = 0; - flags = 0; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) trace_id = ; span_id = ; } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -275,7 +275,7 @@ value = Some(String_value("foo")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -283,7 +283,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -295,16 +295,16 @@ String_value( "emit_logs: this log will be emitted with varied tags")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } { resource = Some( @@ -322,7 +322,7 @@ value = Some(String_value("bar")); } ]; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); scope_logs = [{ scope = @@ -330,7 +330,7 @@ { name = "ocaml-otel"; version = "%%VERSION_NUM%%"; attributes = []; - dropped_attributes_count = 0; + dropped_attributes_count = 0;(* absent *) }); log_records = [{ time_unix_nano = 0; @@ -342,14 +342,14 @@ String_value( "emit_logs: this log will be emitted from otel and fmt reporter")); attributes = []; - dropped_attributes_count = 0; - flags = 0; - trace_id = ; - span_id = ; + dropped_attributes_count = 0;(* absent *) + flags = 0;(* absent *) + trace_id = ;(* absent *) + span_id = ;(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) } ]; - schema_url = ""; + schema_url = "";(* absent *) }