From d2478f1f82904f5ef910279ff2f26413f2556e40 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Tue, 4 Nov 2025 15:32:02 -0500 Subject: [PATCH] update test output --- tests/core/t_size.expected | 200 ++++++++++++++++++------------------- 1 file changed, 100 insertions(+), 100 deletions(-) diff --git a/tests/core/t_size.expected b/tests/core/t_size.expected index 6ff5e856..a6f0adc3 100644 --- a/tests/core/t_size.expected +++ b/tests/core/t_size.expected @@ -4,8 +4,8 @@ res1: { resource = None; [{ scope = None; metrics = [{ name = "sum.foo"; - description = "";(* absent *) - unit_ = "";(* absent *) + description = "" (* absent *); + unit_ = "" (* absent *); data = Some( Sum( @@ -15,25 +15,25 @@ res1: { resource = None; time_unix_nano = 45; value = Some(As_int(10)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); }; { attributes = []; start_time_unix_nano = 52; time_unix_nano = 55; value = Some(As_int(20)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); } ]; aggregation_temporality = Aggregation_temporality_cumulative; - is_monotonic = false;(* absent *) + is_monotonic = false (* absent *); })); metadata = []; }; { name = "gauge.bar"; - description = "";(* absent *) - unit_ = "";(* absent *) + description = "" (* absent *); + unit_ = "" (* absent *); data = Some( Gauge( @@ -43,32 +43,32 @@ res1: { resource = None; time_unix_nano = 45; value = Some(As_double(10.)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); }; { attributes = []; start_time_unix_nano = 52; time_unix_nano = 55; value = Some(As_double(20.)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); } ]; })); metadata = []; } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } res1: { resource = None; scope_metrics = [{ scope = None; metrics = [{ name = "sum.foo"; - description = "";(* absent *) - unit_ = "";(* absent *) + description = "" (* absent *); + unit_ = "" (* absent *); data = Some( Sum( @@ -78,25 +78,25 @@ res1: { resource = None; time_unix_nano = 45; value = Some(As_int(10)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); }; { attributes = []; start_time_unix_nano = 52; time_unix_nano = 55; value = Some(As_int(20)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); } ]; aggregation_temporality = Aggregation_temporality_cumulative; - is_monotonic = false;(* absent *) + is_monotonic = false (* absent *); })); metadata = []; }; { name = "gauge.bar"; - description = "";(* absent *) - unit_ = "";(* absent *) + description = "" (* absent *); + unit_ = "" (* absent *); data = Some( Gauge( @@ -106,24 +106,24 @@ res1: { resource = None; time_unix_nano = 45; value = Some(As_double(10.)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); }; { attributes = []; start_time_unix_nano = 52; time_unix_nano = 55; value = Some(As_double(20.)); exemplars = []; - flags = 0;(* absent *) + flags = 0 (* absent *); } ]; })); metadata = []; } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } trace size: 371B trace1: { resource = None; @@ -132,111 +132,111 @@ trace1: { resource = None; spans = [{ trace_id = ; span_id = ; - trace_state = "";(* absent *) - parent_span_id = ;(* absent *) - flags = 0;(* absent *) + trace_state = "" (* absent *); + parent_span_id = (* absent *); + flags = 0 (* absent *); name = "sp1"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 10; end_time_unix_nano = 15; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp2"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 20; end_time_unix_nano = 25; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp3"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 30; end_time_unix_nano = 35; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp4"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 40; end_time_unix_nano = 45; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp5"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 50; end_time_unix_nano = 55; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp6"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 60; end_time_unix_nano = 65; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } trace2: { resource = None; scope_spans = @@ -244,109 +244,109 @@ trace2: { resource = None; spans = [{ trace_id = ; span_id = ; - trace_state = "";(* absent *) - parent_span_id = ;(* absent *) - flags = 0;(* absent *) + trace_state = "" (* absent *); + parent_span_id = (* absent *); + flags = 0 (* absent *); name = "sp1"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 10; end_time_unix_nano = 15; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp2"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 20; end_time_unix_nano = 25; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp3"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 30; end_time_unix_nano = 35; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp4"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 40; end_time_unix_nano = 45; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp5"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 50; end_time_unix_nano = 55; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; }; { trace_id = ; span_id = ; - trace_state = "";(* absent *) + trace_state = "" (* absent *); parent_span_id = ; - flags = 0;(* absent *) + flags = 0 (* absent *); name = "sp6"; - kind = Span_kind_unspecified;(* absent *) + kind = Span_kind_unspecified (* absent *); start_time_unix_nano = 60; end_time_unix_nano = 65; attributes = []; - dropped_attributes_count = 0;(* absent *) + dropped_attributes_count = 0 (* absent *); events = []; - dropped_events_count = 0;(* absent *) + dropped_events_count = 0 (* absent *); links = []; - dropped_links_count = 0;(* absent *) + dropped_links_count = 0 (* absent *); status = None; } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); } ]; - schema_url = "";(* absent *) + schema_url = "" (* absent *); }