Last updated
This section covers how to expose custom statistics and telemetry from your microservice for monitoring and observability.
Rumi automatically collects extensive statistics about message processing, transactions, and system resources. You can augment this with application-specific metrics to monitor business logic and operational characteristics.
Custom statistics are exposed through heartbeat logs and can be queried in real-time or analyzed offline.
Rumi supports four types of custom statistics:
Gauges - Current value measurements (e.g., queue depth, cache size)
Counters - Monotonically increasing counts (e.g., orders processed, errors)
Series - Collections of measurements (e.g., order sizes, processing times)
Latencies - Timing measurements with percentile tracking
Exposing Application Stats - Define custom statistics using @AppStat annotations
Operating Model - Conceptual overview of monitoring and operations
Container Heartbeats - Server-level statistics
Engine Stats - Engine-level metrics
Configuring Monitoring - Configure statistics collection
Last updated