Constellation, Spacedust, Slingshot, UFOs: atproto crates and services for microcosm

even longer metric bucket times

Changed files
+2 -2
spacedust
src
+2 -2
spacedust/src/main.rs
··· 123 123 let port = 8765; 124 124 PrometheusBuilder::new() 125 125 .set_quantiles(&[0.5, 0.9, 0.99, 1.0])? 126 - .set_bucket_duration(std::time::Duration::from_secs(60))? 127 - .set_bucket_count(std::num::NonZero::new(10).unwrap()) // count * duration = 10 mins. stuff doesn't happen that fast here. 126 + .set_bucket_duration(std::time::Duration::from_secs(300))? 127 + .set_bucket_count(std::num::NonZero::new(12).unwrap()) // count * duration = 60 mins. stuff doesn't happen that fast here. 128 128 .set_enable_unit_suffix(false) // this seemed buggy for constellation (sometimes wouldn't engage) 129 129 .with_http_listener((host, port)) 130 130 .install()?;