Software /
code /
prosody-modules
Changeset
4239:313e293f44b3
mod_prometheus: Warn users to put statistics settings in the global section
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 10 Nov 2020 22:29:08 +0100 |
parents | 4238:e97c509fdbe3 |
children | 4240:455ae6156f5c |
files | mod_prometheus/README.markdown |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_prometheus/README.markdown Mon Nov 09 16:53:13 2020 +0000 +++ b/mod_prometheus/README.markdown Tue Nov 10 22:29:08 2020 +0100 @@ -29,6 +29,12 @@ statistics_interval = 15 -- in seconds ``` +::: {.alert .alert-warning} +**NOTE:** Make sure to put the statistics variables in the global section of +the configuration, **not** in a `VirtualHost` or `Component` section. You can +use `prosodyctl check` if you are unsure and want to check your configuration. +::: + See also the documentation of Prosody’s [HTTP server](https://prosody.im/doc/http), since Prometheus is an HTTP protocol that is how you can customise its URL. The default one being