feat(web-probe): add typed Kafka live fanout validation
This commit is contained in:
@@ -8,6 +8,7 @@ import { nodeWebObserveRunnerControlSource } from "./hwlab-node-web-observe-runn
|
||||
import { nodeWebObserveRunnerWorkbenchSource } from "./hwlab-node-web-observe-runner-workbench-source";
|
||||
import { nodeWebObserveRunnerSamplingSource } from "./hwlab-node-web-observe-runner-sampling-source";
|
||||
import { nodeWebObserveRunnerUtilitySource } from "./hwlab-node-web-observe-runner-utility-source";
|
||||
import { nodeWebObserveRunnerRealtimeSource } from "./hwlab-node-web-observe-runner-realtime-source";
|
||||
|
||||
export function nodeWebObserveRunnerSource(): string {
|
||||
return String.raw`#!/usr/bin/env node
|
||||
@@ -42,6 +43,7 @@ const navigationMaxAttempts = boundedInteger(process.env.UNIDESK_WEB_OBSERVE_NAV
|
||||
const alertThresholds = parseAlertThresholds(process.env.UNIDESK_WEB_OBSERVE_ALERT_THRESHOLDS_JSON);
|
||||
const browserFreezePolicy = parseBrowserFreezePolicy(process.env.UNIDESK_WEB_OBSERVE_BROWSER_FREEZE_POLICY_JSON);
|
||||
const projectManagement = parseProjectManagementConfig(process.env.UNIDESK_WEB_OBSERVE_PROJECT_MANAGEMENT_JSON);
|
||||
const realtimeFanoutProfiles = parseRealtimeFanoutProfiles(process.env.UNIDESK_WEB_OBSERVE_REALTIME_FANOUT_PROFILES_JSON);
|
||||
const playwrightProxy = proxyConfigFromEnv(baseUrl);
|
||||
const chromiumLaunchOptions = chromiumLaunchOptionsForProxy(playwrightProxy);
|
||||
const pageId = "control-" + randomBytes(4).toString("hex");
|
||||
@@ -185,6 +187,8 @@ ${nodeWebObserveRunnerCommandActionsSource()}
|
||||
|
||||
${nodeWebObserveRunnerWorkbenchSource()}
|
||||
|
||||
${nodeWebObserveRunnerRealtimeSource()}
|
||||
|
||||
${nodeWebObserveRunnerSamplingSource()}
|
||||
|
||||
${nodeWebObserveRunnerUtilitySource()}
|
||||
|
||||
Reference in New Issue
Block a user