Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
UNICORN Monitoring API Service
binance_websocket_api_manager.start_monitoring_api() you can start a restful API service (example_monitoring.py) on http://127.0.0.1:64201/status/icinga/ to report the status of the UNICORN Binance WebSocket API Manager to a monitoring system inclusive performance metrics. The check_command has the opportunity to send its version to the monitoring API via http://127.0.0.1:64201/status/icinga/0.0.1 to receive update infos.
Read the Howto: Monitoring UNICORN Binance WebSocket API Manager with ICINGA2 to learn, how you can connect your application with ICINGA2.
OK, WARNING, CRITICAL or UNKOWN
- restarts_last_hour_of_stream_x >= 10
- crashed streams
- UNKOWN: the check_command is not able to connect to the monitoring API services
binance_websocket_api_manager.start_monitoring_api(warn_on_update=False) to disable the WARNING status on