feat: add metrics counter for records downloaded (#1584)

This commit is contained in:
Ellie Huxtable 2024-01-17 10:56:16 +00:00 committed by GitHub
parent d9317a1a9c
commit b3b4b8cdd4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -107,5 +107,7 @@ pub async fn next<DB: Database>(
} }
}; };
counter!("atuin_record_downloaded", records.len() as u64);
Ok(Json(records)) Ok(Json(records))
} }