| Age | Commit message (Collapse) | Author |
|
|
|
- /metrics: auto-remove exclusion when records mtime > excluded_at so
hosts that resume uploading unexclude themselves on next scrape
- Consolidate excluded_host table into the auth DB (goprecords-auth.db)
instead of a separate file — removes -db daemon flag and GOPRECORDS_DB env
- README: add host exclusion section with kubectl exec examples
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
metrics
- docs/upload-client.md: per-OS install instructions (FreeBSD, Linux, OpenBSD)
covering script install, token setup, cron/systemd automation, and test runs
- README.md: replace long upload section with pointer to docs/upload-client.md
- Bump version to 0.5.0 (new features: excluded_hosts, /metrics endpoint,
unified upload script with non-root/XDG support)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
- scripts/goprecords-upload-client.sh: unified POSIX sh script working on
all host types (FreeBSD f0-f3, Rocky Linux pi0-pi3, Fedora earth, OpenBSD
blowfish/fishfinger). Key addition over the old contrib/ version: non-root
support via XDG_CONFIG_HOME token path so user-session installs (earth)
work without requiring a hardcoded /etc path.
- contrib/goprecords-upload-client.sh: updated to match the canonical script
in scripts/ (same content).
- README.md: updated manual-upload section to reference scripts/ as canonical
location, added host-class table, added user-session systemd example, and
expanded environment variable table to show root vs non-root defaults.
- Deployed new script to f0, f1, f2, pi0-pi3; tested uploads from all hosts.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
install/test steps
|
|
cron/systemd.
POSIX sh client for FreeBSD/Linux: env GOPRECORDS_HOST, token file, uptimed
paths. Documents root crontab with PATH and systemd service+timer for Pis.
Made-with: Cursor
|
|
Document the full HTTP API surface, bump the version for the new daemon/upload/report capabilities, and add Docker build assets so goprecords can be packaged and deployed in f3s.
Made-with: Cursor
|
|
Document --daemon, stats vs import/query DB paths, GET /report query
parameters including HTML, health/livez/readyz, uploads with Bearer auth,
per-client keys and --create-client-key, plain HTTP + external TLS, and
backward compatibility for CLI workflows.
Made-with: Cursor
|
|
Document daemon plain-HTTP mode, PUT /upload paths for five uptimed
files, Bearer token header, and env flags. Add table-driven test
asserting each kind maps to the expected filename in stats-dir.
Made-with: Cursor
|
|
- Reorganize types.go: place types and constructors before methods
- Simplify main.go: improve flag handling and reduce code complexity
- Extract processRecordsFile() in aggregate.go: reduce function size, ensure immediate defer
- Change Reporter receivers to value semantics for read-only operations
- Fix wordWrap() function: properly account for line length with leading space
- Remove guprecords.raku: Go implementation is the primary version now
- Remove compare-with-raku.sh: no longer needed
- Update README.md and .gitignore accordingly
All tests pass: go test ./... and ./goprecords test
Amp-Thread-ID: https://ampcode.com/threads/T-019c7c73-58f9-7516-958d-f30eb17a3bff
Co-authored-by: Amp <amp@ampcode.com>
|
|
|
|
Allow custom section ordering for --all reports while keeping defaults and tests in place.
Co-authored-by: Cursor <cursoragent@cursor.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|