Address copilot feedback

This commit is contained in:
Chunan Ye
2025-12-29 11:35:34 -08:00
parent e12591994c
commit a5a365b19b
7 changed files with 15 additions and 15 deletions

View File

@@ -8,7 +8,7 @@ npm install @azure/monitor-opentelemetry
```
- Configure the app to use Azure Monitor
An nodjs app typically has an entry file that is listed as the "main" property in package.json. Find this file and apply these changes in it.
A Node.js app typically has an entry file that is listed as the "main" property in package.json. Find this file and apply these changes in it.
- Require the client library at the top. `const { useAzureMonitor } = require("@azure/monitor-opentelemetry");`
- Call the setup method. `useAzureMonitor();`