Interface NetworkMetricsEntry

Information about a completed request attempt.

interface NetworkMetricsEntry {
    ok: boolean;
    responseTime: null | number;
    retryAfter: null | number;
    serviceId: null | string;
}

Properties

ok: boolean

True if the request was successful.

responseTime: null | number

The number of seconds the response took or null for no response.

retryAfter: null | number

If the request was !ok and there was a retry-after header, this will be set.

serviceId: null | string

The id of the service, or null.