Skip to content

Check an agent's health

Before you dig into individual runs, it helps to know whether an agent is healthy overall: how many of its runs succeed, how long they take, and which step is slow or failing. The Metrics tab on the Agent page answers all three for a period you choose.

By the end you’ll know the agent’s success rate and failure count, whether its run times have a slow tail, and which step to look at first.

  • The agent has recorded runs in the period you want to check. Any role can read the Metrics tab.
  • If you don’t know which agent to check, go to Home first. Needs attention lists the agents with failed runs or raised alerts in the period.
  1. Go to Agents and select View details on the agent’s card.

    The Agent page opens.

  2. Select the Metrics tab.

    The tab starts with the Metrics summary card 1: four headline figures above a breakdown of run durations. Further down are Outcomes 2 and Span duration distribution 3, which the later steps cover.

    The Metrics tab of an agent, with markers on Metrics summary (1), Outcomes (2) and Span duration distribution (3).

  3. Choose a period with the time range picker at the top of the page: 24h, 7d, or 30d.

    Every figure on the tab updates. Runs count toward the period they were created in, and spans toward the period they started in.

  1. Read Success rate.

    The line underneath, such as “42 of 45 runs completed successfully”, shows what the rate is based on. Only finished runs count, so runs still active don’t pull the rate down.

  2. Read Failures.

    This counts the runs that ended as Failed or Terminated in the period.

  3. Compare Typical duration with Worst case, then read the Instance duration distribution below them.

    The distribution gives Best, P25, Median, Average, P95, Worst, and Std dev for finished runs. A P95 far above the Median means a small share of runs take much longer than the rest, which an average alone would hide.

  4. Read Outcomes, below Span timing and outcomes.

    Every run in the period is counted by how it ended, with a share for each. Failed, Cancelled, and Terminated only appear when there’s at least one.

  1. Read the Span duration distribution.

    Each span type gets a row, slowest average first, with its Avg, P95, call count, success rate, and a bar showing its spread from fastest to slowest on a shared time axis. A low success rate points at the step that’s failing; the top rows are where the time goes.

  2. Open Details on a span type for its full spread and failure count.

    You’ll see min, p25, p50 (median), p95, avg, max, and how many of its spans failed.

  3. Select the History tab to open the runs behind the numbers.

    Use the Status column to find a failed run, then follow Investigate a run.

  • The figures show a dash. No runs finished in the period. Choose a longer period, or check the History tab for runs that are still active.
  • The run count doesn’t match the History tab. The Metrics tab counts runs by when they were created in the selected period. Runs created earlier don’t count, even if they finished inside it.
  • A span type says “No finished spans for this type yet.” Its spans in the period are all still running, so there’s no duration to measure.
  • The span list is empty. The agent recorded no spans in the period. Check that your integration is sending spans; see Configuration and environment variables.