I have successfully enabled performance counter. Now when I'm checking in event log it gives below error.
Error writting to counter 'Allocated memory in MB' in category 'Kentico - General (CMS/Default Web Site)'.Make sure you have the counter correctly registered.Original message: System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.at System.Diagnostics.PerformanceCounter.InitializeImpl()at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)at CMS.HealthMonitoring.HealthMonitoringManager.GetCounter(String categoryName, Counter counter, String instanceName)at CMS.HealthMonitoring.HealthMonitoringManager.SetCounterValue(String categoryName, Counter counter, String instanceName, Int64 value)
Can you please suggest me regarding the same.
it seems like you haven't successfully enabled performance counter, make sure you have the counter correctly registered .
Please, sign in to be able to submit a new answer.