mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-17 16:47:05 +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
|
|
@ -1,3 +1,10 @@
|
||||||
|
# 2.5.1
|
||||||
|
|
||||||
|
### Notable enhancements and fixes
|
||||||
|
|
||||||
|
- Added endpoint for prometheus scraping. You can now scrape the metrics endpoint with prometheus. It is available at /stats/prometheus if you have enableMetrics set to true in your settings.json
|
||||||
|
|
||||||
|
|
||||||
# 2.5.0
|
# 2.5.0
|
||||||
|
|
||||||
### Notable enhancements and fixes
|
### Notable enhancements and fixes
|
||||||
|
|
|
||||||
|
|
@ -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.
|
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`].
|
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