Mercurial > prosody-modules
view mod_storage_mongodb/README.markdown @ 4578:d95fcde6e39d
mod_measure_lua: add openmetrics-spirited way to collect lua memory use
In the spirit of separate collectors found in other Prometheus
packages, this is a separate module to collect metrics related to
the lua stack itself.
author | Jonas Schäfer <jonas@wielicki.name> |
---|---|
date | Sat, 29 May 2021 12:12:17 +0200 |
parents | 8de50be756e5 |
children |
line wrap: on
line source
--- labels: - 'Type-Storage' - 'Stage-Alpha' summary: MongoDB Storage Module ... Introduction ============ This is a storage backend that uses MongoDB. Depends on [luamongo bindings](https://github.com/mwild1/luamongo) This module is not under active development and has a number of issues related to limitations in MongoDB. It is not suitable for production use. Configuration ============= Copy the module to the prosody modules/plugins directory. In Prosody's configuration file, set: storage = "mongodb" MongoDB options are: Name Description ------------ ------------------------------------------------------------------- server hostname:port username your username for the given database password your password for the given database (either raw or pre-digested) is\_digest whether the password field has been pre-digested Compatibility ============= ------- --------------------------- trunk Untested, but should work ------- ---------------------------