mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-01-23 02:35:34 +00:00
chore: added documentation for prometheus
This commit is contained in:
parent
4259a8ca6f
commit
061ea19702
2 changed files with 19 additions and 0 deletions
|
|
@ -17,3 +17,15 @@ We currently measure:
|
|||
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`].
|
||||
|
||||
|
||||
=== Prometheus scraper
|
||||
|
||||
Besides the non standard `/stats` endpoint, Etherpad also exposes a `/stats/prometheus` endpoint which is compatible with Prometheus scraping. It includes a lot more metrics than the standard `/stats` endpoint. It contains the following metrics:
|
||||
|
||||
- ueberdb stats
|
||||
- gc
|
||||
- memory
|
||||
- event loop lag
|
||||
- v8
|
||||
- and more
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue