123456789101112131415161718192021222324 |
- // Uncomment this file to enable instrumentation and observability using OpenTelemetry
- // Refer to the docs for installation instructions: https://docs.medusajs.com/learn/debugging-and-testing/instrumentation
- // import { registerOtel } from "@medusajs/medusa"
- // // If using an exporter other than Zipkin, require it here.
- // import { ZipkinExporter } from "@opentelemetry/exporter-zipkin"
- // // If using an exporter other than Zipkin, initialize it here.
- // const exporter = new ZipkinExporter({
- // serviceName: 'my-medusa-project',
- // })
- // export function register() {
- // registerOtel({
- // serviceName: 'medusajs',
- // // pass exporter
- // exporter,
- // instrument: {
- // http: true,
- // workflows: true,
- // query: true
- // },
- // })
- // }
|