Octri

monitoring performance

実行頻度、エラー数、p50 と p95 を含む、最も遅いトランザクションを一覧表示し、N+1 クエリの疑いがあるパターンも示します。パフォーマンスをご覧ください。

bash
octri monitoring performance [--range <window>] [--limit <n>]

フラグ

--range <window>stringデフォルト:24h

期間:1h、6h、24h、7d、30d、または90d。

--limit <n>numberデフォルト:20

表示するトランザクション数。

例

最も遅いトランザクション

bash
octri monitoring performance
Output
✔ Loading performance

Slowest transactions · last 24h
  TRANSACTION               COUNT  P50    P95    ERRORS
  ────────────────────────  ─────  ─────  ─────  ──────
  GET /customers/:id        80     31ms   141ms  0.00%
  GET /customers            79     47ms   63ms   0.00%
  GET /invoices             59     173ms  1.10s  0.00%
  POST /subscriptions       34     238ms  1.15s  8.8%
  POST /customers           33     84ms   613ms  0.00%
  POST /invoices/:id/send   15     384ms  2.54s  6.7%
  • octri monitoring slos:トランザクションごとにレイテンシとエラーの目標を設定し、違反があった場合は CI を失敗させます。
  • octri monitoring traces:最近のトレース、または1つのトレースのスパンを表示します。