-
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Capture all database queries, cache operations, HTTP calls, and queue jobs for debugging and analysis.
Laravel ChronoTrace is a powerful debugging and monitoring tool that helps you understand exactly what happens during Laravel request execution. Perfect for debugging production issues, performance analysis, and understanding complex application flows.
- π― Capture complete HTTP request execution context
- π Replay traces to analyze what happened during specific requests
- π Debug production issues with comprehensive event logs
- π Monitor application performance and identify bottlenecks
composer require --dev grazulex/laravel-chronotrace
php artisan chronotrace:install- Enable recording (already enabled by default in development)
- Make a request to your application
-
View the trace using
php artisan chronotrace:list -
Replay the trace with
php artisan chronotrace:replay {trace-id}
- Installation & Setup - Install and configure ChronoTrace
- Basic Usage - Learn the fundamentals and common workflows
- Your First Trace - Step-by-step guide to recording and analyzing traces
- Understanding Traces - Learn how ChronoTrace captures application state
- Event Capturing - Configure what events to capture (DB, cache, HTTP, jobs)
- Event Filtering - Focus on specific event types during analysis
- Configuration - Complete configuration reference
- Recording Modes - Choose when to record traces
- Storage Options - Local, S3, and custom storage backends
- Artisan Commands - Complete command reference
- Testing Internal Operations - Test ChronoTrace functionality
- Production Monitoring - Best practices for production use
- Custom Storage - Implement custom storage adapters
- Security & PII - Protect sensitive data in traces
- Debugging Database Issues - Real-world database debugging scenarios
- Performance Analysis - Identify and fix performance bottlenecks
- API Integration Debugging - Debug external API calls and integrations
- API Reference - Complete API documentation
- Configuration Examples - Ready-to-use configuration examples
- Troubleshooting - Common issues and solutions
- Always - Record every request (development)
- Sample - Record percentage of successful requests
- Error-only - Record only failed requests (production)
- Targeted - Record specific routes or conditions
- Database queries with bindings and execution time
- Cache operations (get, set, forget, etc.)
- HTTP requests to external APIs
- Queue jobs and their payloads
- Custom events for application-specific tracking
- Complete timeline of request execution
- Performance metrics and bottleneck identification
- Event filtering to focus on specific areas
- Replay capability for detailed investigation
- Minimal performance impact with async storage
- PII scrubbing to protect sensitive data
- Automatic cleanup with configurable retention
- Multiple storage backends (local, S3, custom)
Record traces when errors occur to understand exactly what went wrong, including all database queries and external API calls that led to the failure.
Identify slow queries, excessive cache misses, or inefficient API calls by analyzing trace timelines and performance metrics.
Trace multi-step processes involving databases, caches, queues, and external services to understand the complete execution flow.
Record traces during development to ensure your application behaves as expected and to document complex business logic.
- Troubleshooting Guide - Solutions to common problems
- GitHub Issues - Report bugs or request features
- Configuration Examples - Copy-paste configurations for common scenarios
Ready to start? Head over to Installation & Setup to get ChronoTrace running in your Laravel application!
- Getting Started - Install and configure ChronoTrace
- Examples - Real-world debugging scenarios
- Production Guide - Deploy safely in production
- Troubleshooting - Solve common issues
| Section | Page | Description |
|---|---|---|
| π Basics | Your First Trace | Step-by-step beginner guide |
| ποΈ Config | Recording Modes | Choose when to record traces |
| π‘οΈ Security | Security & PII | Protect sensitive data |
| π§ Tools | Commands | Complete command reference |
- π¬ GitHub Discussions - Community support
- π Report Issues - Bug reports & feature requests
- π§ Contact - Direct support
- π‘ Feature Requests - Suggest improvements
ChronoTrace helps Laravel developers debug applications faster with intelligent request tracing.
Made with β€οΈ by Grazulex β’ Documentation updated August 2024