ワンクリックで
ranetrace-error-tracking
Track, investigate, and manage application errors with Ranetrace, including MCP tools for AI-assisted debugging.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Track, investigate, and manage application errors with Ranetrace, including MCP tools for AI-assisted debugging.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Send application logs to Ranetrace via the auto-registered logging channel, and integrate it with Laravel's logging stack.
Set up and schedule the Ranetrace worker to flush buffered errors, events, logs, analytics, and JavaScript errors to the API.
Track custom application events like sales, signups, and user actions with Ranetrace's privacy-first event system.
Capture client-side JavaScript errors with breadcrumbs, deduplication, and sampling using Ranetrace's Blade directive.
Set up and configure Ranetrace's privacy-first website analytics with bot detection, path filtering, and custom request filters.
| name | ranetrace-error-tracking |
| description | Track, investigate, and manage application errors with Ranetrace, including MCP tools for AI-assisted debugging. |
Use this skill when working with error tracking, exception reporting, error investigation, or managing error states in a Ranetrace-monitored Laravel application.
Capturing unhandled exceptions is required wiring — it is NOT automatic. Register Ranetrace on Laravel's exception handler in bootstrap/app.php with the package's one-liner:
use Illuminate\Foundation\Configuration\Exceptions;
use Ranetrace\Laravel\Facades\Ranetrace;
->withExceptions(function (Exceptions $exceptions) {
Ranetrace::handles($exceptions);
})
Ranetrace::handles() registers a reportable callback and preserves Laravel's own default error logging. Without this line, unhandled exceptions are not captured (manual Ranetrace::report() calls still work).
Manual reporting, for in-flow capture:
try {
// risky operation
} catch (Throwable $e) {
Ranetrace::report($e);
}
Each error report includes:
x-forwarded-for is masked, not captured)ranetrace.errors.capture_user_email is enabled; off by default)// config/ranetrace.php
'errors' => [
'enabled' => env('RANETRACE_ERRORS_ENABLED', true),
'queue' => env('RANETRACE_ERRORS_QUEUE', true), // async via queue
'queue_name' => env('RANETRACE_ERRORS_QUEUE_NAME', 'default'),
'timeout' => env('RANETRACE_ERRORS_TIMEOUT', 10),
],
The Ranetrace MCP server provides 24 tools for AI-assisted error investigation. These are available when laravel/mcp is installed.
| Tool | Description |
|---|---|
LatestErrorsTool | Fetch the most recent errors |
SearchErrorsTool | Search errors with advanced filtering |
GetErrorTool | Get full details of a specific error |
ErrorStatsTool | Get error statistics and trends |
GetErrorActivityTool | View the activity timeline for an error |
| Tool | Description |
|---|---|
ResolveErrorTool | Mark an error as resolved |
ReopenErrorTool | Reopen a previously resolved error |
IgnoreErrorTool | Ignore an error (suppress future alerts) |
UnignoreErrorTool | Stop ignoring an error |
SnoozeErrorTool | Temporarily snooze an error |
UnsnoozeErrorTool | Unsnooze a snoozed error |
DeleteErrorTool | Soft-delete an error |
RestoreErrorTool | Restore a deleted error |
| Tool | Description |
|---|---|
BulkResolveErrorsTool | Resolve multiple errors at once |
BulkReopenErrorsTool | Reopen multiple errors |
BulkIgnoreErrorsTool | Ignore multiple errors |
BulkDeleteErrorsTool | Delete multiple errors |
BulkRestoreErrorsTool | Restore multiple deleted errors |
| Tool | Description |
|---|---|
CreateNoteTool | Add a note to an error |
CreateNotesTool | Add multiple notes at once |
ListNotesTool | List all notes on an error |
GetNoteTool | Get a specific note |
UpdateNoteTool | Update a note |
DeleteNoteTool | Delete a note |
php artisan ranetrace:test-errors