We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8f6515 commit 8b742cbCopy full SHA for 8b742cb
src/build_queue.rs
@@ -335,6 +335,7 @@ impl BuildQueue {
335
"{}-{} added into build queue",
336
release.name, release.version
337
);
338
+ self.metrics.queued_builds.inc();
339
crates_added += 1;
340
}
341
Err(err) => report_error(&err),
src/metrics/mod.rs
@@ -83,6 +83,8 @@ metrics! {
83
/// Count of recently accessed platforms of versions of crates
84
pub(crate) recent_platforms: IntGaugeVec["duration"],
85
86
+ /// number of queued builds
87
+ pub(crate) queued_builds: IntCounter,
88
/// Number of crates built
89
pub(crate) total_builds: IntCounter,
90
/// Number of builds that successfully generated docs
0 commit comments