PerformanceCounterManager Class

.NET Framework 4.5

Manages performance counters using Windows performance counters.

Inheritance Hierarchy

System.Object
  Microsoft.AspNet.SignalR.Infrastructure.PerformanceCounterManager

Namespace:  Microsoft.AspNet.SignalR.Infrastructure
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Public Class PerformanceCounterManager _
    Implements IPerformanceCounterManager
'Usage
Dim instance As PerformanceCounterManager
public class PerformanceCounterManager : IPerformanceCounterManager
public ref class PerformanceCounterManager : IPerformanceCounterManager
type PerformanceCounterManager =  
    class 
        interface IPerformanceCounterManager 
    end
public class PerformanceCounterManager implements IPerformanceCounterManager

The PerformanceCounterManager type exposes the following members.

Constructors

  Name Description
Public method PerformanceCounterManager Creates a new instance.

Top

Properties

  Name Description
Public property ConnectionMessagesReceivedPerSec Gets the performance counter representing the number of messages received by connections (server to client) per second.
Public property ConnectionMessagesReceivedTotal Gets the performance counter representing the toal number of messages received by connections (server to client) since the application was started.
Public property ConnectionMessagesSentPerSec Gets the performance counter representing the number of messages sent by connections (client to server) per second.
Public property ConnectionMessagesSentTotal Gets the performance counter representing the total number of messages sent by connections (client to server) since the application was started.
Public property ConnectionsConnected Gets the performance counter representing the total number of connection Connect events since the application was started.
Public property ConnectionsCurrent Gets the performance counter representing the number of connections currently connected.
Public property ConnectionsDisconnected Gets the performance counter representing the total number of connection Disconnect events since the application was started.
Public property ConnectionsReconnected Gets the performance counter representing the total number of connection Reconnect events since the application was started.
Public property ErrorsAllPerSec Gets the performance counter representing the number of all errors processed per second.
Public property ErrorsAllTotal Gets the performance counter representing the total number of all errors processed since the application was started.
Public property ErrorsHubInvocationPerSec Gets the performance counter representing the number of hub invocation errors per second.
Public property ErrorsHubInvocationTotal Gets the performance counter representing the total number of hub invocation errors processed since the application was started.
Public property ErrorsHubResolutionPerSec Gets the performance counter representing the number of hub resolution errors per second.
Public property ErrorsHubResolutionTotal Gets the performance counter representing the total number of hub resolution errors processed since the application was started.
Public property ErrorsTransportPerSec Gets the performance counter representing the number of transport errors per second.
Public property ErrorsTransportTotal Gets the performance counter representing the total number of transport errors processed since the application was started.
Public property MessageBusAllocatedWorkers Gets the performance counter representing the number of workers allocated to deliver messages in the message bus.
Public property MessageBusBusyWorkers Gets the performance counter representing the number of workers currently busy delivering messages in the message bus.
Public property MessageBusMessagesPublishedPerSec Gets the performance counter representing the number of messages published to the message bus per second.
Public property MessageBusMessagesPublishedTotal Gets the performance counter representing the total number of messages published to the message bus since the application was started.
Public property MessageBusSubscribersCurrent Gets the performance counter representing the current number of subscribers to the message bus.
Public property MessageBusSubscribersPerSec Gets the performance counter representing the number of new subscribers to the message bus per second.
Public property MessageBusSubscribersTotal Gets the performance counter representing the total number of subscribers to the message bus since the application was started.
Public property MessageBusTopicsCurrent Gets the performance counter representing representing the current number of topics in the message bus.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the performance counters.
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member CategoryName The performance counter category name for SignalR counters.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.AspNet.SignalR.Infrastructure Namespace