update test output

This commit is contained in:
Simon Cruanes 2025-11-04 15:32:02 -05:00
parent 2544493b35
commit d2478f1f82
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -4,8 +4,8 @@ res1: { resource = None;
[{ scope = None; [{ scope = None;
metrics = metrics =
[{ name = "sum.foo"; [{ name = "sum.foo";
description = "";(* absent *) description = "" (* absent *);
unit_ = "";(* absent *) unit_ = "" (* absent *);
data = data =
Some( Some(
Sum( Sum(
@ -15,25 +15,25 @@ res1: { resource = None;
time_unix_nano = 45; time_unix_nano = 45;
value = Some(As_int(10)); value = Some(As_int(10));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
}; };
{ attributes = []; { attributes = [];
start_time_unix_nano = 52; start_time_unix_nano = 52;
time_unix_nano = 55; time_unix_nano = 55;
value = Some(As_int(20)); value = Some(As_int(20));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
} }
]; ];
aggregation_temporality = aggregation_temporality =
Aggregation_temporality_cumulative; Aggregation_temporality_cumulative;
is_monotonic = false;(* absent *) is_monotonic = false (* absent *);
})); }));
metadata = []; metadata = [];
}; };
{ name = "gauge.bar"; { name = "gauge.bar";
description = "";(* absent *) description = "" (* absent *);
unit_ = "";(* absent *) unit_ = "" (* absent *);
data = data =
Some( Some(
Gauge( Gauge(
@ -43,32 +43,32 @@ res1: { resource = None;
time_unix_nano = 45; time_unix_nano = 45;
value = Some(As_double(10.)); value = Some(As_double(10.));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
}; };
{ attributes = []; { attributes = [];
start_time_unix_nano = 52; start_time_unix_nano = 52;
time_unix_nano = 55; time_unix_nano = 55;
value = Some(As_double(20.)); value = Some(As_double(20.));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
} }
]; ];
})); }));
metadata = []; metadata = [];
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
res1: { resource = None; res1: { resource = None;
scope_metrics = scope_metrics =
[{ scope = None; [{ scope = None;
metrics = metrics =
[{ name = "sum.foo"; [{ name = "sum.foo";
description = "";(* absent *) description = "" (* absent *);
unit_ = "";(* absent *) unit_ = "" (* absent *);
data = data =
Some( Some(
Sum( Sum(
@ -78,25 +78,25 @@ res1: { resource = None;
time_unix_nano = 45; time_unix_nano = 45;
value = Some(As_int(10)); value = Some(As_int(10));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
}; };
{ attributes = []; { attributes = [];
start_time_unix_nano = 52; start_time_unix_nano = 52;
time_unix_nano = 55; time_unix_nano = 55;
value = Some(As_int(20)); value = Some(As_int(20));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
} }
]; ];
aggregation_temporality = aggregation_temporality =
Aggregation_temporality_cumulative; Aggregation_temporality_cumulative;
is_monotonic = false;(* absent *) is_monotonic = false (* absent *);
})); }));
metadata = []; metadata = [];
}; };
{ name = "gauge.bar"; { name = "gauge.bar";
description = "";(* absent *) description = "" (* absent *);
unit_ = "";(* absent *) unit_ = "" (* absent *);
data = data =
Some( Some(
Gauge( Gauge(
@ -106,24 +106,24 @@ res1: { resource = None;
time_unix_nano = 45; time_unix_nano = 45;
value = Some(As_double(10.)); value = Some(As_double(10.));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
}; };
{ attributes = []; { attributes = [];
start_time_unix_nano = 52; start_time_unix_nano = 52;
time_unix_nano = 55; time_unix_nano = 55;
value = Some(As_double(20.)); value = Some(As_double(20.));
exemplars = []; exemplars = [];
flags = 0;(* absent *) flags = 0 (* absent *);
} }
]; ];
})); }));
metadata = []; metadata = [];
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
trace size: 371B trace size: 371B
trace1: { resource = None; trace1: { resource = None;
@ -132,111 +132,111 @@ trace1: { resource = None;
spans = spans =
[{ trace_id = <bytes len=16>; [{ trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=0>;(* absent *) parent_span_id = <bytes len=0> (* absent *);
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp1"; name = "sp1";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 10; start_time_unix_nano = 10;
end_time_unix_nano = 15; end_time_unix_nano = 15;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp2"; name = "sp2";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 20; start_time_unix_nano = 20;
end_time_unix_nano = 25; end_time_unix_nano = 25;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp3"; name = "sp3";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 30; start_time_unix_nano = 30;
end_time_unix_nano = 35; end_time_unix_nano = 35;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp4"; name = "sp4";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 40; start_time_unix_nano = 40;
end_time_unix_nano = 45; end_time_unix_nano = 45;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp5"; name = "sp5";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 50; start_time_unix_nano = 50;
end_time_unix_nano = 55; end_time_unix_nano = 55;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp6"; name = "sp6";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 60; start_time_unix_nano = 60;
end_time_unix_nano = 65; end_time_unix_nano = 65;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
trace2: { resource = None; trace2: { resource = None;
scope_spans = scope_spans =
@ -244,109 +244,109 @@ trace2: { resource = None;
spans = spans =
[{ trace_id = <bytes len=16>; [{ trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=0>;(* absent *) parent_span_id = <bytes len=0> (* absent *);
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp1"; name = "sp1";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 10; start_time_unix_nano = 10;
end_time_unix_nano = 15; end_time_unix_nano = 15;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp2"; name = "sp2";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 20; start_time_unix_nano = 20;
end_time_unix_nano = 25; end_time_unix_nano = 25;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp3"; name = "sp3";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 30; start_time_unix_nano = 30;
end_time_unix_nano = 35; end_time_unix_nano = 35;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp4"; name = "sp4";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 40; start_time_unix_nano = 40;
end_time_unix_nano = 45; end_time_unix_nano = 45;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp5"; name = "sp5";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 50; start_time_unix_nano = 50;
end_time_unix_nano = 55; end_time_unix_nano = 55;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
}; };
{ trace_id = <bytes len=16>; { trace_id = <bytes len=16>;
span_id = <bytes len=8>; span_id = <bytes len=8>;
trace_state = "";(* absent *) trace_state = "" (* absent *);
parent_span_id = <bytes len=8>; parent_span_id = <bytes len=8>;
flags = 0;(* absent *) flags = 0 (* absent *);
name = "sp6"; name = "sp6";
kind = Span_kind_unspecified;(* absent *) kind = Span_kind_unspecified (* absent *);
start_time_unix_nano = 60; start_time_unix_nano = 60;
end_time_unix_nano = 65; end_time_unix_nano = 65;
attributes = []; attributes = [];
dropped_attributes_count = 0;(* absent *) dropped_attributes_count = 0 (* absent *);
events = []; events = [];
dropped_events_count = 0;(* absent *) dropped_events_count = 0 (* absent *);
links = []; links = [];
dropped_links_count = 0;(* absent *) dropped_links_count = 0 (* absent *);
status = None; status = None;
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }
]; ];
schema_url = "";(* absent *) schema_url = "" (* absent *);
} }