+25
-3
Cargo.lock
+25
-3
Cargo.lock
············
+1
-1
cozy-setup (move to another repo).md
+1
-1
cozy-setup (move to another repo).md
+11
jetstream/src/events.rs
+11
jetstream/src/events.rs
···
+196
ufos ops (move to micro-ops).md
+196
ufos ops (move to micro-ops).md
···+0 1/6 * * * rsync -ahP --delete "/mnt/ufos-db/.snapshots/$(sudo snapper --csvout -c ufos-db list --columns number | tail -n1)/snapshot/" backup/ufos/+format = "$remote_addr - $remote_user [$time_local] \"$request\" $status $upstream_cache_status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" \"$http_x_forwarded_for\""+format = "$remote_addr - $remote_user [$time_local] \"$request\" $status $upstream_cache_status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" \"$http_x_forwarded_for\""+format = "$remote_addr - $remote_user [$time_local] \"$request\" $status $upstream_cache_status $body_bytes_sent \"$http_referer\" \"$http_user_agent\" \"$http_x_forwarded_for\""
+2
ufos/Cargo.toml
+2
ufos/Cargo.toml
···+metrics-exporter-prometheus = { version = "0.17.0", default-features = false, features = ["http-listener"] }
+37
-4
ufos/src/consumer.rs
+37
-4
ufos/src/consumer.rs
·········async fn send_current_batch_now(&mut self, small: bool, referrer: &str) -> anyhow::Result<()> {+"sending batch now from {beginning}, {size_label}, queue capacity: {queue_cap}, referrer: {referrer}",
+43
-1
ufos/src/main.rs
+43
-1
ufos/src/main.rs
·········+.set_bucket_count(std::num::NonZero::new(10).unwrap()) // count * duration = 10 mins. stuff doesn't happen that fast here.+.set_enable_unit_suffix(false) // this seemed buggy for constellation (sometimes wouldn't engage)···let nice_dt_two_maybes = |earlier: Option<Cursor>, later: Option<Cursor>| match (earlier, later)···"cursor: {} behind (→{}, {cursor_rate}x, {cursor_avg}x avg). rollup: {} behind (→{}, {rollup_rate}x, {rollup_avg}x avg).",latest_cursor.map(|c| c.elapsed().map(nice_duration).unwrap_or("++".to_string())).unwrap_or("?".to_string()),
+41
-21
ufos/src/storage_fjall.rs
+41
-21
ufos/src/storage_fjall.rs
·········+log::trace!("finished trimming {n} nsids in {:?}: {total_danglers} dangling and {total_deleted} total removed.", dt);+counter!("storage_trim_removed", "dangling" => "false").increment((total_deleted - total_danglers) as u64);-log::info!("finished trimming {n} nsids in {:?}: {total_danglers} dangling and {total_deleted} total removed.", t0.elapsed());