mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-08-06 07:21:14 +00:00
Reapply "enable otel logs and metrics for staging environments" (#1310)
This reverts commit d7e7df1df6.
## Description:
enable otel logs and metrics for staging environments
## Please complete the following:
- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [x] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors
This commit is contained in:
@@ -46,7 +46,7 @@ export function startWorker() {
|
||||
|
||||
const privilegeChecker = new PrivilegeChecker(COSMETICS);
|
||||
|
||||
if (config.env() === GameEnv.Prod && config.otelEnabled()) {
|
||||
if (config.otelEnabled()) {
|
||||
initWorkerMetrics(gm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user