mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01:00
Merge pull request #15241 from overleaf/em-gcp-opentelemetry
Replace the GCP trace agent with OpenTelemetry GitOrigin-RevId: 591410029349e4ef5a39a5b79868e57c7bd089b6
This commit is contained in:
committed by
Copybot
parent
e53f3bb158
commit
5855ba7b49
@@ -1,3 +1,6 @@
|
||||
// Metrics must be initialized before importing anything else
|
||||
import '@overleaf/metrics/initialize.js'
|
||||
|
||||
import logger from '@overleaf/logger'
|
||||
import Settings from '@overleaf/settings'
|
||||
import { mongoClient } from './app/js/mongodb.js'
|
||||
|
||||
@@ -5,7 +5,6 @@ import bodyParser from 'body-parser'
|
||||
import * as HttpController from './HttpController.js'
|
||||
import * as Errors from './Errors.js'
|
||||
|
||||
Metrics.initialize('contacts')
|
||||
logger.initialize('contacts')
|
||||
Metrics.event_loop?.monitor(logger)
|
||||
Metrics.open_sockets.monitor()
|
||||
|
||||
Reference in New Issue
Block a user