class XMPP::Metrics

Overview

Stream Metrics

Defined in:

xmpp/stream_manager.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def connect_time : Time::Span #

connect_time returns the duration between client initiation of the TCP/IP connection to the server and actual TCP/IP session establishment. This time includes DNS resolution and can be slightly higher if the DNS resolution result was not in cache.


[View source]
def login_time : Time::Span #

login_time returns the between client initiation of the TCP/IP connection to the server and the return of the login result. This includes ConnectTime, but also XMPP level protocol negociation like starttls.


[View source]
def reset #

[View source]
def set_connect_time #

[View source]
def set_login_time #

[View source]