penumbra_dex::component::metrics

Trait PrometheusBuilderExt

Source
pub trait PrometheusBuilderExt
where Self: Sized,
{ // Required method fn set_buckets_for_dex_metrics(self) -> Result<Self, BuildError>; }
Available on crate feature component only.
Expand description

An extension trait providing DEX-related interfaces for [PrometheusBuilder].

Required Methods§

Source

fn set_buckets_for_dex_metrics(self) -> Result<Self, BuildError>

Configure buckets for histogram metrics.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl PrometheusBuilderExt for PrometheusBuilder

Source§

fn set_buckets_for_dex_metrics(self) -> Result<Self, BuildError>

Implementors§