View Source ThousandIsland.Telemetry (Thousand Island v0.6.2)
The following telemetry spans are emitted by thousand_island
thousand_island-listener
[:thousand_island, :listener, *]
Represents a Thousand Island server listening to a port
This span is started by the following event:
[:thousand_island, :listener, :start]Represents the start of the span
This event contains the following measurements:
time: The time of this event, in:nativeunits
This event contains the following metadata:
span_id: The ID of this spanparent_id: The span ID passed to Thousand Island via theparent_span_idoptionlocal_address: The IP address that the listener is bound tolocal_port: The port that the listener is bound totransport_module: The transport module in usetransport_opts: Options passed to the transport module at startup
This span is ended by the following event:
[:thousand_island, :listener, :stop]Represents the end of the span
This event contains the following measurements:
time: The time of this event, in:nativeunitsduration: The span duration, in:nativeunits
This event contains the following metadata:
span_id: The ID of this span
thousand_island-acceptor
[:thousand_island, :acceptor, *]
Represents a Thousand Island acceptor process listening for connections
This span is started by the following event:
[:thousand_island, :acceptor, :start]Represents the start of the span
This event contains the following measurements:
time: The time of this event, in:nativeunits
This event contains the following metadata:
span_id: The ID of this spanparent_id: The span ID of the:listenerwhich created this acceptor
This span is ended by the following event:
[:thousand_island, :acceptor, :stop]Represents the end of the span
This event contains the following measurements:
time: The time of this event, in:nativeunitsduration: The span duration, in:nativeunitsconnections: The number of client requests that the acceptor handled
This event contains the following metadata:
span_id: The ID of this spanerror: The error that caused the span to end, if it ended in error
thousand_island-connection
[:thousand_island, :connection, *]
Represents Thousand Island handling a specific client request
This span is started by the following event:
[:thousand_island, :connection, :start]Represents the start of the span
This event contains the following measurements:
time: The time of this event, in:nativeunits
This event contains the following metadata:
span_id: The ID of this spanparent_id: The span ID of the:acceptorspan which accepted this connectionremote_address: The IP address of the connected clientremote_port: The port of the connected client
This span is ended by the following event:
[:thousand_island, :connection, :stop]Represents the end of the span
This event contains the following measurements:
time: The time of this event, in:nativeunitsduration: The span duration, in:nativeunitssend_oct: The number of octets sent on the connectionsend_cnt: The number of packets sent on the connectionrecv_oct: The number of octets received on the connectionrecv_cnt: The number of packets received on the connection
This event contains the following metadata:
span_id: The ID of this spanerror: The error that caused the span to end, if it ended in error
The following events may be emitted within this span:
[:thousand_island, :connection, :ready]Thousand Island has completed setting up the client connection
This event contains the following measurements:
time: The time of this event, in:nativeunits
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :async_recv]Thousand Island has asynchronously received data from the client
This event contains the following measurements:
data: The data received from the client
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :recv]Thousand Island has synchronously received data from the client
This event contains the following measurements:
data: The data received from the client
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :recv_error]Thousand Island encountered an error reading data from the client
This event contains the following measurements:
error: A description of the error
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :send]Thousand Island has sent data to the client
This event contains the following measurements:
data: The data sent to the client
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :send_error]Thousand Island encountered an error sending data to the client
This event contains the following measurements:
data: The data that was being sent to the clienterror: A description of the error
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :sendfile]Thousand Island has sent a file to the client
This event contains the following measurements:
filename: The filename containing data sent to the clientoffset: The offset (in bytes) within the file sending started frombytes_written: The number of bytes written
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :sendfile_error]Thousand Island encountered an error sending a file to the client
This event contains the following measurements:
filename: The filename containing data that was being sent to the clientoffset: The offset (in bytes) within the file where sending started fromlength: The number of bytes that were attempted to senderror: A description of the error
This event contains the following metadata:
span_id: The ID of this span
[:thousand_island, :connection, :socket_shutdown]Thousand Island has shutdown the client connection
This event contains the following measurements:
time: The time of this event, in:nativeunitsway: The direction in which the socket was shut down
This event contains the following metadata:
span_id: The ID of this span