basic file sharing
This commit is contained in:
@@ -110,6 +110,47 @@ impl WarrenMetrics for MetricsDebugLogger {
|
||||
async fn record_warren_cp_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren entry cp failed");
|
||||
}
|
||||
|
||||
async fn record_warren_get_share_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren get share succeeded");
|
||||
}
|
||||
async fn record_warren_get_share_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren get share failed");
|
||||
}
|
||||
|
||||
async fn record_warren_share_creation_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren share creation succeeded");
|
||||
}
|
||||
async fn record_warren_share_creation_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share creation failed");
|
||||
}
|
||||
|
||||
async fn record_warren_share_list_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren share list succeeded");
|
||||
}
|
||||
async fn record_warren_share_list_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share list failed");
|
||||
}
|
||||
async fn record_warren_share_deletion_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren share deletion succeeded");
|
||||
}
|
||||
async fn record_warren_share_deletion_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share deletion failed");
|
||||
}
|
||||
|
||||
async fn record_warren_share_ls_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren share ls succeeded");
|
||||
}
|
||||
async fn record_warren_share_ls_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share ls failed");
|
||||
}
|
||||
|
||||
async fn record_warren_share_cat_success(&self) {
|
||||
tracing::debug!("[Metrics] Warren share cat succeeded");
|
||||
}
|
||||
async fn record_warren_share_cat_failure(&self) {
|
||||
tracing::debug!("[Metrics] Warren share cat failed");
|
||||
}
|
||||
}
|
||||
|
||||
impl FileSystemMetrics for MetricsDebugLogger {
|
||||
@@ -168,6 +209,13 @@ impl FileSystemMetrics for MetricsDebugLogger {
|
||||
async fn record_cp_failure(&self) {
|
||||
tracing::debug!("[Metrics] Cp failed");
|
||||
}
|
||||
|
||||
async fn record_stat_success(&self) {
|
||||
tracing::debug!("[Metrics] Stat succeeded");
|
||||
}
|
||||
async fn record_stat_failure(&self) {
|
||||
tracing::debug!("[Metrics] Stat failed");
|
||||
}
|
||||
}
|
||||
|
||||
impl AuthMetrics for MetricsDebugLogger {
|
||||
@@ -359,6 +407,27 @@ impl AuthMetrics for MetricsDebugLogger {
|
||||
async fn record_auth_warren_cp_failure(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren cp failed");
|
||||
}
|
||||
|
||||
async fn record_auth_share_creation_success(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren share creation succeeded");
|
||||
}
|
||||
async fn record_auth_share_creation_failure(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren share creation failed");
|
||||
}
|
||||
|
||||
async fn record_auth_share_list_success(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren share list succeeded");
|
||||
}
|
||||
async fn record_auth_share_list_failure(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren share list failed");
|
||||
}
|
||||
|
||||
async fn record_auth_share_deletion_success(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren share deletion succeeded");
|
||||
}
|
||||
async fn record_auth_share_deletion_failure(&self) {
|
||||
tracing::debug!("[Metrics] Auth warren share deletion failed");
|
||||
}
|
||||
}
|
||||
|
||||
impl OidcMetrics for MetricsDebugLogger {
|
||||
|
||||
Reference in New Issue
Block a user