mirror of
https://github.com/github/awesome-copilot.git
synced 2026-03-20 16:15:12 +00:00
Address copilot feedback
This commit is contained in:
@@ -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();`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user