Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visualize usage stats #3

Open
bluegenes opened this issue Sep 21, 2023 · 1 comment
Open

visualize usage stats #3

bluegenes opened this issue Sep 21, 2023 · 1 comment

Comments

@bluegenes
Copy link
Collaborator

thanks to @luizirber's nixos setup, we're already logging with caddy

log files on the mastiff server: wc -l /var/log/caddy/access-*

3868 /var/log/caddy/access-branchwater.sourmash.bio.log
23794 /var/log/caddy/access-mastiff.sourmash.bio.log
4511 /var/log/caddy/access-minke.sourmash.bio.log

But we should make this logging visible/accessible/usable.

suggestions from luiz:

we could alternatively set up a self-hosted plausible.io if we have issues using the caddy logs...

@luizirber
Copy link
Member

goaccess access-branchwater.sourmash.bio.log -o report.html --log-format=caddy did the trick to generate an HTML report, following these instructions for static HTML reports.

The instructions for real-time are pretty interesting, might try to expose that in Caddy too

luizirber added a commit that referenced this issue Jan 21, 2024
- Changes inspired by
https://fasterthanli.me/series/building-a-rust-service-with-nix/: sentry
- move dependencies to workspace
- `agg` now is available in `nixpkgs`, add it to dev shell to make it
easier to create demo GIFs =]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants