Working with Session Statistics

The messaging APIs provide various statistics for each session, which can be useful when debugging applications. For a list of all supported session statistics, see PubSub+ Messaging APIs to access the documentation for your messaging API.

To Get Session Statistics

PubSub+ Messaging API Use

Java RTO

  • SessionHandle.getTxStats(...)

    Gets the session transmit (TX) statistics.

  • SessionHandle.getRxStats(...)

    Gets the session receive (RX) statistics

  • FlowHandle.getRxStats(...)

    Gets the flow RX statistics.

C

  • solClient_session_getTxStats(...)

    Gets the session TX statistics.

  • solClient_session_getRxStat()

    Gets the session RX statistics.

  • solClient_flow_getRxStats()

    Gets the flow RX statistics.

.NET

  • IStatsAccessible.GetTxStats()

    Gets the session TX statistics.

  • IStatsAccessible.GetRxStats(...)

    Gets the session RX statistics.

  • IFlow.GetRxStats(...)

    Gets the flow RX statistics.

JavaScript and Node.js

  • solace.Session.getStat(...)

    Returns the value of the passed StatType

  • solace.StatType

    Supported name statistics.