Struct poem::endpoint::PrometheusExporter
source · [−]pub struct PrometheusExporter { /* private fields */ }
This is supported on crate feature
prometheus
only.Expand description
An endpoint that exports metrics for Prometheus.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
type Endpoint = PrometheusExporterEndpoint
type Endpoint = PrometheusExporterEndpoint
Represents the endpoint type.
Converts this object into endpoint.
Auto Trait Implementations
impl RefUnwindSafe for PrometheusExporter
impl Send for PrometheusExporter
impl Sync for PrometheusExporter
impl Unpin for PrometheusExporter
impl UnwindSafe for PrometheusExporter
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more