Skip to content

Commit

Permalink
Temporarily disable OTEL in the Policy Engine
Browse files Browse the repository at this point in the history
To debug the MPC cluster deployment.
  • Loading branch information
wcalderipe committed Nov 7, 2024
1 parent d01cf88 commit a3a3194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/policy-engine/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { instrumentOpenTelemetry } from '@narval/open-telemetry'
// import { instrumentOpenTelemetry } from '@narval/open-telemetry'

// IMPORTANT: OpenTelemetry SDK must be registered before any other imports to
// ensure proper instrumentation. The instrumentation packages patches Node.js
// runtime - if NestFactory or other dependencies load first, they'll use the
// unpatched runtime and won't be instrumented correctly.
instrumentOpenTelemetry({ serviceName: 'policy-engine' })
// instrumentOpenTelemetry({ serviceName: 'policy-engine' })

import { ConfigService } from '@narval/config-module'
import { LoggerService, withApiVersion, withCors, withLogger, withSwagger } from '@narval/nestjs-shared'
Expand Down

0 comments on commit a3a3194

Please sign in to comment.