Граф коммитов

7 Коммитов

Автор SHA1 Сообщение Дата
Barry Chen da11e63832
chore(deps): upgrade to node.js 18
Because:
 - we want to use the latest node LTS major version

This commit:
 - upgrades FxA to use node 18, with two workarounds
   - Webpack uses a hash algorithm that's no longer supported by default
     in node 17+, causing build failures; --openssl-legacy-provider is
     used as the workaround
   - dns.lookup in node 17+ by default returns the results in the same
     order as they are from the resolver, which could lead to
     'localhost' resolving to ::1; --dns-result-order=ipv4first is used
     as the workaround
2023-03-20 13:28:10 -05:00
Mill d4cc899203
feat(fxa-profile-server): add OpenTelemetry library to profile server
Because:

* We're replacing the sentry tracing library/configuration with
  OpenTelemetry (per the auth server)

This commit:

* Removes sentry tracing and replaces it with OpenTelemetry, modelled on
  the work already done in the auth server

Closes # https://mozilla-hub.atlassian.net/browse/FXA-5720
2022-09-21 14:43:21 -07:00
dschom d584a10bca
maintenance(all) - Prepare for new sentry
Because:
- We are upgrading sentry.

This Commit:
- Upgrades version of sentry used
- Improves config to support more options
- Creates routine for consistent extraction of config data from config objects
- Sets sampleRate, and defaults it to 1.0. This controls the percentage of errors captured.
- Sets tracesSampleRate, and defaults it 1.0. This controls the percentage of errors captured.
- Introduces browser tracing support for the client side.
- Introduces tracing transactions on the server side for performance monitoring.
- Improves capture of graphql transactions.
- Adds support for using sentry during local development via configuration of envs.

Closes: #11761

Notes: There will be a follow up PR specifically to address improvements for tagging, filtering of PII, consolidation of error handling, and improvements to distributed tracing.

chore(deps): updated yarn.lock
2022-03-30 09:58:58 -07:00
Jared Hirsch 2c5630adbf
chore(pm2): Add ISO timestamp to pm2 log lines 2020-06-17 17:01:16 -07:00
Danny Coates c3780546b6
fix(local-dev): added fxa-shared and fxa-react to pm2
In order to keep the typescript shared modules up to date for their dependents to use while running locally this adds them to pm2 so that a `tsc --watch` can run alongside the other services.

Note, this DOES NOT automatically restart dependent javascript service processes.

This change refactors pm2-all.sh in order to start processes in dependency topological order. This requires an update to most pm2.config.js files in order to set PATH correctly while running under yarn.
2020-06-03 10:05:02 -07:00
Danny Coates 81575019a9
refactor(packages): use workspace references 2020-05-21 10:57:21 -07:00
Danny Coates 3a054dfc3f
refactor(pm2): restructure our pm2 configs
why: several reasons...

- to have a unified approach and pattern for:
  - debugging
  - fs watching for local dev
  - running services in dev
  - configuring services in dev

- to improve the initial clone and subsequent `npm ci` experience
- to make future work on tooling easier
2020-04-14 14:38:38 -07:00