Nocturnally Psychologizing Millipede

    @scullyio/scully-plugin-sentry
    TypeScript icon, indicating that this package has built-in type declarations

    2.1.32 • Public • Published

    Sentry

    • Description: This plugin allows the usage of Sentry.
    • Type: Render Plugin

    Getting Started

    1. Install the plugin:

    npm install -D @scullyio/scully-plugin-sentry

    2. Use the plugin:

    In the application's scully.your-app.config.file:

    1. Configure the plugin:

    The plugin's configuration receives an object like this {key: string, org: string, project: string} where the key, org, and project are provided in the Script Tag window.Sentry.init({ dsn: 'https://<key>@<org>.ingest.sentry.io/<project>' }) provided by Sentry.

    1. Make a default post render array and add the plugin to it.

    2. Set the default post renders in Scully config.

    e.g.

    // ./scully.your-app.config.ts
    
    import { setPluginConfig, ScullyConfig } from '@scullyio/scully';
    import { Sentry } from '@scullyio/plugins/Sentry';
    
    const defaultPostRenderers = [];
    
    setPluginConfig(Sentry, {
      key: 'your-key',
      org: 'your-org',
      project: 'your-project',
    });
    defaultPostRenderers.push(Sentry);
    
    export const config: ScullyConfig = {
      defaultPostRenderers,
      routes: {
        '/': {
          type: 'contentFolder',
          postRenderers: [...defaultPostRenderers],
        },
      },
    };

    Install

    npm i @scullyio/scully-plugin-sentry

    DownloadsWeekly Downloads

    480

    Version

    2.1.32

    License

    MIT

    Unpacked Size

    13.2 kB

    Total Files

    11

    Last publish

    Collaborators

    • aaronfrost
    • jorgeucano
    • sanderelias
    • villanuevand