Skip to main content
Skip table of contents

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

CODE
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
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.