16 Commits

Author SHA1 Message Date
Nawaz Dhandala
5d254f5ca3 fix: Add probe ID check to return queue size 0 if probe not registered 2026-03-04 11:39:53 +00:00
Nawaz Dhandala
b889ff6edd refactor: Simplify logger.debug call in metrics endpoint for cleaner code 2026-03-02 10:34:24 +00:00
Nawaz Dhandala
f7bb93e439 refactor: Remove SyntheticMonitorSemaphore and SyntheticMonitorWorkerPool for improved code simplicity 2026-03-02 10:25:57 +00:00
Nawaz Dhandala
9512487b73 refactor: Improve code comments for clarity in Metrics and SyntheticMonitorWorker 2026-03-01 13:25:35 +00:00
Nawaz Dhandala
7b6f3eeb3f feat: Enhance metrics endpoint to include synthetic monitor semaphore status for better scaling insights 2026-03-01 13:24:50 +00:00
Nawaz Dhandala
9ff1a20858 feat: add GitHub App Installation ID to Project migration and update related components 2025-12-28 22:50:53 +00:00
Nawaz Dhandala
3311e9d354 refactor: update metrics endpoint to return pending monitor count for KEDA autoscaling 2025-12-28 13:33:52 +00:00
Nawaz Dhandala
f403c6a9e9 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
2025-10-24 15:02:36 +01:00
Nawaz Dhandala
11894d0ba5 Refactor API calls to use unified request structure
- Updated MicrosoftTeams and Slack classes to use the new API.post structure with url and data properties.
- Refactored API utility methods to accept a single options object for HTTP requests, improving consistency across the codebase.
- Modified various service and utility classes (e.g., CopilotPullRequestService, CodeRepositoryUtil, and ApiMonitor) to align with the new API request format.
- Enhanced error handling and logging for API responses.
- Updated tests to accommodate changes in API method signatures.
2025-09-19 20:57:54 +01:00
Simon Larsen
0ecdc775db feat: Refactor proxy configuration to use getRequestProxyAgents method across multiple modules 2025-09-02 14:02:40 +01:00
Simon Larsen
f63c69e6a6 feat: Add per-request HTTP/HTTPS proxy agent support in API and WebsiteRequest classes 2025-09-02 13:52:25 +01:00
Nawaz Dhandala
1c12ad94dd fix: Add type annotations for improved type safety in SCIM and Metrics modules 2025-08-04 22:07:10 +01:00
Nawaz Dhandala
aa09bab7c9 Refactor SCIM migrations and models; update formatting and improve readability
- Added missing comma in AllModelTypes array in Index.ts.
- Refactored MigrationName1754304193228 to improve query formatting and readability.
- Refactored MigrationName1754315774827 for consistency in formatting.
- Updated migration index file to include new migration.
- Standardized string quotes in Queue.ts for consistency.
- Cleaned up SCIMAuthorization.ts by removing unnecessary whitespace and improving log formatting.
- Refactored StartServer.ts to standardize content-type header handling.
- Improved formatting in SCIM.tsx for better readability and consistency.
- Refactored Metrics.ts to standardize queueSize extraction and type checking.
- Enhanced Probe.ts logging for clarity and consistency.
2025-08-04 21:36:11 +01:00
Simon Larsen
962866d109 fix: Improve queue size extraction and handling in metrics endpoint 2025-08-01 20:58:58 +01:00
Nawaz Dhandala
546d41da81 fix: Clean up formatting and ensure consistent return structure in metrics endpoints 2025-08-01 16:13:05 +01:00
Simon Larsen
c4c6793b29 feat: Implement KEDA autoscaling configuration for probes and add metrics endpoints 2025-08-01 15:38:04 +01:00