Grafana is a multi-platform open-source analytics and interactive visualization web application. It provides charts, graphs, and alerts for the web when connected to supported data sources. It can be easily installed using Docker or Docker Compose.
Rocket.Chat.Metrics repository contains a basic monitoring setup of Rocket.Chat, based on Grafana and Prometheus. It currently shows and visualizes the following application metrics/information:
  • General totals: users online/away, DDP users, diffs based on time range
  • Metrics: requests and total size per instance
  • NodeJS: active handles, requests, event loop lag, heap used, per instance heap, garbage collector
  • DDP rate limiter: by method, by type, by userId, by connectionId
  • Rocket.Chat Data: messages sent, total sent, user presence, users & sessions, Oplog, push queue, Meteor facts, total users, total rooms, notification per minute per notification type
  • Meteor: methods total time, methods time, method calls per minute
  • Subscriptions: subscription total time, subscription time, subscription calls per minute
  • Callbacks & Hooks: callbacks total time, callbacks time, callback calls per minute, hooks total time, hooks time, hook calls per minute
  • REST API: REST total time, REST time, REST calls per minute
Rocket.Chat versions receive support for six months after release.