improve tracing instruments on database::map
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
6c66391988
commit
62d560e2fb
15 changed files with 15 additions and 38 deletions
|
@ -38,7 +38,7 @@ where
|
|||
/// Fetch a value from the database into cache, returning a reference-handle
|
||||
/// asynchronously. The key is serialized into a user-supplied Writer.
|
||||
#[implement(super::Map)]
|
||||
#[tracing::instrument(skip(self, buf), fields(%self), level = "trace")]
|
||||
#[tracing::instrument(skip(self, buf), level = "trace")]
|
||||
pub fn bqry<K, B>(&self, key: &K, buf: &mut B) -> impl Future<Output = Result<Handle<'_>>> + Send
|
||||
where
|
||||
K: Serialize + ?Sized + Debug,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue