pub struct Telemetry { /* private fields */ }Implementations§
Source§impl Telemetry
impl Telemetry
Sourcepub fn incr_total_connections(incr_by: usize) -> usize
pub fn incr_total_connections(incr_by: usize) -> usize
Increment the total number of connections by incr_by
Return the number of total connections after the increment
Sourcepub fn decr_total_connections(decr_by: usize) -> usize
pub fn decr_total_connections(decr_by: usize) -> usize
Decrease the total number of connections by decr_by
Return the number of total connections after the decrease
Sourcepub fn incr_total_clients(incr_by: usize) -> usize
pub fn incr_total_clients(incr_by: usize) -> usize
Increment the total number of clients by incr_by
Return the number of total clients after the increment
Sourcepub fn decr_total_clients(decr_by: usize) -> usize
pub fn decr_total_clients(decr_by: usize) -> usize
Decrease the total number of clients by decr_by
Return the number of total clients after the decrease
Sourcepub fn total_connections() -> usize
pub fn total_connections() -> usize
Return the number of active connections
Sourcepub fn total_clients() -> usize
pub fn total_clients() -> usize
Return the number of active clients
Sourcepub fn incr_total_values_compressed(incr_by: usize) -> usize
pub fn incr_total_values_compressed(incr_by: usize) -> usize
Increment the total number of values compressed
Sourcepub fn total_values_compressed() -> usize
pub fn total_values_compressed() -> usize
Return the total number of values compressed
Sourcepub fn incr_total_values_decompressed(incr_by: usize) -> usize
pub fn incr_total_values_decompressed(incr_by: usize) -> usize
Increment the total number of values decompressed
Sourcepub fn total_values_decompressed() -> usize
pub fn total_values_decompressed() -> usize
Return the total number of values decompressed
Sourcepub fn incr_total_original_bytes(incr_by: usize) -> usize
pub fn incr_total_original_bytes(incr_by: usize) -> usize
Increment the total original bytes before compression
Sourcepub fn total_original_bytes() -> usize
pub fn total_original_bytes() -> usize
Return the total original bytes before compression
Sourcepub fn incr_total_bytes_compressed(incr_by: usize) -> usize
pub fn incr_total_bytes_compressed(incr_by: usize) -> usize
Increment the total bytes after compression
Sourcepub fn total_bytes_compressed() -> usize
pub fn total_bytes_compressed() -> usize
Return the total bytes after compression
Sourcepub fn incr_total_bytes_decompressed(incr_by: usize) -> usize
pub fn incr_total_bytes_decompressed(incr_by: usize) -> usize
Increment the total bytes after decompression
Sourcepub fn total_bytes_decompressed() -> usize
pub fn total_bytes_decompressed() -> usize
Return the total bytes after decompression
Sourcepub fn incr_compression_skipped_count(incr_by: usize) -> usize
pub fn incr_compression_skipped_count(incr_by: usize) -> usize
Increment the compression skipped count
Sourcepub fn compression_skipped_count() -> usize
pub fn compression_skipped_count() -> usize
Return the compression skipped count
Sourcepub fn incr_subscription_out_of_sync() -> usize
pub fn incr_subscription_out_of_sync() -> usize
Increment the subscription out of sync count Return the new count after increment
Sourcepub fn subscription_out_of_sync_count() -> usize
pub fn subscription_out_of_sync_count() -> usize
Get the current subscription out of sync count
Sourcepub fn update_subscription_last_sync_timestamp(timestamp: u64) -> u64
pub fn update_subscription_last_sync_timestamp(timestamp: u64) -> u64
Update the subscription last sync timestamp Return the new timestamp
Sourcepub fn subscription_last_sync_timestamp() -> u64
pub fn subscription_last_sync_timestamp() -> u64
Get the subscription last sync timestamp
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Telemetry
impl RefUnwindSafe for Telemetry
impl Send for Telemetry
impl Sync for Telemetry
impl Unpin for Telemetry
impl UnsafeUnpin for Telemetry
impl UnwindSafe for Telemetry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request