c# - Access performance counter programmatically in Microsoft Azure web app -
is possible access cpu, ram , asp.net requests performance counter web app via api? when call using system.diagnostics.performancecounter.nextvalue
method exception:
access registry key 'global' denied.
i have seen examples web roles, nothing websites.
according this microsoft article not supported on azure websites:
windows performance counter collection isn’t supported on azure website
you can monitor cpu usuage , memory working set using monitor tab in old management portal or directly on website "blade" using new portal. maybe can these data out programatically using microsoft.windowsazure.management.websites
Comments
Post a Comment