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
15 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,010 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
25 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
27 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
152 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
2,276 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,160 points
25 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,100 points
334 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,010 points
23 views
0 votes
1 answer

I am getting "Insufficient Privileges" error when trying to access Azure Graph APIs.

This error is occurring because privileges are ...READ MORE

answered Jul 1 in Azure by Perry
• 17,010 points
24 views