> For the complete documentation index, see [llms.txt](https://tradesync.gitbook.io/tradesync/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tradesync.gitbook.io/tradesync/rw-manager-mt5/metrics.md).

# Metrics

<table><thead><tr><th width="373.3333333333333">Name</th><th width="135">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>connections_poco_current</code></td><td><code>gauge</code></td><td>Current number of client connections (WS and REST)</td></tr><tr><td><code>connections_poco_max_concurrent</code></td><td><code>gauge</code></td><td>Max number of client connections (WS and REST)</td></tr><tr><td><code>connections_poco_queued</code></td><td><code>gauge</code></td><td>Queued number of client connections (WS and REST)</td></tr><tr><td><code>connections_poco_refused</code></td><td><code>gauge</code></td><td>Refused number of clients connections (WS and REST)</td></tr><tr><td><code>connections_poco_total</code></td><td><code>gauge</code></td><td>Total number of clients connections (WS and REST)</td></tr><tr><td><code>threads_poco_current</code></td><td><code>gauge</code></td><td>Current number of clients' threads for connections (WS and REST)</td></tr><tr><td><code>threads_poco_max</code></td><td><code>gauge</code></td><td>Max number of clients' threads for connections (WS and REST)</td></tr><tr><td><code>memory_physical_total_bytes</code></td><td><code>gauge</code></td><td>Total Physical memory</td></tr><tr><td><code>memory_physical_used_bytes</code></td><td><code>gauge</code></td><td>Used Physical memory</td></tr><tr><td><code>memory_virtual_total_bytes</code></td><td><code>gauge</code></td><td>Total Virtual memory</td></tr><tr><td><code>memory_virtual_used_bytes</code></td><td><code>gauge</code></td><td>Used Virtual memory</td></tr><tr><td><code>data_feed_accountevent_consumer</code></td><td><code>gauge</code></td><td>Current number of account event subscriptions</td></tr><tr><td><code>data_feed_custommessage_consumer</code></td><td><code>gauge</code></td><td>Current number of custom message subscriptions</td></tr><tr><td><code>data_feed_deals_consumer</code></td><td><code>gauge</code></td><td>Current number of deals subscriptions</td></tr><tr><td><code>data_feed_orders_consumer</code></td><td><code>gauge</code></td><td>Current number of orders subscriptions</td></tr><tr><td><code>data_feed_positions_consumer</code></td><td><code>gauge</code></td><td>Current number of positions subscriptions</td></tr><tr><td><code>data_feed_symbolevent_consumer</code></td><td><code>gauge</code></td><td>Current number of symbol event subscriptions</td></tr><tr><td><code>data_feed_userevent_consumer</code></td><td><code>gauge</code></td><td>Current number of user event subscriptions</td></tr><tr><td><code>ticks_subscription_candle</code></td><td><code>gauge</code></td><td>Current number of subscriptions for candles</td></tr><tr><td><code>ticks_subscription_filtered</code></td><td><code>gauge</code></td><td>Current number of subscriptions for filtered ticks</td></tr><tr><td><code>ticks_subscription_ticks</code></td><td><code>gauge</code></td><td>Current number of subscriptions for ticks</td></tr><tr><td><code>websocket_subscription_num_subscribers</code></td><td><code>gauge</code></td><td>Current number of subscribers for Account State</td></tr><tr><td><code>cpu_usage</code></td><td><code>gauge</code></td><td>CPU time usage</td></tr><tr><td><code>Trading_Gateway_Connections{action="open",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of successfull opened ws streams</td></tr><tr><td><code>Trading_Gateway_Connections{action="close",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of successful closed ws streams</td></tr><tr><td><code>Trading_Gateway_Connections{action="input trading",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of received trading requests</td></tr><tr><td><code>Trading_Gateway_Connections{action="input non trading",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of received non trading requests</td></tr><tr><td><code>Trading_Gateway_Connections{action="input truncated",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of truncated received requests</td></tr><tr><td><code>Trading_Gateway_Connections{action="input throttled",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of throttled received requests</td></tr><tr><td><code>Trading_Gateway_Connections{action="output",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of sent messages</td></tr><tr><td><code>Trading_Gateway_Connections{action="subscription orders",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of sent messages for orders subscription</td></tr><tr><td><code>Trading_Gateway_Connections{action="subscription ticks",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of sent messages for ticks subscription</td></tr><tr><td><code>Trading_Gateway_Connections{action="mt5 error message",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of MT5 errors</td></tr><tr><td><code>Trading_Gateway_Connections{action="mt5 trading error message",protocol="websocket"}</code></td><td><code>counter</code></td><td>number of MT5 errors for trading activites</td></tr><tr><td><code>mt_pool_connection</code></td><td><code>gauge</code></td><td>Current size of pool connection</td></tr><tr><td><code>mt_pool_usage</code></td><td><code>gauge</code></td><td>Current usage of MT API</td></tr><tr><td><code>mt_pool_send_byte</code></td><td><code>gauge</code></td><td>The number of bytes sent to the server via Manager API after prev call</td></tr><tr><td><code>mt_pool_receive_byte</code></td><td><code>gauge</code></td><td>The number of bytes receive from the server via Manager API after prev call</td></tr><tr><td><code>data_feed_queue_size_deals</code></td><td><code>gauge</code></td><td>size of unprocessed data feed queue for deals</td></tr><tr><td><code>data_feed_queue_size_orders</code></td><td><code>gauge</code></td><td>size of unprocessed data feed queue for orders</td></tr><tr><td><code>data_feed_queue_size_positions</code></td><td><code>gauge</code></td><td>size of unprocessed data feed queue for positions</td></tr><tr><td><code>out_websocket_throughput_count</code></td><td><code>histogram</code></td><td>distributions of output websocket throughput</td></tr><tr><td><code>out_websocket_sending_time</code></td><td><code>histogram</code></td><td>information about web socket sending time in ms</td></tr><tr><td><code>in_websocket_latency</code></td><td><code>histogram</code></td><td>latency of input queue processing, time in ms</td></tr><tr><td><code>out_websocket_latency</code></td><td><code>histogram</code></td><td>latency of output queue processing, time in ms</td></tr><tr><td><code>execute_query_time</code></td><td><code>histogram</code></td><td>time of query execution in MT, time in ms</td></tr><tr><td><code>execute_orders_queue_time</code></td><td><code>histogram</code></td><td>time of order execution from MT queue subscription, time in ms</td></tr><tr><td><code>execute_deals_queue_time</code></td><td><code>histogram</code></td><td>time of dael execution from MT queue subscription, time in ms</td></tr><tr><td><code>execute_positions_queue_time</code></td><td><code>histogram</code></td><td>time of position execution from MT queue subscription, time in ms</td></tr><tr><td><code>execute_orders_delay_time</code></td><td><code>histogram</code></td><td>information about orders receiving delay time in ms</td></tr><tr><td><code>execute_deals_delay_time</code></td><td><code>histogram</code></td><td>information about deals receiving delay time in ms</td></tr><tr><td><code>execute_positions_delay_time</code></td><td><code>histogram</code></td><td>information about positions receiving delay time in ms</td></tr><tr><td><code>tick_receive_delay_time</code></td><td><code>histogram</code></td><td>information about ticks receiving delay time in ms</td></tr><tr><td><code>tick_publish_delay_time</code></td><td><code>histogram</code></td><td>information about ticks published for the clients delay time from receiving till sending in ms</td></tr></tbody></table>
