Backend Application Setup
Instrument your backend application to send telemetry data to the SF Veritas IDE Extension or Desktop App.
Supported Languages
| Language | Package | Status |
|---|---|---|
| JavaScript/TypeScript | @sailfish-ai/sf-veritas | Full Support |
| Python | sf-veritas | Full Support |
Choose Your Language
- JavaScript/TypeScript - Node.js applications
- Python - Django, FastAPI, Flask, and other Python frameworks
What Gets Captured
Backend instrumentation automatically captures:
- Console Output: All
console.log,console.info,console.warn,console.errorcalls - Exceptions: Unhandled exceptions with full stack traces
- Function Traces: Execution timing and call hierarchy (for Flamechart)
- Print Statements: Any output to stdout/stderr
Requirements
Before instrumenting your backend:
- Ensure the SF Veritas IDE Extension or Desktop App is installed and running
- Verify the local server is started (check for the server status in the app)
- Have Node.js 16+ for JavaScript/TypeScript projects
- Have Python 3.8+ for Python projects
Quick Verification
After setup, verify instrumentation is working:
- Run your backend application
- Open the SF Veritas Console (
SF Veritas: Show Console Logsin VS Code, or via the Desktop App) - Trigger some code that produces logs
- You should see the logs appear in the Console panel