recordHistogram static method
Records a histogram value (useful for distributions).
Implementation
static void recordHistogram(
String name,
num value, {
Map<String, String>? tags,
}) {
if (!_enabled) return;
record(
Metric(name: name, type: MetricType.histogram, value: value, tags: tags),
);
}