Prometheus

Prev Next

Prometheus is an open-source monitoring and alerting toolkit. It collects metrics as time-series data using an HTTP pull model and supports flexible queries and real-time alerting. Prometheus is written in Go and licensed under the Apache 2.0 License.

Rocket.Chat provides monitoring dashboards based on Prometheus and Grafana to help visualize system metrics and performance data.

These dashboards can display metrics such as:

  • General totals: Users online/away, DDP users, and activity differences over time.

  • Metrics: Request counts and total size per instance.

  • Node.js: Active handles, requests, event loop lag, heap usage, and garbage collection metrics.

  • DDP Rate Limiter: Rate limits by method, type, user ID, and connection ID.

  • Rocket.Chat Data: Messages sent, user presence, sessions, oplog activity, push queue, total users, rooms, and notification metrics.

  • Meteor: Method execution time, total method calls, and calls per minute.

  • Subscriptions: Subscription processing time and calls per minute.

  • Callbacks & Hooks: Callback and hook execution metrics and frequency.

  • REST API: API execution time and call rate.

Grafana dashboards

Rocket.Chat provides Grafana dashboards for monitoring system performance and metrics.

You can access the official dashboards from the Grafana dashboard directory:

If you want to download the dashboard JSON files directly, you can use the following URL format:

https://grafana.com/api/dashboards/<dashboard_id>/revisions/<version>/download

Where:

  • <dashboard_id>: The dashboard ID.

  • <version>: The revision version.

You can find the dashboard ID in the Grafana directory URL, and the revision version in the Revisions section of the dashboard page.

You can view Rocket.Chat’s published dashboards by visiting the Grafana dashboards directory.