Is it possible to access performance counter in Microsoft Azure Web App?

0 votes

I wish to access CPU, RAM and ASP.NET requests performance counter from web app via some API. Is this possible? If so, how? When I call it using System.Diagnostics.PerformanceCounter.NextValue method I get exception:

Access to the registry key 'Global' is denied. 

I have seen examples with Web Roles, but nothing about websites.

Jul 4 in Azure by sabby
• 4,350 points
39 views

1 answer to this question.

0 votes

No, it is not supported on Azure Websites.

You can however monitor the CPU usuage and Memory Working set using the Monitor tab in the old management portal or directly on the website "blade" using the new portal. Maybe you can get these data out programatically using Microsoft.WindowsAzure.Management.WebSites

answered Jul 4 by Perry
• 17,020 points

Related Questions In Azure

0 votes
1 answer

Is it possible to write to file system on Azure Website?

Yes you can. It is possible to ...READ MORE

answered Jun 27, 2018 in Azure by null_void
• 3,220 points
40 views
0 votes
1 answer

Is there a logical difference between WebApp and API app in Azure?

Basically there was only minute differences between ...READ MORE

answered Apr 26, 2018 in Azure by null_void
• 3,220 points
51 views
0 votes
1 answer

How to add an App Settings to existing Azure Web Application using Azure Power Shell?

The example is for slot-specific settings, if ...READ MORE

answered Jun 13, 2018 in Azure by club_seesharp
• 3,450 points
213 views
0 votes
1 answer

Azure Blob: How to open a file in browser without downloading it?

First, because I was using a byte[] the controller ...READ MORE

answered Jun 20, 2018 in Azure by club_seesharp
• 3,450 points
3,794 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to have a server 2012 in cloud and my users in different location

You will access the server the same ...READ MORE

answered Sep 25, 2018 in AWS by Priyaj
• 56,940 points
42 views
0 votes
1 answer

TCP in Azure IoT Hub

The default Protocol Gateway samples are indeed ...READ MORE

answered Oct 11, 2018 in IoT (Internet of Things) by DataKing99
• 8,130 points
540 views
0 votes
1 answer

How to create a sub-container in Azure?

You can create a container named "content" and ...READ MORE

answered Jun 28 in Azure by Perry
• 17,020 points
96 views
0 votes
2 answers