Add MassTransit Performance Counters

To add MassTransit performance counters to the set of counters monitored in Perfmon on Windows XP, or Windows Server 2008, follow these steps:

  1. To open the Perfmon tool:
  2. Right click in the graph panel in the Performance window (Reliability and Performance Monitor window on Windows server 2008) and select Add Counters….

  3. In the Add Counters that window appears, select MassTransit from the Performance object drop-down menu.

  4. Select the desired counters by selecting one of the following radio buttons:
    1. All counters – selecting this radio button will display graphs for all of the following counters:
      • Actions Fired – accounts for executed action tasks (e.g. e-mail being sent, script being executed, etc.);
      • Active Connections – a 32-bit counter that includes presently open TCP, TCP/Secure, UDT, FTP and Hot Folder connections;
      • Active Listens – accounts for listens that are currently listening (FTP client and Hot Folder listens remain active when they are polling);
      • Completed Connections – accounts for connections as defined in Active Connections that have been completed;
      • Contact Records Added – number of contact records added to the system. Contact Records Added counters will not increment for contacts added through MassTransit Administrator user interface, only through a script interface;
      • Contact Records Added / sec – same as Contact Records Added but over time;
      • Errors – number of errors reported by MassTransit;
      • Failed User Logins – accounts for all failed logins (due to the way authentication is currently implemented in MassTransit / MTWeb (multiple authenticators that fall back on each other) this counter might get incremented for what would eventually be a successful
        login; however, those situations will also result in errors / warnings being logged, etc.; as soon as that original problem is addressed, this counter will reflect failed logins more accurately);
      • File Records Added – number of files added to the system. File records added by dragging them to MassTransit Administrator user interface will not increment File Records Added counters;
      • File Records Added / sec – same as File Records Added but over time;
      • Files Received – accounts for files that are put into the “Received” status (this includes files that are being forwarded after they are received). The Files Received counter only updates after the file transfer session disconnects. If a user is using a remote FTP Client
        to log into MassTransit as an FTP Server, the counter will not update until the user logs off from the FTP Server;
      • Files Sent – accounts for files that are being put into the “Sent” status (for files sent to groups, this counter is incremented for the group members as well as the group contact itself). The Files Sent counter only updates after the file transfer session disconnects. If
        a user is using a remote FTP Client to log into MassTransit as an FTP Server, the counter will not update until the user logs off from the FTP Server;
      • Log Records Added – total log records added (includes log records added via scripting interfaces);
      • Log Records Added / sec – Log Records Added but over time;
      • Maximum Active Connections – same as Active Connections, but a “maximum” counter (i.e. never decremented);
      • SOAP Calls – how often the MassTransit engine makes a SOAP call;
      • SOAP Calls / sec – same as SOAP Calls but over time;
      • SQL Commands – number of SQL commands executed by the MassTransit engine. SQL Commands counters will only count SQL commands triggered by the engine, not the MassTransit Administrator or Web Client log viewer;
      • SQL Commands / sec – same as SQL Commands but over time;
      • Total Bytes Received – represents the total size, in bytes, of all files that have been received (i.e. put into the “Received” status);
      • Total Bytes Received / sec – same as Total Bytes Received but over time;
      • Total Bytes Transmitted – represents the total size, in bytes, of all files that have been sent or forwarded (i.e. put in the respective status);
      • Total Bytes Transmitted / sec – same as Total Bytes Transmitted but over time;
      • Total Listens – accounts for all currently defined listens as they are displayed in the Status window of the MassTransit Administrator user interface;
      • User Logins – web and application successful logins.
    2. Select Counters From List – selecting this radio button enables the counters list below it so that you can choose the desired counters by highlighting them and clicking on the Add button.
  5. Click the Close button when you have selected the desired counters.

No additional configurations steps or procedures are required.

Note: Perfmon's fastest refresh time is 1 second, therefore some counters will not increment if an event occurs in less than 1 second. For example, Connect and Disconnect with no file transfer may occur fast enough to not register on Active Connections counter (but will be counted under Completed Connections counter).