Skip to main content

Event Monitor

Real-time dashboard for monitoring Server-Sent Events (SSE) and EventHub activity.

Overview​

The Event Monitor provides visibility into the real-time event system:

  • Active EventHub connections per module
  • Recent BroadcastEvent deliveries
  • Event type distribution
  • Connection health metrics

Features​

Connection Stats​

MetricDescription
Total ConnectionsActive SSE connections across all modules
AuthProxy EventsEvents from authentication module
TrexWallet EventsEvents from wallet module
Chat EventsEvents from chat module
CRM EventsEvents from CRM module

Event Stream​

Live view of recent events:

  • Event type (e.g., balance_update, order_status_changed)
  • Target user ID
  • Module source
  • Timestamp
  • Delivery status

Event Format (BroadcastEvent)​

All events use the unified BroadcastEvent format:

{
"eventType": "balance_update",
"userId": 17234567890001,
"data": { "currency": "USDT", "balance": "1000000" },
"module": "trexwallet",
"tick": 17080234567890
}

Note: The legacy NotifyMess format was deprecated in February 2026. See the Platform Changelog for migration details.