Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 5d2fdd9

Browse files
Added missing invocation of document metric
1 parent 479d7d6 commit 5d2fdd9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/rpc/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ pub async fn fetch(
110110
let document = if !result.blocked || params.force {
111111
Some(fetch_document(ctx.clone(), req_id, &params.url).await?)
112112
} else {
113+
metrics::DOCUMENT.with_label_values(&["blocked"]).inc();
113114
None
114115
};
115116
(result.blocked.into(), result.categories.clone(), document)

0 commit comments

Comments
 (0)