Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/skythet/ejabberd-prometheus-exporter
Ejabberd metrics for prometheus
https://github.com/skythet/ejabberd-prometheus-exporter
ejabberd erlang prometheus prometheus-exporter
Last synced: 9 days ago
JSON representation
Ejabberd metrics for prometheus
- Host: GitHub
- URL: https://github.com/skythet/ejabberd-prometheus-exporter
- Owner: skythet
- Created: 2017-09-25T11:52:00.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-28T08:46:37.000Z (about 5 years ago)
- Last Synced: 2024-08-02T15:46:52.616Z (3 months ago)
- Topics: ejabberd, erlang, prometheus, prometheus-exporter
- Language: Erlang
- Size: 1.95 KB
- Stars: 9
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ejabberd metrics for Prometheus
Compile:
erlc mod_prometheus.erl
Copy compiled file to ejabberd, for example:
cp mod_prometheus.beam /opt/ejabberd-17.07/lib/ejabberd-17.07/ebin/
Add config to `ejabberd.yml`:
listen:
-
port: 8181
module: ejabberd_http
request_handlers:
"/metrics": mod_prometheusAfter this, restart ejabberd and try open `http://localhost:8181/metrics`
in browser. You have to see metrics for prometheus.Service will responde all requests independently request type
and request path.