Skip to content

SigSentry/sdk

Repository files navigation

SigSentry SDK

Official SDKs for SigSentry — AI-powered log analysis that turns error reports into instant root-cause diagnoses.

Packages

Package Description npm
@sigsentry/core TypeScript API client, types, and utilities npm
@sigsentry/react Drop-in React components and hooks npm

Quick Start

React

npm install @sigsentry/react
import { SigSentryProvider, AnalysisWidget } from '@sigsentry/react';

function App() {
  return (
    <SigSentryProvider apiKey="your-api-key">
      <AnalysisWidget onAnalysisComplete={(result) => console.log(result)} />
    </SigSentryProvider>
  );
}

Vanilla TypeScript / Node.js

npm install @sigsentry/core
import { SigSentryClient } from '@sigsentry/core';

const client = new SigSentryClient({ apiKey: 'your-api-key' });

const result = await client.createAnalysis({
  description: 'Users getting 500 errors on checkout',
  timeStart: new Date('2024-01-15T10:00:00Z'),
  timeEnd: new Date('2024-01-15T11:00:00Z'),
});

Development

pnpm install
pnpm build
pnpm test

License

MIT

About

Official SDKs for SigSentry — AI-powered log analysis

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors