Skip to content

Commit 3961869

Browse files
Nemo157Joshua Nelson
authored and
Joshua Nelson
committed
Rename recent crate metric
1 parent c0c6689 commit 3961869

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/metrics/mod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ metrics! {
4848
pub(crate) rustdoc_rendering_times: HistogramVec["step"],
4949

5050
/// Count of recently accessed crates
51-
pub(crate) recent_krates: IntGaugeVec["duration"],
51+
pub(crate) recent_crates: IntGaugeVec["duration"],
5252
/// Count of recently accessed versions of crates
5353
pub(crate) recent_versions: IntGaugeVec["duration"],
5454
/// Count of recently accessed platforms of versions of crates
@@ -130,7 +130,7 @@ impl RecentReleases {
130130
.set(five_minute_count);
131131
}
132132

133-
inner(&self.krates, &metrics.recent_krates);
133+
inner(&self.krates, &metrics.recent_crates);
134134
inner(&self.versions, &metrics.recent_versions);
135135
inner(&self.platforms, &metrics.recent_platforms);
136136
}

0 commit comments

Comments
 (0)