LUCIT-Systems-and-Development / unicorn-binance-websocket-api

A Python SDK by LUCIT to use the Binance Websocket API`s (com+testnet, com-margin+testnet, com-isolated_margin+testnet, com-futures+testnet, com-coin_futures, us, tr, dex/chain+testnet) in a simple, fast, flexible, robust and fully-featured way.
https://unicorn-binance-websocket-api.docs.lucit.tech/
Other
683 stars 164 forks source link

Add total used memory of the process to monitoring output #68

Closed oliver-zehentleitner closed 5 months ago

oliver-zehentleitner commented 4 years ago

Is your feature request related to a problem? Please describe.

Describe the solution you'd like Add total used RAM of the process to the monitoring output in the rest sever module. https://stackoverflow.com/questions/938733/total-memory-used-by-python-process

https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/536644fbe35da4d66041c4eefb6dfa9b5b6254a0/unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py#L1272 https://github.com/oliver-zehentleitner/unicorn-binance-websocket-api/blob/536644fbe35da4d66041c4eefb6dfa9b5b6254a0/unicorn_binance_websocket_api/unicorn_binance_websocket_api_manager.py#L1319

Describe alternatives you've considered

Additional context

oliver-zehentleitner commented 4 years ago

Add also a streams label.

oliver-zehentleitner commented 3 years ago

There are a couple of fields that could be added to monitoring export. cpu, mem, threads

DrPaprikaa commented 3 years ago

Hi, any updates on this ? Do you have info about how the memory usage behaves after hours/days of non-stop running ?

oliver-zehentleitner commented 5 months ago

I added auto_data_clean_up feature...