async fn partially_truncate_metrics_history<T>(
    id: GlobalId,
    introspection_type: IntrospectionType,
    write_handle: &mut WriteHandle<SourceData, (), T, Diff>,
    config_set: Arc<ConfigSet>,
    now: NowFn,
    storage_collections: Arc<dyn StorageCollections<Timestamp = T> + Send + Sync>,
    txns_read: TxnsRead<T>,
    persist: Arc<PersistClientCache>,
) -> Result<(), Error>
Expand description

Truncates the given metrics history by removing all entries older than that history’s configured retention interval.

§Panics

Panics if collection is not a metrics history.