Working with Session Statistics
The Solace JavaScript API and Solace Node.js API provide various statistics for each session, which can be useful when debugging applications. For a list of all supported session statistics, see Solace Messaging APIs to access the API documentation.
To get session statistics, use the following:
-
solace.Session.getStat(...)— Returns the value of the passed StatType. -
solace.StatType— Supported named statistics.