Access Performance in Microsoft Azure Software Application

Is it possible to access the processor, RAM and ASP.NET performance counter from a web application through any API? When I call it with a method System.Diagnostics.PerformanceCounter.NextValue, I get an exception:

Access to the registry key 'Global' is denied. 

I saw examples with web roles, but nothing about websites.

+1
source share
2 answers

According to this Microsoft article, it is not supported on Azure sites:

Windows performance counters collection not supported on Azure website

, , "" "" -, . , , Microsoft.WindowsAzure.Management.WebSites

+2

, . 1. app.manifest . 2: .

< requestExecutionLevel level = "highAvailable" uiAccess = "false" /" >

3: .

0

Source: https://habr.com/ru/post/1677409/


All Articles