mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 20:07:55 -04:00
123 lines
4.8 KiB
Text
123 lines
4.8 KiB
Text
metrics size: 149B
|
|
res1: { resource = None;
|
|
scope_metrics =
|
|
[{ scope = None;
|
|
metrics =
|
|
[{ name = "sum.foo";
|
|
description = "";(* absent *)
|
|
unit_ = "";(* absent *)
|
|
data =
|
|
Some(
|
|
Sum(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 42;
|
|
time_unix_nano = 45;
|
|
value = Some(As_int(10));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
};
|
|
{ attributes = [];
|
|
start_time_unix_nano = 52;
|
|
time_unix_nano = 55;
|
|
value = Some(As_int(20));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
}
|
|
];
|
|
aggregation_temporality =
|
|
Aggregation_temporality_cumulative;
|
|
is_monotonic = false;(* absent *)
|
|
}));
|
|
};
|
|
{ name = "gauge.bar";
|
|
description = "";(* absent *)
|
|
unit_ = "";(* absent *)
|
|
data =
|
|
Some(
|
|
Gauge(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 42;
|
|
time_unix_nano = 45;
|
|
value = Some(As_double(10.));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
};
|
|
{ attributes = [];
|
|
start_time_unix_nano = 52;
|
|
time_unix_nano = 55;
|
|
value = Some(As_double(20.));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
}
|
|
];
|
|
}));
|
|
}
|
|
];
|
|
schema_url = "";(* absent *)
|
|
}
|
|
];
|
|
schema_url = "";(* absent *)
|
|
}
|
|
res1: { resource = None;
|
|
scope_metrics =
|
|
[{ scope = None;
|
|
metrics =
|
|
[{ name = "sum.foo";
|
|
description = "";(* absent *)
|
|
unit_ = "";(* absent *)
|
|
data =
|
|
Some(
|
|
Sum(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 42;
|
|
time_unix_nano = 45;
|
|
value = Some(As_int(10));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
};
|
|
{ attributes = [];
|
|
start_time_unix_nano = 52;
|
|
time_unix_nano = 55;
|
|
value = Some(As_int(20));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
}
|
|
];
|
|
aggregation_temporality =
|
|
Aggregation_temporality_cumulative;
|
|
is_monotonic = false;(* absent *)
|
|
}));
|
|
};
|
|
{ name = "gauge.bar";
|
|
description = "";(* absent *)
|
|
unit_ = "";(* absent *)
|
|
data =
|
|
Some(
|
|
Gauge(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 42;
|
|
time_unix_nano = 45;
|
|
value = Some(As_double(10.));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
};
|
|
{ attributes = [];
|
|
start_time_unix_nano = 52;
|
|
time_unix_nano = 55;
|
|
value = Some(As_double(20.));
|
|
exemplars = [];
|
|
flags = 0;(* absent *)
|
|
}
|
|
];
|
|
}));
|
|
}
|
|
];
|
|
schema_url = "";(* absent *)
|
|
}
|
|
];
|
|
schema_url = "";(* absent *)
|
|
}
|