Getting Started
Architecture
NServiceBus
Transports
Persistence
ServiceInsight
ServicePulse
ServiceControl
Monitoring
Samples

Upgrade PerformanceCounters Version 1 to 2

UpdateCounterEvery

PerformanceCounters are now updated directly, with no intermediate stores. Therefore, the reporting period is no longer needed and the call to UpdateCounterEvery can be removed.

var performanceCounters = endpointConfiguration.EnableWindowsPerformanceCounters();
// the below line can be removed
performanceCounters.UpdateCounterEvery(TimeSpan.FromSeconds(2));