docs: fix URLs to OpenTelemetry docs (#12742)
This commit is contained in:
@@ -73,7 +73,7 @@ export function register() {
|
||||
|
||||
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.
|
||||
|
||||
`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 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:
|
||||
|
||||
<Note>
|
||||
|
||||
@@ -91,7 +91,7 @@ The `NodeSDKConfiguration` properties are accepted since Medusa v2.5.1.
|
||||
},
|
||||
{
|
||||
name: "exporter",
|
||||
type: "[SpanExporter](https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_sdk_trace_base.SpanExporter.html)",
|
||||
type: "[SpanExporter](https://open-telemetry.github.io/opentelemetry-js/interfaces/_opentelemetry_sdk-node.node.SpanExporter.html)",
|
||||
description: "An instance of an exporter, such as Zipkin."
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user