mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-29 11:44:44 +01:00
feat: add metrics counter for records downloaded (#1584)
This commit is contained in:
parent
d9317a1a9c
commit
b3b4b8cdd4
@ -107,5 +107,7 @@ pub async fn next<DB: Database>(
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
counter!("atuin_record_downloaded", records.len() as u64);
|
||||||
|
|
||||||
Ok(Json(records))
|
Ok(Json(records))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user