Public Beta. This content is updated as features change.

Trace an alert to its cause

Open the alert's detail page from the notification, then drill into the sessions and pull requests that pushed the value over the line.

View as Markdownllms.txt

Read the condition and history on the alert, then click the session that drove the value to open it.

Alert detail and Session screens (sample data) · No sound · 9.7 s

An alert notification says only which alert crossed which line, and at what value. You find the cause on the alert's detail page, which the notification links to. That page shows when the line was crossed, what drove the value in the current period, and where the alert was sent. From there, open the sessions or pull requests behind the value to see what actually happened.

Open the alert from the notification

Depending on how the alert reached you, open it from one of these.

  1. For Slack and email, click the link at the end of the message. It opens the alert's detail page directly.
  2. In the app, click the bell at the top of the screen, switch to the Alerts tab, and click the row.
  3. If you missed the notification, open the alert from Firing alerts on Home or from the project's Alerts list. The list is ordered Alert, Warning, Can't evaluate, OK, Paused.

Notifications never include prompts, content, session summaries, or per-member values. You read those inside Harnessforce, within what your role and workspace settings allow.

See when it started

  1. Read the state badge in the heading and the note next to it, such as "since 2 h ago", to see when the current state began.
  2. The chart plots the past 14 days of the value with the Alert and Warning lines. The note under the chart heading gives how often it's checked and the current value, for example "Checked every 5 minutes. Today: $62.40".
  3. Under Condition, check the metric, aggregation, lines, how missing data is handled, where it notifies, and who created it. If the line doesn't look right, this is where to reread it.
Alert detail

The chart and lines at the top, the condition and channels on the right, and what drove it and the state history below.

Alert detail (sample data)

Open what drove the value

  1. In the What drove it table, read what contributed to the value in the current evaluation period. It lists up to 50 rows, biggest contribution first.
  2. What the table lists depends on the measure.
Measure groupRowsOrder
CostSession (summary), member, model, traces, costHighest cost first
Pull requests and CIPull requests and checks that were countedNewest first
SessionsSessions in the periodNewest first
MembersMembers without data and their last dataNewest first
  1. Open the session or pull request in a row that stands out. A session shows the instructions, the tools the agent ran, and its replies in order; a pull request shows its first CI run, reviews, and the sessions that produced it.
Session

A session opened from What drove it, with instructions, tool runs, and replies in the order they happened.

Session (sample data)

Prompt and output content in a session appears only if your workspace's "who can read content" setting includes you. Otherwise the row says who can read it.

Check where it was sent

  1. In the History table, read each state change (for example "Warning → Alert"), when it happened, and the value at the time.
  2. If every change reached the same channels, a sentence under the table says each change was posted there.
  3. For a change that didn't reach every channel, a line under that row gives the result per channel, such as "Failed: Email · workspace owners". A change that cleared before two evaluations confirmed it shows "Not notified".

History is built from what was actually sent at the time, not from the alert's current channels. Changing the channels later doesn't rewrite past rows.

Decide what to do, then revisit the line

  1. Once the cause is clear, pick an owner and deal with it in the original issue or pull request.
  2. To stop notifications while you work on it, an Owner or Admin clicks Pause. A paused alert isn't evaluated and isn't counted in Home's need-attention number. Resume picks up again from the next evaluation.
  3. If the line itself is wrong, use Edit to change the line or the measure. Earlier state changes and the notifications already sent stay as they were recorded.

FAQ

I got “There is no data, so it is unknown whether the alert has cleared.”

The alert was in the Alert or Warning state and has moved to Can't evaluate. It hasn't recovered. Find out why the data is missing.

Can Members and Viewers read the detail page?

Yes. Everyone can read the alert list and details. Only Owners and Admins can pause, resume, edit, or delete.

What drove it is empty. Why?

Nothing contributed to the value in the current evaluation period, and the table says so. The period follows the aggregation; with sum per day, for example, it's today.

Slack is a trademark and service mark of Slack Technologies, Inc., registered in the U.S. and in other countries.