Skip to content
Halcyon

Integrations · Infrastructure

Monitors in the same pull request as the service they watch.

Describe checks, escalation policies and status page components in YAML next to your code. The CLI shows what will change, and applies it from CI.

Config as code

Monitors, rotations and status pages in YAML, reviewed like any other change.

Category
Infrastructure
Built by
Halcyon
Plans
Team and up
Setup
10 minutes

What it does

  • Plan before apply

    See every monitor that will be created, changed or removed before anything happens.

  • Drift detection

    Someone changed a threshold in the dashboard? The next plan shows it.

  • Import what exists

    Export your current workspace to YAML in one command and start from there.

  • Lock what matters

    Managed resources are read-only in the dashboard, with a link to the file that owns them.

Try it · choose an event

Preview
halcyon.yml
checks:
  checkout:
    url: https://shop.parcelry.app/checkout
    every: 30s
    regions: [fra, iad, sin]
    confirm: 2
    assert:
      - status == 200
      - body contains 'data-testid="pay-button"'
      - time < 1500ms
    policy: production-outages

  label-sync:
    heartbeat: every 15m
    grace: 7m
    policy: ops-low
$ halcyon plan
Reading halcyon.yml … 2 checks, 0 policies

  ~ check.checkout
      confirm: 1 → 2
      assert:  + body contains 'data-testid="pay-button"'
  + check.label-sync
      heartbeat every 15m, grace 7m

Plan: 1 to add, 1 to change, 0 to remove.

Set up

10 minutes, start to finish.

  1. 1

    Install the CLI: npm i -g @halcyon/cli (a single binary is also available).

  2. 2

    Run halcyon export > halcyon.yml to start from your current workspace.

  3. 3

    Add halcyon plan to pull requests and halcyon apply to your main branch.

  4. 4

    Merge. The dashboard marks those monitors as managed.

Pull request check (any CI)
steps:
  - run: npm i -g @halcyon/cli
  - run: halcyon plan --file halcyon.yml --comment
    env:
      HALCYON_TOKEN: ${{ secrets.HALCYON_TOKEN }}

# On the main branch, the same step runs:
#   halcyon apply --file halcyon.yml --yes

Also worth connecting

Config as code, connected in 10 minutes.

Available on Team and Business. The rest of Halcyon comes with it: checks from 14 regions, on-call and a status page.