This module records timestamps for when Symfony Messenger messages are received and processed, allowing for analysis of processing wait times and execution durations. It provides a user interface to view these statistics and stores them in the database for persistence.
Records metrics about processing for consumption by others, including:
- Pre-handle time: the time spent between a message dispatch and when processing begins. Most of the time will be attributed to time spent waiting for a worker to pick up the task.
- Hand time: time spent by the message handle to execute a message.
Notes: stats are always complete, stats will not appear until processing for each message is complete. Metrics use database persistence, so catastrophic connection failures will still cause metrics not be logged, at least until the message is processed.
A UI is also included to display summaries of statistics per transport and message combination. (See screenshots)
The module is ready as soon as its installed, other configuration options are documented in the README.
The Symfony Messenger Monitoring project makes use of SM Metrics to record statistics.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the SM ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.0-beta6 | Pre-release | 11 | Share the worker ID | Jul 17, 2026 | |
| 1.0.0-beta5 | Pre-release | 11 | Move UI to www.drupal.org/project/sm_monitor | Jul 8, 2026 | |
| 1.0.0-beta4 | Pre-release | 11 | Record failure metrics | Jun 19, 2026 | |
| 1.0.0-beta3 | Pre-release | 11 | ✨ Metrics UI | Jun 10, 2026 | |
| 1.0.0-beta2 | Pre-release | 11 | Fix backdated stamp causing database integrity issues | Jun 8, 2026 | |
| 1.0.0-beta1 | Pre-release | 11 | ✨ Base Metric and statistics features | Jun 8, 2026 |