mirror of
https://github.com/katanemo/plano.git
synced 2026-05-10 00:02:43 +02:00
15 lines
274 B
Rust
15 lines
274 B
Rust
|
|
use common::stats::Gauge;
|
||
|
|
|
||
|
|
#[derive(Copy, Clone, Debug)]
|
||
|
|
pub struct Metrics {
|
||
|
|
pub active_http_calls: Gauge,
|
||
|
|
}
|
||
|
|
|
||
|
|
impl Metrics {
|
||
|
|
pub fn new() -> Metrics {
|
||
|
|
Metrics {
|
||
|
|
active_http_calls: Gauge::new(String::from("active_http_calls")),
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|