public IList<string> InstallCounters()
{
// Delete any existing counters
UninstallCounters();
var createDataCollection = new CounterCreationDataCollection(PerformanceCounters.Counters);
PerformanceCounterCategory.Create(PerformanceCounters.CategoryName,
"SignalR application performance counters",
PerformanceCounterCategoryType.MultiInstance,
createDataCollection);
return PerformanceCounters.Counters.Select(c => c.CounterName).ToList();
}