DMSI Advanced API aggregates log data into summary metrics available from the Monitoring screen and via the admin API endpoint.
Available Metrics #
| Metric | Description |
|---|---|
| Request Count | Total number of API requests in the selected time window |
| Error Rate | Percentage of requests that returned a 4xx or 5xx status code |
| Average Response Time | Mean response time across all requests in the window |
| Top Endpoints | The most frequently requested API paths |
| Requests per Second | Throughput rate over the selected window |
Time Windows #
Metrics support the following timeframe strings:
1 hour24 hours7 days30 days
Metrics API Endpoint #
Aggregated metrics are also available programmatically:
GET /wp-json/dmsi-api/v1/admin/metrics
This endpoint requires the admin scope. It accepts an optional timeframe query parameter.
Charts #
The Monitoring screen displays trend charts showing how request volume, error rate, and response time have changed over the selected time window.
