![]() ![]() Open this configuration file, and modify the performance collector directive by adding the following XML snippet to the configuration file:Īpply your updated extension file by using the following PowerShell script. By default, the file is put into the \ folder. ![]() Option 1: Modify the nfig fileĪfter you enable Application Insights from Microsoft Visual Studio, Visual Studio generates the nfig file. Update and apply a diagnostics extension file.There are two ways to add the performance counter: To get information about all logical drives, replace C with an asterisk ( *). To get information about a different logical drive, replace C with the applicable drive letter. ![]() (Make sure that you include the space after the percent sign within the string.) This performance counter isn't included in the Application Insights default configuration. In Application Insights, the specific performance counter that monitors free space on drive C is titled \LogicalDisk(C:)% Free Space. You can also get diagnostics data and set alerts for another drive or all logical drives. This technique can be useful if you want Cloud Services to set an alert whenever the free space for drive C is less than a certain threshold value. You can use a performance counter in Application Insights to get diagnostics data that shows the amount of free space on drive C over time. This article applies to both Cloud Services (classic) and Cloud Services (extended support). Use an Application Insights performance counter to track free space on a logical drive ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |