Capture the runtime trail around a production error.

Add the SDK to a Python or Node.js service. When an unhandled failure occurs, it captures the exception, error logs, and outgoing HTTP calls that led up to it. Supported integrations add request context; Python integrations can also add database breadcrumbs.

See what happened before the exception.

  1. 01RequestPOST /checkoutcheckout-api
  2. 02Downstream callpayments.internal/v1/charge503 · 421 ms
  3. 03Error logcharge request failed
  4. 04ExceptionPaymentGatewayErrorpayment.py:184

Only events with env="PROD" are considered for auto-monitoring.

Add Steadwing to your service.

Copy a snippet with your API key.

Open Steadwing to copy the snippet, or create an API key manually. Store the key in a deployment secret.

Open Steadwing

Node.js

18+
  1. 01
    Install the package
    $ npm install @steadwing/node
  2. 02
    Initialize the SDK
    import * as steadwing from "@steadwing/node";
    
    const apiKey = process.env.STEADWING_API_KEY;
    if (!apiKey) throw new Error("STEADWING_API_KEY is required");
    
    steadwing.init({
      apiKey,
      service: "checkout-api",
      env: process.env.STEADWING_ENV ?? "PROD",
    });

Open source · Apache 2.0

Read the code that runs in your service.

Inspect capture, integrations, redaction, and transport in the repository for your runtime.