Skip to main content

Function: shouldShowUrl()

shouldShowUrl(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:456

Check if monitor type should show URL in display.

Parametersโ€‹

monitorTypeโ€‹

Type of monitor.

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

Returnsโ€‹

Promise<boolean>

true when URLs should appear in UI for the given monitor type.