docs: docs for next release (#13621)
* docs: docs for next release * changes to opentelemetry dependencies * document plugin env variables * document admin changes * fix vale error * add version notes * document campaign budget updates * document campaign changes in user guide * document chages in cluster mode cli * documented once promotion allocation * document multiple API keys support
This commit is contained in:
@@ -175,7 +175,7 @@ export const loaderHighlights = [
|
||||
|
||||
```ts title="src/modules/contentful/loader/create-content-models.ts" highlights={loaderHighlights}
|
||||
import { LoaderOptions } from "@medusajs/framework/types"
|
||||
import { asValue } from "awilix"
|
||||
import { asValue } from "@medusajs/framework/awilix"
|
||||
import { createClient } from "contentful-management"
|
||||
import { MedusaError } from "@medusajs/framework/utils"
|
||||
|
||||
|
||||
@@ -94,15 +94,7 @@ Refer to the [Instrumentation](!docs!/learn/debugging-and-testing/instrumentatio
|
||||
|
||||
### a. Install Instrumentation Dependencies
|
||||
|
||||
To set up instrumentation in Medusa, you need to install the necessary OpenTelemetry dependencies.
|
||||
|
||||
In your Medusa application's directory, run the following command:
|
||||
|
||||
```bash npm2yarn
|
||||
npm install @opentelemetry/sdk-node @opentelemetry/resources @opentelemetry/sdk-trace-node @opentelemetry/instrumentation-pg
|
||||
```
|
||||
|
||||
Then, you need to install the dependencies necessary for the monitoring tool you want to use, which is Sentry in this case.
|
||||
To set up instrumentation in Medusa, you need to install the dependencies necessary for the monitoring tool you want to use, which is Sentry in this case.
|
||||
|
||||
So, run the following command to install the necessary Sentry dependencies:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user