Crate prometheus [−] [src]
Modules
proto |
Macros
histogram_opts |
Create a HistogramOpts |
labels |
Create labes with specify name-value pairs. |
opts |
Create an Opts. |
register_counter |
Create a Counter and register to default registry. |
register_counter_vec |
Create a CounterVec and register to default registry. |
register_gauge |
Create a Gauge and register to default registry. |
register_gauge_vec |
Create a GaugeVec and register to default registry. |
register_histogram |
Create a Histogram and register to default registry. |
register_histogram_vec |
Create a HistogramVec and register to default registry. |
register_untyped |
Create a Untyped and register to default registry. |
register_untyped_vec |
Create a UntypedVec and register to default registry. |
Structs
Counter |
|
Desc |
Desc is the descriptor used by every Prometheus Metric. It is essentially the immutable meta-data of a Metric. The normal Metric implementations included in this package manage their Desc under the hood. |
Gauge |
|
Histogram |
A |
HistogramOpts |
|
Opts |
|
Registry |
|
TextEncoder |
Implementation of an |
Untyped |
Untyped is a Metric that represents a single numerical value that can arbitrarily go up and down. |
Enums
Error |
The error types for prometheus. |
Constants
DEFAULT_BUCKETS |
|
TEXT_FORMAT |
The text format of metric family. |
Traits
Collector |
|
Encoder |
|
Functions
exponential_buckets |
|
gather |
|
linear_buckets |
|
register |
|
unregister |
|
Type Definitions
CounterVec |
|
GaugeVec |
|
HistogramVec |
|
Result |
A specialized Result type for prometheus. |
UntypedVec |
|