mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
update test output
This commit is contained in:
parent
81b6a81b0e
commit
5ef84a46c4
1 changed files with 62 additions and 62 deletions
|
|
@ -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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* 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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* 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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* 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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* 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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* 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 = <bytes len=16>;
|
||||
span_id = <bytes len=8>;
|
||||
}
|
||||
];
|
||||
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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* 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 = <bytes len=0>;
|
||||
span_id = <bytes len=0>;
|
||||
dropped_attributes_count = 0;(* absent *)
|
||||
flags = 0;(* absent *)
|
||||
trace_id = <bytes len=0>;(* absent *)
|
||||
span_id = <bytes len=0>;(* absent *)
|
||||
}
|
||||
];
|
||||
schema_url = "";
|
||||
schema_url = "";(* absent *)
|
||||
}
|
||||
];
|
||||
schema_url = "";
|
||||
schema_url = "";(* absent *)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue