ResourceTiming - DataDog/dd-sdk-android GitHub Wiki

data class ResourceTiming(val dnsStart: Long = 0, val dnsDuration: Long = 0, val connectStart: Long = 0, val connectDuration: Long = 0, val sslStart: Long = 0, val sslDuration: Long = 0, val firstByteStart: Long = 0, val firstByteDuration: Long = 0, val downloadStart: Long = 0, val downloadDuration: Long = 0)

Timings for the resource connection.

FOR INTERNAL USAGE ONLY.

Constructors

ResourceTiming

constructor(dnsStart: Long = 0, dnsDuration: Long = 0, connectStart: Long = 0, connectDuration: Long = 0, sslStart: Long = 0, sslDuration: Long = 0, firstByteStart: Long = 0, firstByteDuration: Long = 0, downloadStart: Long = 0, downloadDuration: Long = 0)

Properties

connectDuration

val connectDuration: Long = 0

Duration (in nanoseconds) of the connection.

connectStart

val connectStart: Long = 0

Timestamp (in nanoseconds) of the connection start.

dnsDuration

val dnsDuration: Long = 0

Duration (in nanoseconds) of DNS lookup.

dnsStart

val dnsStart: Long = 0

Timestamp (in nanoseconds) of DNS lookup start.

downloadDuration

val downloadDuration: Long = 0

Duration (in nanoseconds) of body download.

downloadStart

val downloadStart: Long = 0

Timestamp (in nanoseconds) of body download start.

firstByteDuration

val firstByteDuration: Long = 0

Duration (in nanoseconds) of headers fetch.

firstByteStart

val firstByteStart: Long = 0

Timestamp (in nanoseconds) of headers fetch start.

sslDuration

val sslDuration: Long = 0

Duration (in nanoseconds) of SSL handshake.

sslStart

val sslStart: Long = 0

Timestamp (in nanoseconds) of SSL handshake start.