[[http_service.checks]] not working?

Hi, not sure what I’m doing wrong but my [[http_service.checks]] don’t seem to be getting picked up.

Here’s my fly.toml:

app = "..."
primary_region = "sjc"
kill_signal = "SIGINT"
kill_timeout = "300s"

  internal_port = 3000
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0

    grace_period = "10s"
    interval = "30s"
    method = "GET"
    timeout = "2s"
    path = "/healthz"

When I look on the “Monitoring” tab, I don’t see any checks having run:

I ended up getting it to work by using the [checks] config like this:

    grace_period = "30s"
    interval = "60s"
    timeout = "2s"
    method = "get"
    path = "/healthz"
    port = 3000
    type = "http"

are you using the latest flyctl version? that feature was only added recently.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.