Lightweight, stateless and privacy-first analytics system
- Go 87.6%
- Nix 6%
- JavaScript 4.7%
- HTML 1.7%
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I789eff29d033de4c25128e6bbc17a5966a6a6964 |
||
|---|---|---|
| cmd/watchdog | ||
| contrib/systemd | ||
| internal | ||
| nix | ||
| test | ||
| testdata | ||
| web | ||
| .envrc | ||
| .gitignore | ||
| config.example.yaml | ||
| flake.lock | ||
| flake.nix | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
Watchdog
Watchdog is a privacy-preserving web analytics platform similar to Plausible, where data visualisation is deferred to a Prometheus-compatible dashboard such as Grafana. It is designed to be as simple and lightweight as possible, without any additional web components to worry about. You, in turn, get to use your existing monitoring stack to also collect information about your web applications tracked by Watchdog.
Design
- No raw event storage
- No persistent identifiers
- Bounded cardinality by design
- Aggregate at ingestion
- Prometheus-native export
Quick Start
# Build the prıject
$ go build -o watchdog ./cmd/watchdog
# Start the Watchdog daemon with your own config
$ ./watchdog --config config.yaml