Add a counter of "in flight" requests in exported metrics #24
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "Armael/tricot:in_flight_meter"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -44,3 +45,4 @@
request_proxy_duration: metrics::Histogram<f64>,
}
struct InFlightGuard<'a, 'b> {
Maybe you can mention in a comment somewhere it's linked to Rust RAII pattern?
With some links like:
Could help a future contributor that is not familiar with this pattern ^^
Forgejo is confused, merging manually.
Pull request closed