Skip to main content

Backend Application Setup

Instrument your backend application to send telemetry data to the SF Veritas IDE Extension or Desktop App.

Supported Languages

LanguagePackageStatus
JavaScript/TypeScript@sailfish-ai/sf-veritasFull Support
Pythonsf-veritasFull Support

Choose Your Language

What Gets Captured

Backend instrumentation automatically captures:

  • Console Output: All console.log, console.info, console.warn, console.error calls
  • 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:

  1. Ensure the SF Veritas IDE Extension or Desktop App is installed and running
  2. Verify the local server is started (check for the server status in the app)
  3. Have Node.js 16+ for JavaScript/TypeScript projects
  4. Have Python 3.8+ for Python projects

Quick Verification

After setup, verify instrumentation is working:

  1. Run your backend application
  2. Open the SF Veritas Console (SF Veritas: Show Console Logs in VS Code, or via the Desktop App)
  3. Trigger some code that produces logs
  4. You should see the logs appear in the Console panel