mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-04 13:16:26 +00:00
disable remote logging and metrics on dev & staging to reduce load on monitoring stack
This commit is contained in:
@@ -33,7 +33,7 @@ export function startWorker() {
|
||||
|
||||
const gm = new GameManager(config, log);
|
||||
|
||||
if (config.otelEnabled()) {
|
||||
if (config.env() == GameEnv.Prod && config.otelEnabled()) {
|
||||
initWorkerMetrics(gm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user