Learn how to analyze errors, debug failed runs, and improve your pipeline reliability.
Errors that occur during script execution, such as syntax errors, import failures, or unhandled exceptions.
Status: failed
Error: ModuleNotFoundError: No module named 'pandas'
Data quality issues detected by your validation checks.
Status: failed
Error: Data validation failed - 45 null values found
Script exceeded maximum execution time or heartbeat missed.
Status: failed
Error: Heartbeat timeout - No signal received for 15 minutes
Each error includes detailed metadata to help with debugging:
Use the dashboard analytics to spot patterns:
Memory Issues
Large datasets causing out-of-memory errors
Solution: Process data in chunks or increase system resources
External API Failures
Third-party service timeouts or rate limits
Solution: Implement retry logic and exponential backoff
Data Quality Issues
Unexpected data formats or missing values
Solution: Add validation checks and handle edge cases
import logging
from seerpy import Seer
seer = Seer(api_key="your_api_key")
logging.basicConfig(level=logging.INFO)
try:
seer.log("Starting data processing...")
process_data()
seer.log("Data processing completed successfully")
except Exception as e:
logging.error(f"Error processing data: {str(e)}")
seer.log(f"ERROR: {str(e)}", {"traceback": traceback.format_exc()})
raiseseer.start(
job_name="data-pipeline",
metadata={
"environment": "production",
"data_source": "database_a",
"row_count": len(df),
"columns": list(df.columns)
}
)Add progress markers to identify where failures occur:
seer.log("Checkpoint 1: Data loaded")
seer.log("Checkpoint 2: Validation passed")
seer.log("Checkpoint 3: Transformation complete")
seer.log("Checkpoint 4: Data saved")