feat: remove newrelic integration (#862)

This commit is contained in:
Karol Sójko
2023-10-10 15:07:38 +02:00
committed by GitHub
parent dae7dc9541
commit efb341eb99
135 changed files with 46 additions and 2810 deletions
@@ -44,13 +44,6 @@ export class ContainerConfigLoader {
.toConstantValue(isConfiguredForHomeServerOrSelfHosting)
const winstonFormatters = [winston.format.splat(), winston.format.json()]
if (env.get('NEW_RELIC_ENABLED', true) === 'true') {
await import('newrelic')
// eslint-disable-next-line @typescript-eslint/no-var-requires
const newrelicFormatter = require('@newrelic/winston-enricher')
const newrelicWinstonFormatter = newrelicFormatter(winston)
winstonFormatters.push(newrelicWinstonFormatter())
}
let logger: winston.Logger
if (configuration?.logger) {