Docs

Install the FaultLens .NET SDK

Install FaultLens.SDK for .NET applications that need to capture errors and diagnostics context.

These docs are crawlable public guidance for current and beta FaultLens integration paths. Keep project API keys out of source control and avoid sending secrets in custom context.

Before you start

You need a FaultLens workspace, a project API key, and the correct ingest host for your tenant or validation environment.

The SDKs are intended to capture application errors and diagnostics context without interrupting the host application flow.

  • Use a .NET application that can consume netstandard2.1.
  • Use the NuGet package ID FaultLens.SDK and the namespace FaultLens.Sdk.
  • Set environment and release values deliberately.

Example

Use this as a starting point and adjust environment, release, endpoint, and project identifiers for your workspace.

dotnet add package FaultLens.SDK --version 0.1.0-beta.2

using FaultLens.Sdk;

using var client = new FaultLensClient(
    new FaultLensOptions(
        apiKey: "YOUR_PROJECT_API_KEY",
        environment: "production",
        release: "1.0.0"));

client.CaptureException(exception);
client.Flush(TimeSpan.FromSeconds(2));
FAQ

Common questions

What is FaultLens?

FaultLens is a production issue diagnosis and error monitoring platform for SaaS engineering teams. It helps teams connect errors, releases, environments, and issue context so they can investigate production failures faster.

Who is FaultLens for?

FaultLens is for SaaS engineering teams that need a focused way to diagnose production errors, connect them to releases and environments, and keep issue context in one investigation workflow.

Is FaultLens an error monitoring tool?

Yes. FaultLens includes error monitoring, but its positioning is narrower than a full observability platform: it focuses on production issue diagnosis and the context needed to act on failures.

How is FaultLens different?

FaultLens documentation focuses on sending useful production error context into a diagnosis workflow rather than documenting a broad observability stack.

Which SDKs does FaultLens support?

FaultLens has a public .NET SDK package named FaultLens.SDK and released JavaScript SDK packages for browser, Angular, and React integrations under the @faultlenshq npm scope. The current JavaScript packages are beta releases.