Skip to content

Commit e130023

Browse files
Merge pull request #253344 from hectorhdzg/hectorhdzg/fixdoc
Fix issue in Node.js docs
2 parents e7f8ac2 + 03bd77b commit e130023

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

articles/azure-monitor/app/opentelemetry-configuration.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,9 @@ const credential = new ManagedIdentityCredential();
487487

488488
// Create a new AzureMonitorOpenTelemetryOptions object and set the credential property to the credential object.
489489
const options: AzureMonitorOpenTelemetryOptions = {
490-
credential: credential
490+
azureMonitorExporterOptions: {
491+
credential: credential
492+
}
491493
};
492494

493495
// Enable Azure Monitor integration using the useAzureMonitor function and the AzureMonitorOpenTelemetryOptions object.

0 commit comments

Comments
 (0)