Nick: only enable hyper dx in prod
This commit is contained in:
@@ -50,7 +50,9 @@ const HOST = process.env.HOST ?? "localhost";
|
||||
redisClient.connect();
|
||||
|
||||
// HyperDX OpenTelemetry
|
||||
initSDK({ consoleCapture: true, additionalInstrumentations: []});
|
||||
if(process.env.ENV === 'production') {
|
||||
initSDK({ consoleCapture: true, additionalInstrumentations: []});
|
||||
}
|
||||
|
||||
|
||||
export function startServer(port = DEFAULT_PORT) {
|
||||
|
||||
Reference in New Issue
Block a user