Added docs as asciidoctor with cross platform support. (#5733)

* Added docs as asciidoctor with cross platform support.

* Fixed release script with new doc building mechanism.
This commit is contained in:
SamTV12345 2023-06-21 14:13:31 +02:00 committed by GitHub
parent d6c0badfd4
commit dc0db68515
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 1412 additions and 861 deletions

19
doc/stats.adoc Normal file
View file

@ -0,0 +1,19 @@
== Statistics
Etherpad keeps track of the goings-on inside the edit machinery. If you'd like to have a look at this, just point your browser to `/stats`.
We currently measure:
- totalUsers (counter)
- connects (meter)
- disconnects (meter)
- pendingEdits (counter)
- edits (timer)
- failedChangesets (meter)
- httpRequests (timer)
- http500 (meter)
- memoryUsage (gauge)
Under the hood, we are happy to rely on https://github.com/felixge/node-measured[measured] for all our metrics needs.
To modify or simply access our stats in your plugin, simply `require('ep_etherpad-lite/stats')` which is a https://yaorg.github.io/node-measured/packages/measured-core/Collection.html[`measured.Collection`].