create-medusa-app
This commit is contained in:
24
instrumentation.ts
Normal file
24
instrumentation.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
// 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
|
||||
// },
|
||||
// })
|
||||
// }
|
||||
Reference in New Issue
Block a user