Skip to content

Commit 45f3c28

Browse files
committed
docs(skills): clarify group.time_window unit in channel.md
The prose example set time_window to a bare 300, which reads as either 5 minutes or 5 hours depending on which unit you assume. State the unit explicitly (minutes, default cap 1440 = 24h) and switch the example to a value that only reads sensibly one way.
1 parent 61d6ed9 commit 45f3c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

skills/flashduty/reference/channel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ Update channel
296296
## Key concepts
297297

298298
- **`--auto-resolve-mode`** enum: `trigger` (timer resets on each new alert trigger) | `update` (timer resets on any alert update).
299-
- **Alert grouping `group.method`**: `i` = intelligent (embedding similarity), `p` = pattern (label equality), `n` = none. Set via `--data '{"group":{"method":"p","equals":[["service","env"]],"time_window":300}}'` on `create`/`update`.
299+
- **Alert grouping `group.method`**: `i` = intelligent (embedding similarity), `p` = pattern (label equality), `n` = none. **`group.time_window` is in minutes** (default cap 1440 = 24h; extended accounts may allow up to 43200 = 30 days). Set via `--data '{"group":{"method":"p","equals":[["service","env"]],"time_window":30}}'` on `create`/`update`.
300300
- **Rule status**: `enabled` | `disabled` — apply to escalation, inhibit, silence, and drop rules alike.
301301
- **Inhibit `--equals`**: label keys that must be **equal** between the source (high-priority) and target (suppressed) alert to form a pair (e.g. `--equals service,env`).
302302
- **Silence time windows**: `time_filter` (one-off, unix seconds, mutually exclusive) vs `time_filters` (recurring weekly HH:MM windows). Pass via `--data`.

0 commit comments

Comments
 (0)