- The General/ level is gone: its 109 files moved up into the folders of the same name, and its topic table is the "Shared topics" section of Features.md. - Accessibility is one folder, docs/Features/Accessibility/, with the Admin Panel's accessibility page in it. - Every folder's main page is README.md (110 X/X.md pages renamed with git mv, five merged with an existing README.md, 26 index pages added for folders that had none), so a folder opened on GitHub shows its page. - The 73 "# Moved" forwarding pages are deleted, with the folders that held only them; every link that went to one goes to its final page. - docs/Features/README.md has the website's "Features in WeKan" overview, each feature linking to its page here. 1,129 Markdown links in 262 files and 352 doc paths in code, tests, compose, snap and release files follow. tests/docsFeaturesLayout.test.cjs fails when General/ or a "# Moved" page comes back, a folder has no README.md, or a relative link in the docs or README.md does not resolve. 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