mirror of
https://github.com/ocaml-tracing/ocaml-opentelemetry.git
synced 2026-03-08 03:47:59 -04:00
- Meter is new, and makes more sense than Metrics_callbacks/Metrics_emitter - Instrument in core, with some basic counters, gauges, and histograms, + the possibility to do one's own
100 lines
2.8 KiB
Text
100 lines
2.8 KiB
Text
{ name = "test.latency";
|
|
description = "test histogram";
|
|
unit_ = "" (* absent *);
|
|
data =
|
|
Some(
|
|
Histogram(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 0 (* absent *);
|
|
time_unix_nano = 0;
|
|
count = 4;
|
|
sum = 15.;
|
|
bucket_counts = [1;1;1;1];
|
|
explicit_bounds = [1.;2.;5.];
|
|
exemplars = [];
|
|
flags = 0 (* absent *);
|
|
min = 0. (* absent *);
|
|
max = 0. (* absent *);
|
|
}
|
|
];
|
|
aggregation_temporality =
|
|
Aggregation_temporality_unspecified (* absent *);
|
|
}));
|
|
metadata = [];
|
|
}
|
|
{ name = "test.size";
|
|
description = "" (* absent *);
|
|
unit_ = "" (* absent *);
|
|
data =
|
|
Some(
|
|
Histogram(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 0 (* absent *);
|
|
time_unix_nano = 0;
|
|
count = 4;
|
|
sum = 2.6;
|
|
bucket_counts = [3;1;0];
|
|
explicit_bounds = [1.;5.];
|
|
exemplars = [];
|
|
flags = 0 (* absent *);
|
|
min = 0. (* absent *);
|
|
max = 0. (* absent *);
|
|
}
|
|
];
|
|
aggregation_temporality =
|
|
Aggregation_temporality_unspecified (* absent *);
|
|
}));
|
|
metadata = [];
|
|
}
|
|
{ name = "test.empty";
|
|
description = "" (* absent *);
|
|
unit_ = "" (* absent *);
|
|
data =
|
|
Some(
|
|
Histogram(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 0 (* absent *);
|
|
time_unix_nano = 0;
|
|
count = 0;
|
|
sum = 0.;
|
|
bucket_counts = [0;0;0;0];
|
|
explicit_bounds = [1.;2.;5.];
|
|
exemplars = [];
|
|
flags = 0 (* absent *);
|
|
min = 0. (* absent *);
|
|
max = 0. (* absent *);
|
|
}
|
|
];
|
|
aggregation_temporality =
|
|
Aggregation_temporality_unspecified (* absent *);
|
|
}));
|
|
metadata = [];
|
|
}
|
|
{ name = "test.boundary";
|
|
description = "" (* absent *);
|
|
unit_ = "" (* absent *);
|
|
data =
|
|
Some(
|
|
Histogram(
|
|
{ data_points =
|
|
[{ attributes = [];
|
|
start_time_unix_nano = 0 (* absent *);
|
|
time_unix_nano = 0;
|
|
count = 3;
|
|
sum = 8.;
|
|
bucket_counts = [1;1;1;0];
|
|
explicit_bounds = [1.;2.;5.];
|
|
exemplars = [];
|
|
flags = 0 (* absent *);
|
|
min = 0. (* absent *);
|
|
max = 0. (* absent *);
|
|
}
|
|
];
|
|
aggregation_temporality =
|
|
Aggregation_temporality_unspecified (* absent *);
|
|
}));
|
|
metadata = [];
|
|
}
|