Analyze Project Probe Performance
Command
Section titled “Command”php artisan uplinkr:project:analyzeDescription
Section titled “Description”Analyzes and evaluates the results of URL queries. This command processes historical probe data, generates summaries, and saves analyzed results for reporting and visualization purposes.
Options
Section titled “Options”| Option | Type | Required | Description |
|---|---|---|---|
--project | string | No | Name of the project to analyze (if omitted, analyzes all projects) |
--from | string | No | Start date for analysis (e.g., 2024-01-01) |
--to | string | No | End date for analysis (e.g., 2024-12-31) |
Usage Examples
Section titled “Usage Examples”Analyze a specific project
Section titled “Analyze a specific project”php artisan uplinkr:project:analyze --project=my-projectAnalyze specific date range
Section titled “Analyze specific date range”php artisan uplinkr:project:analyze \ --project=my-project \ --from=2024-01-01 \ --to=2024-01-31Analyze last month’s data
Section titled “Analyze last month’s data”php artisan uplinkr:project:analyze \ --from=2024-12-01 \ --to=2024-12-31What Gets Analyzed
Section titled “What Gets Analyzed”The command processes probe result files and generates:
- Success/failure rates per probe
- Response time statistics
- Uptime percentages
- Trend data over time
- Per-URL summaries grouped by date
Output
Section titled “Output”Analyzed results are saved to the project’s storage directory and can be used for:
- Generating reports
- Visualizing uptime trends
- Identifying performance patterns
- Historical comparisons
Behavior
Section titled “Behavior”- Reads raw probe result files from storage
- Decodes and summarizes results by URL and date
- Groups statistics by probe URL slug
- Saves analyzed data in JSON format
- Works with date-stamped result files
Return Codes
Section titled “Return Codes”0(SUCCESS): Analysis completed successfully