Configuration
Main configuration file:
config/error-tracker.phpImportant options include:
database.connectionroute.pathdashboard.app_home_urlcapture.sample_ratefingerprint.include_environmentnotifications.channelsnotifications.cooldown_minutesnotifications.max_per_issue_per_hourerror_page.enabledfeedback.enabledretention.events_daysauto_resolve.enabledauto_resolve.after_daysstacktrace.smart_groupingstacktrace.project_pathsstacktrace.project_namespacesstacktrace.non_project_pathsstacktrace.path_displaystacktrace.store_absolute_pathsstacktrace.source_contextstacktrace.store_argumentsintegrations.issue_trackers.github
Shared Database / Multi-App Setup
The package can optionally use a dedicated database connection:
'database' => [
'connection' => env('ERROR_TRACKER_DB_CONNECTION'),
],When this is configured, multiple applications may write to the same tracker storage.
In that setup, keeping environment visible in the dashboard and optionally including it in the fingerprint becomes more useful.
As of v1.1.2, the issue, event, and hourly trend for a capture are committed in a single transaction on the configured tracker connection. If database.connection is empty, the transaction runs on Laravel's default database connection.
Request URLs and exception messages
Starting in v1.1.2, captured request URLs and feedback page URLs omit the query string by default. Events still include the HTTP method, request path, and named route when available. The tracker also strips query strings from URLs embedded in exception messages, captured headers, and context.
Text in new event messages, issue titles, and issue message samples masks values assigned to keys in redaction.request_fields and redaction.headers. The same settings continue to mask sensitive keys in structured context and headers. Exception objects in context are represented by class name. GitHub issue bodies and Slack issue titles also apply message redaction when sharing stored text.
Redaction applies at capture or sharing time. Upgrading does not clean historical records, which may still contain sensitive values in the dashboard. Existing issue fingerprints are preserved.
GitHub Issue Integration
GitHub issue linking is disabled by default.
| Environment variable | Config key | Default |
|---|---|---|
ERROR_TRACKER_GITHUB_ENABLED | integrations.issue_trackers.github.enabled | false |
ERROR_TRACKER_GITHUB_TOKEN | integrations.issue_trackers.github.token | empty |
ERROR_TRACKER_GITHUB_REPOSITORY | integrations.issue_trackers.github.repository | empty |
ERROR_TRACKER_GITHUB_LABELS | integrations.issue_trackers.github.labels | bug,error-tracker |
ERROR_TRACKER_GITHUB_ASSIGNEES | integrations.issue_trackers.github.assignees | empty |
ERROR_TRACKER_GITHUB_TITLE_TEMPLATE | integrations.issue_trackers.github.title_template | [{environment}] {exception_class} in {location} |
ERROR_TRACKER_GITHUB_INCLUDE_STACK_TRACE | integrations.issue_trackers.github.include_stack_trace | true |
ERROR_TRACKER_GITHUB_MAX_STACK_FRAMES | integrations.issue_trackers.github.max_stack_frames | 15 |
ERROR_TRACKER_GITHUB_INCLUDE_CONTEXT | integrations.issue_trackers.github.include_context | false |
ERROR_TRACKER_GITHUB_INCLUDE_SOURCE_CONTEXT | integrations.issue_trackers.github.include_source_context | false |
ERROR_TRACKER_GITHUB_TOKEN is displayed only as configured or not configured in diagnostics.