Struct mz_persist_client::impl::metrics::MetricsVecs
source · [−]struct MetricsVecs {Show 20 fields
cmd_started: IntCounterVec,
cmd_cas_mismatch: IntCounterVec,
cmd_succeeded: IntCounterVec,
cmd_failed: IntCounterVec,
cmd_seconds: CounterVec,
external_op_started: IntCounterVec,
external_op_succeeded: IntCounterVec,
external_op_failed: IntCounterVec,
external_op_bytes: IntCounterVec,
external_op_seconds: CounterVec,
external_consensus_truncated_count: IntCounter,
external_blob_delete_noop_count: IntCounter,
retry_started: IntCounterVec,
retry_finished: IntCounterVec,
retry_retries: IntCounterVec,
retry_sleep_seconds: CounterVec,
encode_count: IntCounterVec,
encode_seconds: CounterVec,
decode_count: IntCounterVec,
decode_seconds: CounterVec,
}
Fields
cmd_started: IntCounterVec
cmd_cas_mismatch: IntCounterVec
cmd_succeeded: IntCounterVec
cmd_failed: IntCounterVec
cmd_seconds: CounterVec
external_op_started: IntCounterVec
external_op_succeeded: IntCounterVec
external_op_failed: IntCounterVec
external_op_bytes: IntCounterVec
external_op_seconds: CounterVec
external_consensus_truncated_count: IntCounter
external_blob_delete_noop_count: IntCounter
retry_started: IntCounterVec
retry_finished: IntCounterVec
retry_retries: IntCounterVec
retry_sleep_seconds: CounterVec
encode_count: IntCounterVec
encode_seconds: CounterVec
decode_count: IntCounterVec
decode_seconds: CounterVec
Implementations
sourceimpl MetricsVecs
impl MetricsVecs
fn new(registry: &MetricsRegistry) -> Self
fn cmds_metrics(&self) -> CmdsMetrics
fn cmd_metrics(&self, cmd: &str) -> CmdMetrics
fn retries_metrics(&self) -> RetriesMetrics
fn retry_metrics(&self, name: &str) -> RetryMetrics
fn codecs_metrics(&self) -> CodecsMetrics
fn codec_metrics(&self, op: &str) -> CodecMetrics
fn blob_metrics(&self) -> BlobMetrics
fn consensus_metrics(&self) -> ConsensusMetrics
fn external_op_metrics(&self, op: &str) -> ExternalOpMetrics
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for MetricsVecs
impl Send for MetricsVecs
impl Sync for MetricsVecs
impl Unpin for MetricsVecs
impl !UnwindSafe for MetricsVecs
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> FutureExt for T
impl<T> FutureExt for T
sourcefn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
sourcefn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message T
in a tonic::Request
sourceimpl<P, R> ProtoType<R> for P where
R: RustType<P>,
impl<P, R> ProtoType<R> for P where
R: RustType<P>,
sourcefn into_rust(self) -> Result<R, TryFromProtoError>
fn into_rust(self) -> Result<R, TryFromProtoError>
See RustType::from_proto
.
sourcefn from_rust(rust: &R) -> P
fn from_rust(rust: &R) -> P
See RustType::into_proto
.
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more