Read the metrics of a module
The Metrics tab reads the prometheus endpoint of the running app.
You need an environment whose actuator exposes prometheus. See Connect the actuator of an app.
-
Open the Metrics tab, or press 5. With All modules selected, the table has one row per module.
-
If the app has more than one environment, pick the environment in the switch at the top.
-
Pick the range: 15 min, 1 hour or 24 hours.
-
Select a row to show it in the chart.
-
To see the routes of one module, select the module in the module index. The table then has one row per route.


The table shows Requests/min, 95% under, Errors, Jobs/min and Database time. Mortise reads the metrics every 15 s while the tab is open and the window is visible. A rate needs two reads, so the first figures come 15 s after the first read. The reads stay in memory. Mortise never writes them to disk.
If the tab shows no figures
Section titled “If the tab shows no figures”- Metrics are not connected: no environment is set for the app. Press Connect an environment.
- “Metrics are not exposed on” the environment: add
prometheustoexposure.includeinconfig/actuator.php, next tohealth. - “Metrics are off on” the environment: set
METRICS_ENABLED=truein the.envof the app. - “Metrics cannot be read on” the environment: check the metrics store of the app, then try again.
Database time reads “unknown” until nwidart/laravel-modules labels database metrics with the module.
Requests that match no module count as Not in a module.
Every column is described in Metrics.