Struct ore::metrics::third_party_metric::ThirdPartyMetric [−][src]
metrics
only.Expand description
A metric that can be made accessible to cloud infrastructure/orchestrators, that won’t betray the contents of the materialize instance that it details.
Fields
inner: T
Implementations
Creates a metric that can be scraped by a third party, with the given label values.
pub fn get_third_party_delete_on_drop_counter<'a, L: PromLabelsExt<'a>>(
&self,
labels: L
) -> DeleteOnDropCounter<'a, P, L>
pub fn get_third_party_delete_on_drop_counter<'a, L: PromLabelsExt<'a>>(
&self,
labels: L
) -> DeleteOnDropCounter<'a, P, L>
Creates a delete-on-drop counter that can be scraped by third parties.
pub fn get_third_party_delete_on_drop_gauge<'a, L: PromLabelsExt<'a>>(
&self,
labels: L
) -> DeleteOnDropGauge<'a, P, L>
pub fn get_third_party_delete_on_drop_gauge<'a, L: PromLabelsExt<'a>>(
&self,
labels: L
) -> DeleteOnDropGauge<'a, P, L>
Creates a delete-on-drop gauge that can be scraped by third parties.
Methods from Deref<Target = GenericCounter<T>>
The fully qualified name for this counter
This is the name with no labels, and corresponds to desc().fq_name
on
the Collector
trait.
Return a GenericLocalCounter
for single thread usage.
Trait Implementations
type Target = GenericCounter<T>
type Target = GenericCounter<T>
The resulting type after dereferencing.
type Target = GenericGauge<T>
type Target = GenericGauge<T>
The resulting type after dereferencing.
Auto Trait Implementations
impl<T> RefUnwindSafe for ThirdPartyMetric<T> where
T: RefUnwindSafe,
impl<T> Send for ThirdPartyMetric<T>
impl<T> Sync for ThirdPartyMetric<T>
impl<T> Unpin for ThirdPartyMetric<T> where
T: Unpin,
impl<T> UnwindSafe for ThirdPartyMetric<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
The equivalent of Access::load
.
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