docs: updates for 2.5.1 release (#11574)

* docs: updates for 2.5.1 release

* update
This commit is contained in:
Shahed Nasser
2025-02-24 13:02:26 +02:00
committed by GitHub
parent 148587edc0
commit 31f8b72129
11 changed files with 10596 additions and 10186 deletions
@@ -71,11 +71,15 @@ export function register() {
}
```
In the `instrumentation.ts` file, you export a `register` function that uses Medusa's `registerOtel` utility function.
In the `instrumentation.ts` file, you export a `register` function that uses Medusa's `registerOtel` utility function. You also initialize an instance of the exporter, such as Zipkin, and pass it to the `registerOtel` function.
You also initialize an instance of the exporter, such as Zipkin, and pass it to the `registerOtel` function.
`registerOtel` accepts an object where you can pass any [NodeSDKConfiguration](https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_sdk_node.NodeSDKConfiguration.html) property along with the following properties:
`registerOtel` accepts an object having the following properties:
<Note>
The `NodeSDKConfiguration` properties are accepted since Medusa v2.5.1.
</Note>
<TypeList
types={[