/** * Observatory and Burst Observatory configuration for Xray-Core. * * @see https://xtls.github.io/en/config/observatory.html */ export interface ObservatoryConfig { /** Outbound tag selectors to observe (supports prefix matching). */ subjectSelector?: string[]; /** URL to probe for health checks (default: "https://api.v2fly.org/checkConnection.svgz"). */ probeURL?: string; /** Interval between probes (e.g. "10s", "1m"). */ probeInterval?: string; /** Enable concurrent probing of all subjects. */ enableConcurrency?: boolean; } export interface BurstObservatoryConfig { /** Outbound tag selectors to observe (supports prefix matching). */ subjectSelector?: string[]; /** Health check / ping configuration. */ pingConfig?: HealthCheckSettings; } export interface HealthCheckSettings { /** URL to probe for health checks. */ destination?: string; /** Interval between health checks (e.g. "30s"). */ interval?: string; /** Number of round trips for each probe. */ rounds?: number; /** Sampling count to keep. */ samplingCount?: number; /** Timeout for each probe (e.g. "5s"). */ timeout?: string; } //# sourceMappingURL=observatory.d.ts.map