feat: add tracing to workflow steps (#9140)

This commit is contained in:
Harminder Virk authored and GitHub committed 2024-09-17 11:35:38 +05:30
1 parent aa0928d437
commit 653a4bff71
4 files changed
+178 -37

No files matched your search

+2 -1
View File
@@ -1,4 +1,3 @@
import { createDefaultsWorkflow } from "@medusajs/core-flows"
import { ConfigModule, MedusaContainer, PluginDetails } from "@medusajs/types"
import { ContainerRegistrationKeys, promiseAll } from "@medusajs/utils"
import { asValue } from "awilix"
@@ -164,6 +163,8 @@ export default async ({
expressApp,
rootDirectory
)
const { createDefaultsWorkflow } = await import("@medusajs/core-flows")
await createDefaultsWorkflow(container).run()
await onApplicationStart()