Crate prometheus [−] [src]
Modules
| local | |
| proto |
Protocol buffers format of metrics. |
Macros
| histogram_opts |
Create a |
| labels |
Create labes with specify name-value pairs. |
| opts |
Create an |
| register_counter |
Create a |
| register_counter_vec |
Create a |
| register_gauge |
Create a |
| register_gauge_vec |
Create a |
| register_histogram |
Create a |
| register_histogram_vec |
Create a |
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 |
|
| HistogramTimer |
|
| MetricVec |
|
| Opts |
|
| ProtobufEncoder |
Implementation of an |
| Registry |
|
| TextEncoder |
Implementation of an |
Enums
| Error |
The error types for prometheus. |
Constants
| DEFAULT_BUCKETS |
|
| PROTOBUF_FORMAT |
The protocol buffer format of metric family. |
| 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. |