Skip to content

Commit

Permalink
Removed NewRelic from Ghost
Browse files Browse the repository at this point in the history
fix https://linear.app/tryghost/issue/SLO-47/remove-newrelic-from-ghost

- we no longer need this in Ghost because we've doubled down on Sentry
  Performance
- we can remove this because we've seen it costs 200-300ms to include
  the dependency
  • Loading branch information
daniellockyer committed Mar 18, 2024
1 parent 949b157 commit 48ae822
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 560 deletions.
5 changes: 0 additions & 5 deletions ghost/core/index.js
@@ -1,6 +1 @@
// Load New Relic
if (process.env.PRO_ENV) {
require('newrelic');
}

require('./ghost');
53 changes: 0 additions & 53 deletions ghost/core/newrelic.js

This file was deleted.

1 change: 0 additions & 1 deletion ghost/core/package.json
Expand Up @@ -209,7 +209,6 @@
"multer": "1.4.4",
"mysql2": "3.9.2",
"nconf": "0.12.1",
"newrelic": "11.13.0",
"node-jose": "2.2.0",
"path-match": "1.2.4",
"probe-image-size": "7.2.3",
Expand Down

0 comments on commit 48ae822

Please sign in to comment.