Skip to main content

Backend Application Setup

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

Supported Languages

LanguagePackageStatus
JavaScript/TypeScript@sailfish-ai/sf-veritasFull Support
Pythonsf-veritasFull Support
Gogithub.com/SailfishAI/sf-veritas-goFull Support
Javaai.sailfish:sf-veritasFull Support
Rubysf-veritasFull Support
C#SfVeritasFull Support
PHPsailfish/sf-veritasFull Support

Choose Your Language

  • JavaScript/TypeScript - Node.js applications
  • Python - Django, FastAPI, Flask, and other Python frameworks
  • Go - net/http, Gin, Echo, Fiber, and other Go frameworks
  • Java - Spring Boot, Jakarta Servlet, JAX-RS, Micronaut, Quarkus, Vert.x, and Dropwizard
  • Ruby - Ruby on Rails, Sinatra, and other Rack-compatible frameworks
  • C# - ASP.NET Core Minimal API, MVC, and Worker Services
  • PHP - Laravel, Symfony, and standalone PHP applications

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 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
  5. Have Go 1.22+ for Go projects
  6. Have Java 11+ (17+ recommended) for Java projects
  7. Have Ruby 2.6+ for Ruby projects
  8. Have .NET 9.0+ for C# projects
  9. Have PHP 8.1+ for PHP projects

Quick Verification

After setup, verify instrumentation is working:

  1. Run your backend application
  2. Open the SF Veritas Console in the Desktop App
  3. Trigger some code that produces logs
  4. You should see the logs appear in the Console panel