UNPKG

854 BMarkdownView Raw
1# Sentry Node (ETL)
2
3## Introduction
4
5[![NPM Version](https://img.shields.io/npm/v/@carisls/sentry-node-etl.svg?style=flat)](https://www.npmjs.org/package/@carisls/sentry-node-etl)
6[![NPM Downloads](https://img.shields.io/npm/dm/@carisls/sentry-node-etl.svg?style=flat)](https://npmcharts.com/compare/@carisls/sentry-node-etl?minimal=true)
7[![Install Size](https://packagephobia.now.sh/badge?p=%40carisls%2Fsentry-node-etl)](https://packagephobia.now.sh/result?p=%40carisls%2Fsentry-node-etl)
8
9This is a simple tool to add Sentry monitoring to any ETL project.
10
11## How to add to your application?
12
13Add this code after you initialize express app.
14
15```javascript
16const sentryEtl = require('@carisls/sentry-node-etl');
17sentryEtl(
18 'my-etl-monitor',
19 process.env.SENTRY_DSN,
20 process.env.SENTRY_ENV,
21 process.env.GIT_SHA || 'v1.0.0' // optional
22);
23```