Add a counter of "in flight" requests in exported metrics #24

Closed
Armael wants to merge 0 commits from Armael/tricot:in_flight_meter into main
Owner
No description provided.
Armael added 3 commits 2025-04-11 09:30:24 +00:00
quentin reviewed 2025-04-11 09:34:35 +00:00
@ -44,3 +45,4 @@
request_proxy_duration: metrics::Histogram<f64>,
}
struct InFlightGuard<'a, 'b> {
Owner

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 ^^

Maybe you can mention in a comment somewhere it's linked to Rust RAII pattern? With some links like: - RAII guards: https://rust-unofficial.github.io/patterns/patterns/behavioural/RAII.html - RAII: https://doc.rust-lang.org/rust-by-example/scope/raii.html Could help a future contributor that is not familiar with this pattern ^^
requested review from quentin 2025-04-11 09:34:45 +00:00
quentin approved these changes 2025-04-11 10:04:32 +00:00
Author
Owner

Forgejo is confused, merging manually.

Forgejo is confused, merging manually.
Armael closed this pull request 2025-04-11 10:16:26 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Deuxfleurs/tricot#24
No description provided.