Skip to main content

Function: shouldShowUrl()

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

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

Check if monitor type should show URL in display.

Parametersโ€‹

monitorTypeโ€‹

Type of monitor.

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

Returnsโ€‹

Promise<boolean>

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