hunter/main: increase metric timeout
stream_token has low fluctuation, it was disappearing from the stats.
This commit is contained in:
parent
c4f2b1f640
commit
c567cb62e9
|
@ -37,7 +37,7 @@ async fn run() {
|
|||
PrometheusBuilder::new()
|
||||
.with_http_listener(([0; 8], config.prometheus_port))
|
||||
.add_global_label("application", env!("CARGO_PKG_NAME"))
|
||||
.idle_timeout(MetricKindMask::ALL, Some(Duration::from_secs(600)))
|
||||
.idle_timeout(MetricKindMask::ALL, Some(Duration::from_secs(6 * 3600)))
|
||||
.install()
|
||||
.unwrap();
|
||||
|
||||
|
|
Loading…
Reference in New Issue