Maton
Guide

Monitoring metrics

You can monitor metrics in two ways:

  • Console: Browse and inspect the home dashboard.
  • API: Compute custom counts, latencies, and error rates with the Metrics API.

For custom analysis, run ClickHouse SQL over your requests with the QueryRequests API.

SELECT app, count() AS calls, quantile(0.95)(duration_ms) AS p95
FROM requests
WHERE start_time > now() - INTERVAL 1 DAY AND response_status_code >= 400
GROUP BY app
ORDER BY calls DESC

Next

On this page