mod_prometheus

Description

This module implements the Prometheus reporting protocol, allowing you to collect statistics directly from Prosody into Prometheus.

See the Prometheus documentation on the format for more information.

Configuration

mod_prometheus itself doesn’t have any configuration option, but it requires Prosody’s internal statistics provider to be enabled. You may also want to change the default collection interval to the one your statistics consumer is using.

See also the documentation of Prosody’s HTTP server, since Prometheus is an HTTP protocol that is how you can customise its URL. The default one being http://localhost:5280/metrics

Compatibility

trunk Works
0.10 Works
0.9 Does not work