prometheus ~master (2021-10-31T09:45:38.6099948)
Dub
Repo
Histogram
prometheus
histogram
Undocumented in source.
@
safe
class
Histogram :
Metric
{
this
(string name, string help, string[] labels, double[] buckets);
void
observe
(double value, string[] labelValues);
MetricSnapshot
collect
();
}
Constructors
this
this
(string name, string help, string[] labels, double[] buckets)
Undocumented in source.
Members
Functions
collect
MetricSnapshot
collect
()
Undocumented in source. Be warned that the author may not have intended to support it.
observe
void
observe
(double value, string[] labelValues)
Undocumented in source. Be warned that the author may not have intended to support it.
Inherited Members
From Metric
name
string
name
;
Undocumented in source.
help
string
help
;
Undocumented in source.
labels
string
[]
labels
;
Undocumented in source.
observe
void
observe
(double value, string[] labelValues)
Undocumented in source.
collect
MetricSnapshot
collect
()
Undocumented in source.
register
Metric
register
()
Undocumented in source. Be warned that the author may not have intended to support it.
register
Metric
register
(Registry reg)
Undocumented in source. Be warned that the author may not have intended to support it.
posixTime
long
posixTime
()
I hate this hack, but it's what I have
Meta
Source
See Implementation
prometheus
histogram
classes
Buckets
Histogram
structs
HistogramBucket