Skip to main content

Function: getTypesWithFeature()

getTypesWithFeature(feature: "responseTime" | "advancedAnalytics"): Promise<("http" | "http-keyword" | "http-status" | "http-header" | "http-json" | "http-latency" | "port" | "ping" | "dns" | "ssl" | "websocket-keepalive" | "server-heartbeat" | "replication" | "cdn-edge-consistency")[]>

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

Get available monitor types that support a specific feature.

Parametersโ€‹

featureโ€‹

Feature to check for ("responseTime" or "advancedAnalytics").

"responseTime" | "advancedAnalytics"

Returnsโ€‹

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

Array of monitor types that support the requested feature.