Repository navigation
Releases
Releases · abjelosevic88/pocket-homelab-errors
v0.5.1
v0.5.0
Pocket Errors 0.5.0: admins can let Pocket Insights read this box's e…
v0.4.0
Pocket Search, Day and Hub find your errors on their own: issues in s…
v0.3.1
Pocket Errors 0.3.1: container logs come from one open follow stream …
v0.3.0
Pocket Move: copy your projects and issues out and bring them in Declares the Portable contract: exports the own JSON and the issues CSV, imports the own JSON (multipart file). move:export / move:import links reach exactly those routes; the box's log lines stay out. Import answers carry their counts at the top level too.
v0.2.4
Pocket Errors 0.2.4: Inside Pocket Hub, open issues that are new toda…
v0.2.3
Pocket Errors 0.2.3: the Logs tabs only slide sideways on a phone
v0.2.2
Pocket Errors 0.2.2: phones and devices send their own lines and errors
A phone or an app with a person's token names its own project
(POST /report?source=&name=&platform=, made on its first error) and, with
an admin's token, sends its lines to Logs (POST /logs/push): JSON
{source, name, lines: [{at, level, message, fields}]} (msg/attrs too), or
text / NDJSON with ?source= (iPhone and BSD syslog lines keep their time,
process and library). A new group, Phones & devices. A batch sent again
is kept once (looked up by the batch's own times); a clock more than ten
minutes ahead is now, lines older than the logs keep are dropped; 1000
lines / 1 MB a call. An issue from a phone shows what it logged two
minutes either side. A Sentry SDK's "log" envelope items land as the
project's device source. GET /pocket-logs.sh sends what comes in on stdin
(idevicesyslog on a Mac paired with the iPhone). Logs → Sources: Connect
a phone or computer (Pocket Homelab app, iPhone system log, another app,
anything with curl).
v0.2.0
Pocket Errors 0.2.0: Logs, every line the box writes Besides the errors, an admin can keep every line: each container's (the same Docker read the error watcher does, asked once a tick) and the systemd journal's (system and user services, the kernel; journalctl in the image, the journal mounted read-only). Kept in its own logs.db with full-text search, counts per 5 minutes and per hour that outlive the lines (90 days), repeating messages with their values taken out, and Caddy's access log as web traffic. 7 days and 2 GB by default, oldest first; per source keep every line, warnings and worse, errors or only counts. Logs page: Overview (lines by level over time with drag-to-zoom, share per kind of source, busiest and worst sources, heat map of errors per source by time, problems that repeat, new messages, web traffic), Explore (search, source/level/time filters, live, fields, lines around, same message, export), Patterns, Web traffic (requests by answer, answer time, sites) and Sources. An issue from a container shows what it wrote two minutes either side. Settings → This box → Keep every line. API under /api/v1/logs (admins; errors:read links too). Runtime image is Debian slim now, for journalctl.
v0.1.1
Charts draw at their real width, so text, dots and corners keep their…