chore(fxa): Add sentry monitoring to our workers

This commit is contained in:
dschom
2025-12-05 11:15:17 -08:00
parent 922acd7994
commit be49e1bc95
3 changed files with 9 additions and 0 deletions

View File

@@ -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');

View File

@@ -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);

View File

@@ -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');