A new module has been merged recently in Kamailio’s GIT master branch, respectively: xhttp_prom.
Developed by Vicente Hernando from sonoc.io, the module generates suitable metrics for a Prometheus monitoring platform, answering to Prometheus pull requests (HTTP requests to /metrics URL).
The exported metrics are based on Kamailio statistics, but any user can also create his own metrics (currently counters and gauges). The xHTTP_PROM module uses the xHTTP module to handle HTTP requests.
You can read more about the module at:
Enjoy the summer! Thanks for flying Kamailio!