diff --git a/issues/2020-12Dec/metrics-K5NPHQHP.md b/issues/2020-12Dec/metrics-K5NPHQHP.md index fb37bf5..758a8d9 100644 --- a/issues/2020-12Dec/metrics-K5NPHQHP.md +++ b/issues/2020-12Dec/metrics-K5NPHQHP.md @@ -6,26 +6,26 @@ These are just like Prometheus. Either counters, or gauges, scalar or histograms. -- CPU usage counter -- RAM usage gauge -- Requests received counter -- Responses sent counter -- Tokio gauges? -- Outbound byte counter -- Uptime gauge -- Last seen UTC time -- Free disk space gauge +- (X) CPU usage counter +- (X) RAM usage gauge +- ( ) Requests received counter +- ( ) Responses sent counter +- ( ) Tokio gauges? +- ( ) Outbound byte counter +- ( ) Uptime gauge +- ( ) Last seen UTC time +- ( ) Free disk space gauge ## ptth_server instance data These are captured during process start and then don't change. They're kinda like metrics, but static. -- Machine ID -- Git version (if possible) -- Server ID -- Random instance ID -- UTC time at startup +- (X) Machine ID +- (X) Git version (if possible) +- (X) Server ID +- (X) Random instance ID +- (X) UTC time at startup ## ptth_server logs diff --git a/issues/2020-12Dec/sync-Y7GT5V6T.md b/issues/2020-12Dec/sync-Y7GT5V6T.md new file mode 100644 index 0000000..875d848 --- /dev/null +++ b/issues/2020-12Dec/sync-Y7GT5V6T.md @@ -0,0 +1,16 @@ +# Sync client + +(Y7GT5V6T) + +## Todo + +- ( ) Add `find`-like API endpoint on servers +- ( ) Implement sync for one file +- ( ) Implement sync for one dir +- ( ) Implement recursive sync + +## Find endpoint + +Retrieves `stat` info recursively for all files in a dir. + +Also, add mtime. That will make the syncer client a little better. diff --git a/todo.md b/todo.md index b9e0bc1..c43c1bf 100644 --- a/todo.md +++ b/todo.md @@ -1,18 +1,17 @@ Interesting issues will get a unique ID with `dd if=/dev/urandom bs=5 count=1 | base32` +- ptth_tail +- Scraper `rsync -ru` example - (WIP) Dark mode? - [K5NPHQHP](issues/2020-12Dec/metrics-K5NPHQHP.md) API for metrics + instance data + recent logs on ptth_server - API for remote mtime -- Scraper `tail -f` example - API for remote inotify (or similar) -- Scraper `rsync -ru` example -- Make TS text browser, in ptth_relay, using ptth_server APIs, and tail -f +- Make TS text browser, in ptth_relay, using ptth_server APIs, and have `tail -f` behavior - Make TS read-only SQLite browser (this is a long shot) - [YNQAQKJS](issues/2020-12Dec/auth-route-YNQAQKJS.md) Add database for scraper keys - Track / Estimate bandwidth per server? -- EOTPXGR3 Remote `tail -f` (_Complicated_) (Maybe use chunked encoding or something?) - "Preview as" feature for Markdown (It's not threaded through the relay yet) - Make a debug client to replicate the issue Firefox is having with turtling - YMFMSV2R / K5NPHQHP Add Prometheus metrics