Error Tracking
Capture, analyze, and resolve errors intelligently
Real-time Error Detection
QODRYX captures errors as they happen, groups similar issues, and provides AI-powered insights for faster resolution.
Overview
QODRYX's error tracking system automatically captures exceptions and errors from your applications, providing detailed context, stack traces, and AI-powered suggestions for resolution. Unlike traditional error tracking tools, QODRYX integrates directly with your deployment pipeline for end-to-end visibility.
Key Features
Automatic Capture
Errors are captured automatically with full stack traces and context
Smart Grouping
Similar errors are grouped together to reduce noise
Full-text Search
Search through error messages, stack traces, and metadata
Instant Alerts
Get notified immediately when new errors occur
Release Tracking
Track errors by release version and deployment
Source Maps
Automatic source map resolution for minified code
Integration
Add error tracking to your application with just a few lines of code:
JavaScript / TypeScript
import { Qodryx } from '@qodryx/sdk';
// Initialize with your project key
Qodryx.init({
projectKey: 'your-project-key',
environment: process.env.NODE_ENV,
release: process.env.npm_package_version,
});
// Errors are captured automatically, or capture manually:
try {
riskyOperation();
} catch (error) {
Qodryx.captureException(error, {
tags: { module: 'payment' },
extra: { userId: user.id }
});
}Python
from qodryx import Qodryx
# Initialize
qodryx = Qodryx(
project_key="your-project-key",
environment="production"
)
# Automatic exception capture
@qodryx.capture_exceptions
def risky_function():
# Your code here
pass
# Or capture manually
try:
risky_operation()
except Exception as e:
qodryx.capture_exception(e, extra={"user_id": user.id})Error Details
Each captured error includes comprehensive information:
- Stack Trace: Full call stack with source-mapped file locations
- Request Context: URL, headers, body, and user information
- Environment: OS, browser, runtime version, and environment variables
- Breadcrumbs: Timeline of events leading up to the error
- Tags & Metadata: Custom tags and extra data you've attached
- Release Info: Which version/deployment introduced the error
Smart Grouping
QODRYX uses intelligent fingerprinting to group similar errors together:
Grouping Rules
- ✓Errors with identical stack traces are grouped
- ✓Similar errors across different users are merged
- ✓Variable parts (IDs, timestamps) are normalized
- ✓Custom fingerprinting rules for complex scenarios
AI-Powered Insights
QODRYX's AI analyzes your errors and provides:
- Root Cause Analysis: Automatic identification of the underlying cause
- Fix Suggestions: Code snippets and solutions based on the error pattern
- Impact Assessment: How many users are affected and severity estimation
- Related Issues: Similar errors that might have the same root cause
Filtering & Search
Find specific errors quickly with powerful filtering:
# Filter examples in the dashboard:
# By error type
type:TypeError
# By environment
environment:production
# By release
release:v2.1.0
# By time range
first_seen:>now-24h
# By user
user.email:john@example.com
# Combined
type:ReferenceError AND environment:production AND first_seen:>now-7dAlerting
Configure alerts to get notified when errors occur:
Alert Triggers
- • New error type detected
- • Error frequency threshold exceeded
- • Error affects X% of users
- • Regression in resolved error
Alert Channels
- • Slack notifications
- • Discord webhooks
- • Email digests
- • PagerDuty integration
Issue Management
Track the lifecycle of errors from detection to resolution:
Best Practices
Recommendations
- Set up alerts for production environments immediately
- Upload source maps for accurate stack traces
- Add user context to errors for better debugging
- Review and triage errors regularly to prevent accumulation