class
XMPP::Metrics
- XMPP::Metrics
- Reference
- Object
Overview
Thread-safe operational metrics for a managed XMPP stream.
Defined in:
xmpp/stream_manager.crConstructors
Instance Method Summary
- #connect_time : Time::Span
- #connection_attempts : Int32
- #disconnects : Int32
- #failed_attempts : Int32
- #last_error : String | Nil
- #last_stream_error : String | Nil
- #login_time : Time::Span
- #reconnect_attempts : Int32
- #record_connected
- #record_disconnected(event : Event)
- #record_failure(exception : Exception)
- #record_session_established
- #record_stream_error(event : Event)
- #record_success(resumed : Bool = false)
-
#reset
Reset timing values while retaining cumulative counters.
- #resumption_attempts : Int32
- #resumption_failures : Int32
- #resumption_successes : Int32
- #start_attempt(reconnect : Bool, resumption : Bool = false)
- #stream_errors : Int32
- #stream_management_queue_depth : Int32
- #successful_connections : Int32