Skip to content

Pause monitors without disabling them - #83

Merged
tomschlick merged 1 commit into
masterfrom
feature/5f9a74df
Sep 24, 2026
Merged

tomschlick merged 1 commit into
masterfrom
feature/5f9a74df

Conversation

@tomschlick

Copy link
Copy Markdown
Member

Summary

  • Add pause and resume from the monitor view and GraphQL, without changing enabled.
  • Skip due checks, Check now, post-save checks, queued checks, and heartbeats while a monitor is paused.
  • Keep pause out of Terraform config so an apply refreshes the computed status and does not recreate or unpause the monitor.

Test plan

  • Pause a monitor from its view page and confirm Resume replaces Pause and Check now.
  • Resume it and confirm the status returns to Pending.
  • Call pauseMonitor and resumeMonitor.
  • Send a heartbeat to a paused monitor and confirm { "ok": true, "paused": true } with no check result.
  • Apply a Terraform update to a paused monitor and confirm the stored status stays paused.

@tomschlick
tomschlick merged commit f8c6709 into master Sep 24, 2026
2 checks passed
@tomschlick
tomschlick deleted the feature/5f9a74df branch September 24, 2026 18:17
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