Octri

monitoring traces

Lists recent traces, with each one's root operation, span count, duration and whether it failed. Pass a trace ID to print that trace's spans. See traces.

bash
octri monitoring traces [<traceId>]

Arguments

<traceId>string

Prints this trace's spans instead of the list.

Flags

--range <window>stringdefault: 24h

The time window: 1h, 6h, 24h, 7d, 30d or 90d.

--limit <n>numberdefault: 25

How many traces to list.

Examples

Recent traces

bash
octri monitoring traces
Output
✔ Loading traces

Traces (25 of 25)
  TRACE             ROOT                     SERVICE  SPANS  TOOK       WHEN
  ────────────────  ───────────────────────  ───────  ─────  ─────  ──  ───────
  f2a927aa730effd1  POST /customers          server   3      63ms   ok  32m ago
  581d8416810ce5c1  GET /invoices            server   13     233ms  ok  33m ago
  e8b6b75cd5720e6d  GET /customers           server   3      52ms   ok  36m ago
  c520074f3b7a6522  POST /invoices/:id/send  server   3      421ms  ok  41m ago
  a15fa89a289a7e2d  POST /subscriptions      server   4      162ms  ok  52m ago
  e9fe3a792c2fff82  GET /customers/:id       server   3      21ms   ok  55m ago
  7502a825f1aca834  GET /customers/:id       server   3      27ms   ok  58m ago
  …