@carisls/sentry-node-etl
v1.2.3
Published
Dependency to enable sentry CRON reporting
Readme
Sentry Node (ETL)
Introduction
This is a simple tool to add Sentry monitoring to any ETL project.
How to add to your application?
Add this code after you initialize express app.
For ESM
import sentryEtl from '@carisls/sentry-node-etl';
sentryEtl(
'my-etl-monitor',
process.env.SENTRY_DSN,
process.env.SENTRY_ENV,
process.env.GIT_SHA || 'v1.0.0' // optional
);For CommonJS
const sentryEtl = require('@carisls/sentry-node-etl');
sentryEtl(
'my-etl-monitor',
process.env.SENTRY_DSN,
process.env.SENTRY_ENV,
process.env.GIT_SHA || 'v1.0.0' // optional
);