Function record_destination_write_bytes
Source pub fn record_destination_write_bytes(bytes: usize, destination_type: &str)
Expand description
Records the size of data written to a destination.
§Arguments
bytes - Number of bytes written (compressed if applicable)
destination_type - Type of destination
§Examples
use rigatoni_core::metrics;
metrics::record_destination_write_bytes(1024 * 1024, "s3");