Skip to content

johnny-woodtke/elysiajs-sentry

Repository files navigation

elysiajs-sentry

Sentry plugin for Elysia server.

This plugin has NOT been tested on the Node runtime.

Capture Issues

Screenshot 2025-01-04 at 2 16 05 PM

Capture Traces

Screenshot 2025-01-04 at 2 15 30 PM

Quickstart

  1. Create your Sentry project.

  2. Assign environment variables (optional).

    A. Assign your DSN (from step 1) to SENTRY_DSN.

    B. Assign your environment name (recommend 'development' | 'staging' | 'production') to SENTRY_ENVIRONMENT.

  3. Import and use the plugin.

import { sentry } from 'elysiajs-sentry';
import { Elysia } from 'elysia';

const app = new Elysia()
  .use(sentry())
  .listen(3000);

About

Sentry plugin for Elysia server.

Resources

License

Stars

Watchers

Forks