Struct persist::indexed::metrics::Metrics [−][src]
pub struct Metrics {Show 28 fields
pub(crate) stream_count: ThirdPartyMetric<UIntGauge>,
pub(crate) meta_size_bytes: ThirdPartyMetric<UIntGauge>,
pub(crate) unsealed_blob_count: ThirdPartyMetric<UIntGauge>,
pub(crate) unsealed_blob_bytes: ThirdPartyMetric<UIntGauge>,
pub(crate) trace_blob_count: ThirdPartyMetric<UIntGauge>,
pub(crate) trace_blob_bytes: ThirdPartyMetric<UIntGauge>,
pub(crate) cmd_queue_in: ThirdPartyMetric<UIntCounter>,
pub(crate) cmd_run_count: ThirdPartyMetric<UIntCounter>,
pub(crate) cmd_run_seconds: ThirdPartyMetric<Counter>,
pub(crate) cmd_failed_count: ThirdPartyMetric<UIntCounter>,
pub(crate) cmd_step_seconds: ThirdPartyMetric<Counter>,
pub(crate) cmd_step_error_count: ThirdPartyMetric<UIntCounter>,
pub(crate) compaction_count: ThirdPartyMetric<UIntCounter>,
pub(crate) compaction_seconds: ThirdPartyMetric<Counter>,
pub(crate) compaction_write_bytes: ThirdPartyMetric<UIntCounter>,
pub(crate) trace_compaction_error_response_count: ThirdPartyMetric<UIntCounter>,
pub(crate) trace_compaction_skipped_count: ThirdPartyMetric<UIntCounter>,
pub(crate) cmd_write_count: ThirdPartyMetric<UIntCounter>,
pub(crate) cmd_write_record_count: ThirdPartyMetric<UIntCounter>,
pub(crate) cmd_write_record_bytes: ThirdPartyMetric<UIntCounter>,
pub(crate) unsealed: BlobMetricsByType,
pub(crate) trace: BlobMetricsByType,
pub(crate) meta: BlobMetricsByType,
pub(crate) blob_write_error_quota_count: ThirdPartyMetric<UIntCounter>,
pub(crate) blob_write_error_other_count: ThirdPartyMetric<UIntCounter>,
pub(crate) blob_read_cache_hit_count: ThirdPartyMetric<UIntCounter>,
pub(crate) blob_read_cache_miss_count: ThirdPartyMetric<UIntCounter>,
pub(crate) blob_read_cache_fetch_bytes: ThirdPartyMetric<UIntCounter>,
}
Expand description
Persistence related monitoring metrics.
Intentionally not Clone because we expect this to be passed around in an Arc.
Fields
stream_count: ThirdPartyMetric<UIntGauge>
meta_size_bytes: ThirdPartyMetric<UIntGauge>
unsealed_blob_count: ThirdPartyMetric<UIntGauge>
unsealed_blob_bytes: ThirdPartyMetric<UIntGauge>
trace_blob_count: ThirdPartyMetric<UIntGauge>
trace_blob_bytes: ThirdPartyMetric<UIntGauge>
cmd_queue_in: ThirdPartyMetric<UIntCounter>
cmd_run_count: ThirdPartyMetric<UIntCounter>
cmd_run_seconds: ThirdPartyMetric<Counter>
cmd_failed_count: ThirdPartyMetric<UIntCounter>
cmd_step_seconds: ThirdPartyMetric<Counter>
cmd_step_error_count: ThirdPartyMetric<UIntCounter>
compaction_count: ThirdPartyMetric<UIntCounter>
compaction_seconds: ThirdPartyMetric<Counter>
compaction_write_bytes: ThirdPartyMetric<UIntCounter>
trace_compaction_error_response_count: ThirdPartyMetric<UIntCounter>
trace_compaction_skipped_count: ThirdPartyMetric<UIntCounter>
cmd_write_count: ThirdPartyMetric<UIntCounter>
cmd_write_record_count: ThirdPartyMetric<UIntCounter>
cmd_write_record_bytes: ThirdPartyMetric<UIntCounter>
unsealed: BlobMetricsByType
trace: BlobMetricsByType
meta: BlobMetricsByType
blob_write_error_quota_count: ThirdPartyMetric<UIntCounter>
blob_write_error_other_count: ThirdPartyMetric<UIntCounter>
blob_read_cache_hit_count: ThirdPartyMetric<UIntCounter>
blob_read_cache_miss_count: ThirdPartyMetric<UIntCounter>
blob_read_cache_fetch_bytes: ThirdPartyMetric<UIntCounter>
Implementations
Returns a new Metrics instance connected to the given registry.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Metrics
impl UnwindSafe for Metrics
Blanket Implementations
Mutably borrows from an owned value. Read more
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