griffin init
Initialize Griffin in the current directory. Creates agriffin.json config file.
| Option | Description |
|---|---|
--project <name> | Project ID (defaults to package.json name or directory name) |
griffin validate
Check monitor files for errors without running them.griffin status
Show the current project, hub connection, and environment configuration.griffin test
Run monitors locally against their configured endpoints. Useful for validating tests during development.| Argument | Description |
|---|---|
[env] | Environment name (optional, defaults to default) |
griffin plan
Preview what changes would be applied to the hub. Shows which monitors will be created, updated, or remain unchanged.| Option | Description |
|---|---|
--json | Output in JSON format |
griffin apply
Push monitor changes to the hub.| Option | Description |
|---|---|
--auto-approve | Skip the confirmation prompt |
--dry-run | Show what would be done without making changes |
--prune | Delete monitors on the hub that don’t exist locally |
griffin run
Trigger a specific monitor to run immediately.| Option | Description |
|---|---|
--monitor <name> | Monitor name to run (required) |
--wait | Wait for the run to complete and show results |
--force | Run even if the local monitor differs from the hub |
griffin runs
List recent monitor runs.| Option | Description |
|---|---|
--monitor <name> | Filter by monitor name |
--limit <n> | Number of runs to show (default: 10) |
griffin metrics
Show monitor metrics summary.| Option | Description |
|---|---|
--period <period> | Time window: 1h, 6h, 24h, 7d, 30d (default: 24h) |
--json | Output as JSON |