mirror of
https://github.com/mozilla/fxa.git
synced 2025-12-13 20:36:41 +01:00
chore(fxa): Add sentry monitoring to our workers
This commit is contained in:
@@ -4,6 +4,9 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
// Important! Must be required first to get proper hooks in place.
|
||||
require('../lib/monitoring');
|
||||
|
||||
const config = require('../config').default.getProperties();
|
||||
const StatsD = require('hot-shots');
|
||||
const { CurrencyHelper } = require('../lib/payments/currencies');
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
// Important! Must be required first to get proper hooks in place.
|
||||
require('../lib/monitoring');
|
||||
|
||||
const config = require('../config').default.getProperties();
|
||||
const StatsD = require('hot-shots');
|
||||
const statsd = new StatsD(config.statsd);
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
// Important! Must be required first to get proper hooks in place.
|
||||
require('../lib/monitoring');
|
||||
|
||||
const Firestore = require('@google-cloud/firestore');
|
||||
const StatsD = require('hot-shots');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user