Skip to main content

Function: supportsResponseTime()

function supportsResponseTime(
monitorType:
| "cdn-edge-consistency"
| "dns"
| "http"
| "http-header"
| "http-json"
| "http-keyword"
| "http-latency"
| "http-status"
| "ping"
| "port"
| "replication"
| "server-heartbeat"
| "ssl"
| "websocket-keepalive"
): Promise<boolean>;

Defined in: src/utils/monitorUiHelpers.ts:149

Check if monitor type supports response time analytics.

Parametersโ€‹

monitorTypeโ€‹

| "cdn-edge-consistency" | "dns" | "http" | "http-header" | "http-json" | "http-keyword" | "http-latency" | "http-status" | "ping" | "port" | "replication" | "server-heartbeat" | "ssl" | "websocket-keepalive"

Type of monitor.

Returnsโ€‹

Promise<boolean>

true when the monitor provides response time analytics.