Prometheus is an open-source application used for event monitoring and alerting. It records metrics in a time series database (allowing for high dimensionality) built using an HTTP pull model with flexible queries and real-time alerting. The project is written in Go and licensed under the Apache 2 License, with source code available on GitHub.
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
{% embed url="https://github.com/RocketChat/Rocket.Chat.Metrics" %} Rocket.Chat.Metrics {% endembed %}