Fleet Management is in preview. APIs and features described on this page may change.
How Rules Work
- You define a rule with a condition (what to look for) and one or more actions (what to do when found).
- When a recording finishes processing, all active rules evaluate against its data.
- If a rule’s condition matches, its actions execute automatically.
- Rule evaluation results are logged for auditing and debugging.
Rule Types
| Rule Type | Description | Example Use Case |
|---|---|---|
threshold | Numeric value exceeds or falls below a limit | Motor temperature > 80C, latency > 100ms |
pattern | Regex match on topic data or metadata fields | Error message contains “timeout”, topic name matches /sensors/*/error |
frequency | Event occurs more than N times within a time window | More than 5 errors in 1 minute, heartbeat rate drops below 1 Hz |
absence | Expected data is missing for a specified duration | No heartbeat for 30 seconds, missing camera frames for 5 seconds |
composite | Logical combination of other conditions (AND, OR) | Temperature > 80C AND motor speed > 1000 RPM |
Creating Rules
Threshold Rule
The most common rule type. Monitor a numeric field on a topic and trigger when it crosses a boundary.Condition Operators
| Operator | Description | Valid For |
|---|---|---|
gt | Greater than | Numeric fields |
gte | Greater than or equal | Numeric fields |
lt | Less than | Numeric fields |
lte | Less than or equal | Numeric fields |
eq | Equal to | Numeric, string, boolean fields |
neq | Not equal to | Numeric, string, boolean fields |
between | Within a range (inclusive) | Numeric fields |
outside | Outside a range | Numeric fields |
Pattern Rule
Match against string values in topic data or recording metadata using regular expressions.Frequency Rule
Trigger when an event or condition occurs more (or fewer) than a specified number of times within a sliding time window.Absence Rule
Detect missing data — useful for heartbeat monitoring, dropped sensor feeds, and connectivity issues.Composite Rule
Combine multiple conditions with logical operators for complex detection scenarios.Rule Actions
Each rule can have one or more actions that execute when its condition matches.| Action | Description | Parameters |
|---|---|---|
tag | Add a tag to the recording | value: tag string |
create_event | Create a timeline event marker on the recording | event_type, label, optional severity |
flag_for_review | Mark the recording for human review in the dashboard | None |
notify | Send a notification via a configured alert channel | channel_id |
auto_label | Trigger an auto-labeling pipeline on the recording | pipeline_id |
Actions execute in the order they are defined. If a
notify action fails (e.g., Slack webhook returns an error), subsequent actions still execute. Failed actions are logged in the rule evaluation results.Tag Action
Tags are searchable strings attached to recordings. Use tags to categorize recordings for downstream filtering in the recording browser or SDK queries.Create Event Action
Creates a timestamped event marker on the recording at the point where the condition matched.Flag for Review Action
Marks the recording in the dashboard with a review flag. Flagged recordings appear in the “Needs Review” filter in the recording browser.Notify Action
Sends a notification to a configured alert channel. The notification includes the rule name, recording ID, device name, and a link to the recording in the viewer.Auto-Label Action
Triggers an auto-labeling pipeline on the recording. Useful for running ML inference on recordings that match specific patterns — for example, auto-labeling all recordings tagged with “near-miss” events.Rule Scope
By default, rules apply to all recordings across the fleet. You can narrow a rule’s scope to specific devices or device groups.Rule Management
List Rules
Enable and Disable Rules
Pause a rule without deleting it. Disabled rules are preserved with their configuration and hit history.Delete a Rule
Rule Statistics
Each rule tracks evaluation statistics to help you tune conditions and reduce false positives.| Metric | Description |
|---|---|
evaluation_count | Total number of recordings evaluated against this rule |
hit_count | Number of recordings that matched the rule’s condition |
hit_rate | Percentage of evaluations that matched (hit_count / evaluation_count) |
last_hit_at | Timestamp of the most recent match |
avg_evaluation_ms | Average time to evaluate the rule against a recording |
Rule Dashboard
The rule dashboard in Mission Control displays all rules with their hit rates, recent matches, and status. From the dashboard you can:- View rule hit rate trends over time
- Inspect recent matches with links to the matched recordings
- Toggle rules on and off
- Duplicate rules as templates for new variations
- View evaluation logs for debugging conditions that match unexpectedly (or fail to match)
Next Steps
Alerts & Notifications
Route notifications to Slack, email, and webhooks when rules trigger.
Events & Markers
Understand the timeline events that rules can create automatically.
Fleet Dashboard
Manage devices, recordings, and fleet metrics from the central dashboard.
Data Exploration
Explore recording data interactively before defining rules.