feat(proxy): add NO_PROXY support and use request URL for proxy agent selection

- Parse NO_PROXY / no_proxy in Probe Config into a trimmed list
- Wire NO_PROXY into UI docs, Helm chart values, and probe Docker/compose examples
- Add NO_PROXY env var to Helm probe template when provided
- Pass target URL to ProxyConfig.getRequestProxyAgents / getHttpProxyAgent / getHttpsProxyAgent so proxy selection is per-request
- Update probe calls (Alive, Metrics, FetchList, FetchMonitorTest, Register, Monitor ingest/reporting, Api/Website/Ssl monitors) to use local URL variables and supply them to proxy helpers
- Minor refactors to avoid inline URL construction where reused
This commit is contained in:
Nawaz Dhandala
2025-10-24 15:02:36 +01:00
parent 35f9b7f5c4
commit f403c6a9e9
15 changed files with 97 additions and 28 deletions

View File

@@ -43,7 +43,7 @@ router.get(
url: queueSizeUrl,
data: requestBody,
headers: {},
options: { ...ProxyConfig.getRequestProxyAgents() },
options: { ...ProxyConfig.getRequestProxyAgents(queueSizeUrl) },
});
if (result instanceof HTTPErrorResponse) {