Metrics, Stats, Cleanup, Summary, Since your last visit, Original positions, the helpers that need no AI, Timezone, Keyboard shortcuts, Logs, Wait Spinners and a board that keeps loading, checked against the code. Thanks to xet7 !
3.1 KiB
Stats
What it is
Stats means exporting WeKan activity and statistics out of WeKan, so they can be shown on dashboards and analysed with other tools. WeKan itself has no stats exporter of its own here: these are companion tools that read the WeKan database, plus the built-in Metrics endpoint for live counts.
Read more
- Dashboard (computing), Logstash and Elasticsearch on Wikipedia, and the Elastic Stack (ELK).
- Daily export of WeKan changes as JSON to Logstash and ElasticSearch / Kibana (ELK)
- Statistics Python script for a WeKan dashboard
- Console, file, and Zulip logger on database changes, with a fix to replace console.log with the winston logger
How to use it
- For live numbers that a monitoring system scrapes, use Metrics.
- For a daily export to ELK, install wekan-logstash next to the database and follow its README.
- For a dashboard of statistics, run wekan-stats against the database and follow its README.
- For an export of single boards, use the REST API.
How the numbers are calculated
The numbers are computed by the external tools above, not by WeKan; see their own READMEs. The numbers WeKan computes itself are described in Metrics.
How it works in WeKan
The tools above read the WeKan MongoDB collections directly; nothing in this repository runs them. The console, file and Zulip logger of pull request 1010 and its winston change of pull request 1033 were reverted in November 2017 (see the commits below), so current WeKan has no such logger; for logs see Logs.
Related
Commits
- Revert the database change logger
- Fix the logger when LOGGERS is empty
- Enable the logger by default
- Move the cleanup, logstash and stats repositories to the WeKan organization
- Link the WeKan changes to Logstash export
- Replace console.log with the winston logger
- Console, file and Zulip logger on database changes