hyperdx/packages/api
mlsalcedo 902b8ebdd3
feat(alerts): add scheduleStartAt + scheduleOffsetMinutes (#1745)
Closes #1715

## Summary
- Add scheduleStartAt and scheduleOffsetMinutes to alert schemas and API validation.
- Update alert evaluation scheduling to anchor windows by scheduleStartAt when set.
- Skip evaluations before scheduleStartAt.
- Keep current behavior unchanged when scheduling fields are unset.
- Add UI fields and API/OpenAPI/external API support for the new schedule options.
- Add alert scheduler tests for anchored windows and pre-start skip behavior.

## Notes
- This enables Splunk-style scheduled monitor migration where checks must run on isolated, periodic windows anchored to specific times.
- scheduleStartAt is the primary anchor; scheduleOffsetMinutes remains optional for backward-compatible alignment.

Co-authored-by: melsalcedo <128840984+melsalcedo@users.noreply.github.com>
Co-authored-by: Tom Alexander <3245235+teeohhem@users.noreply.github.com>
2026-03-06 01:47:38 +00:00
..
docs/auto_provision feat: Set up default sources/connections with env var in server mode (#817) 2025-05-16 23:17:37 +00:00
migrations chore: Update to next 16, react 19, add react compiler (#1434) 2025-12-04 23:40:59 +00:00
scripts chore: Add automatic api doc generation (#1397) 2025-11-21 21:14:02 +00:00
src feat(alerts): add scheduleStartAt + scheduleOffsetMinutes (#1745) 2026-03-06 01:47:38 +00:00
.Dockerignore first commit 2023-09-12 20:08:05 -07:00
.env.development fix: Avoid using bodyExpression for trace sources (#1722) 2026-02-11 13:01:12 +00:00
.env.e2e chore: Use local clickhouse instance for playwright tests (#1711) 2026-02-13 15:43:12 +00:00
.env.test chore: Run integration tests on different ports (#1801) 2026-02-25 20:52:17 +00:00
CHANGELOG.md Release HyperDX (#1790) 2026-02-27 08:38:01 -08:00
Dockerfile fix: Set correct github URL as image source in Dockerfiles (#1698) 2026-02-04 16:11:31 +00:00
eslint.config.mjs chore(eslint): add @typescript-eslint/no-unsafe-type-assertion rule (#1534) 2025-12-30 16:01:11 +00:00
jest.config.js ci: port v1 metric tests - Pt1 (#638) 2025-02-27 08:07:47 +00:00
jest.setup.ts Clean Up Integration Test Console Output (#1566) 2026-01-07 17:38:01 +00:00
migrate-mongo-config.ts feat: setup clickhouse migration tool + update metrics schema (add is_delta + is_monotonic fields) (#138) 2023-12-03 14:06:50 -08:00
nodemon.json Improve common-utils build performance and add support for .env.local (#1466) 2025-12-11 23:07:16 +00:00
openapi.json feat(alerts): add scheduleStartAt + scheduleOffsetMinutes (#1745) 2026-03-06 01:47:38 +00:00
package.json fix: add whereLanguage to tile alerts (#1842) 2026-03-04 18:54:10 +00:00
tsconfig.build.json fix: Update tsconfigs to resolve IDE type errors (#1150) 2025-09-11 08:55:14 -04:00
tsconfig.json Clean Up Integration Test Console Output (#1566) 2026-01-07 17:38:01 +00:00