Scraping application metrics via the Prometheus standard
This page should not be in public documentation until RnD gives a green light that the feature works as intended.
For troubleshooting purposes, you can use additional application metrics. To scrape them and use them, edit the application.conf
file as follows:
application.conf
observability {
metrics-enabled=true
metrics-port=9090
metrics-hostname="127.0.0.1"
}
The observability block should already be present in your file, you only need to enable it. Also, you can modify the port and hostname according to your needs. For security reasons, we recommend keeping the hostname to localhost (127.0.0.1) and scraping the metrics with a local agent.
Examples of currently available metrics:
- Channel average messages per second
- Number of API requests
- Number of delivered messages