label() = {label_name(), label_value()}
label_name() = term()
label_value() = term()
counter_metric(Value) -> prometheus_model:'Metric'()
counter_metric(Labels, Value) -> prometheus_model:'Metric'()
counter_metrics(Specs) -> any()
Equivalent to
lists:map(fun counter_metric/1, Specs)
.
create_mf(Name, Help, Type, Collector, CollectorData) -> MetricFamily
gauge_metric(Value) -> prometheus_model:'Metric'()
gauge_metric(Labels, Value) -> prometheus_model:'Metric'()
gauge_metrics(Values) -> any()
Equivalent to
lists:map(fun gauge_metric/1, Values)
.
histogram_metric(X1) -> any()
histogram_metric(Labels, Buckets, Count, Sum) -> Metric
histogram_metrics(Specs) -> any()
Equivalent to
lists:map(fun histogram_metric/1, Specs)
.
label_pair(X1::label()) -> prometheus_model:'LabelPair'()
label_pairs(Labels) -> any()
Equivalent to
lists:map(fun label_pair/1, Labels)
.
summary_metric(Spec) -> prometheus_model:'Metric'()
summary_metric(Count, Sum) -> any()
Equivalent to summary_metric([], Count, Sum).
summary_metric(Labels, Count, Sum) -> prometheus_model:'Metric'()
summary_metrics(Specs) -> any()
Equivalent to
lists:map(fun summary_metric/1, Specs)
.
Generated by EDoc, Aug 15 2016, 18:56:23.