Skip to content

v0.25.0: Norcube Monitor maintenance windows - #20

Merged
jansvabik merged 7 commits into
mainfrom
feat/monitor-maintenance
Nov 6, 2026
Merged

jansvabik merged 7 commits into
mainfrom
feat/monitor-maintenance

Conversation

@jansvabik

@jansvabik jansvabik commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Adds nrc monitor maintenance list|get|create|update|cancel|finish, the global -o id output, ParseFutureTimeArg and ParseDurationArg, and shows held monitors in monitor status, monitors run, monitors list and incidents summary.

Adds the maintenance window endpoints and the fields other responses gain
from them, and the summary of each status page in the page list. Billing's
spec has drifted on the backend too, unrelated to this; it is left out.

Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
Lets a script capture what it creates with id=$(... -o id), which -o text
can't do without cut once a result has more than one column.

Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
Times ahead are an RFC 3339 timestamp, now or +2h. A bare 2h is refused with
a hint, because ParseTimeArg reads that spelling as two hours ago.

Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
list, get, create, update, cancel and finish, with the deploy pattern in the
help. monitor status moves monitors whose problem a window holds from problems
to a maintenance list, monitors run says inMaintenance, and monitor lists show
until when a window holds a monitor.

Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
@jansvabik
jansvabik marked this pull request as ready for review November 6, 2026 16:11
@jansvabik jansvabik changed the title feat(monitor): nrc monitor maintenance v0.25.0: Norcube Monitor maintenance windows Nov 6, 2026
GO-2026-6789 and GO-2026-6795.

Signed-off-by: Jan Švábík <jansvabik@jansvabik.cz>
@jansvabik
jansvabik merged commit 6270cbd into main Nov 6, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant