Skip to content

Latest commit

 

History

History
 
 

README.md

Sentry

NOTICE: This package is in alpha state and may be subject to breaking changes.

Official Sentry SDK for Elysia

npm version npm dm npm dt

Alpha: This SDK is in alpha stage and may have breaking changes in future releases.

Usage

import * as Sentry from '@sentry/elysia';
import { Elysia } from 'elysia';

Sentry.init({
  dsn: '__DSN__',
  tracesSampleRate: 1.0,
});

const app = Sentry.withElysia(new Elysia())
  .get('/', () => 'Hello World')
  .listen(3000);

Links