Include pagination params in the tracing fields of cleanup methods
This commit is contained in:
@@ -255,6 +255,9 @@ impl OAuth2AccessTokenRepository for PgOAuth2AccessTokenRepository<'_> {
|
||||
skip_all,
|
||||
fields(
|
||||
db.query.text,
|
||||
since = since.map(tracing::field::display),
|
||||
until = %until,
|
||||
limit = limit,
|
||||
),
|
||||
err,
|
||||
)]
|
||||
@@ -309,6 +312,9 @@ impl OAuth2AccessTokenRepository for PgOAuth2AccessTokenRepository<'_> {
|
||||
skip_all,
|
||||
fields(
|
||||
db.query.text,
|
||||
since = since.map(tracing::field::display),
|
||||
until = %until,
|
||||
limit = limit,
|
||||
),
|
||||
err,
|
||||
)]
|
||||
|
||||
@@ -449,9 +449,9 @@ impl UpstreamOAuthLinkRepository for PgUpstreamOAuthLinkRepository<'_> {
|
||||
skip_all,
|
||||
fields(
|
||||
db.query.text,
|
||||
since,
|
||||
until,
|
||||
limit,
|
||||
since = since.map(tracing::field::display),
|
||||
until = %until,
|
||||
limit = limit,
|
||||
),
|
||||
err,
|
||||
)]
|
||||
|
||||
Reference in New Issue
Block a user