Skip to content
Seaeye Docs

Insights: metrics, tests and the right size

Kept 30 days per job, on the dashboard, from the CLI and in the API:

  • CPU and memory, sampled every 30 seconds, with OOM kills and step times.
  • Tests from JUnit XML the job writes in its workspace (up to 900 KB): pytest --junitxml=report.xml, jest --reporters=jest-junit, vitest --reporter=junit --outputFile=report.xml, gotestsum --junitfile report.xml, cargo nextest with [profile.ci.junit], Maven and Gradle by default. A test that fails and passes on one commit is flaky.
  • Log search over every finished job (last 4 MiB each): words, "phrases", -exclude, and repo: branch: workflow: job: conclusion: step: level:error|warning. --oldest finds where a failure began. Tests and logs aren't kept under zero data retention.
  • Size advice after three runs: one size up if it hit 90% memory or 80% CPU, one down if it stayed under 45% CPU and 40% memory. froog seaeye rightsize prints the label to use.
$ froog seaeye metrics seaeye_…              # CPU, memory, step times
$ froog seaeye tests seaeye_… --all          # every test, passed too
$ froog seaeye search 'repo:acme/api level:error timeout' --oldest
$ froog seaeye stats --days 14               # runs, failures, p50/p90, cost, flaky tests
$ froog seaeye rightsize

Monitors

Monitors alert by email and the seaeye.monitor.triggered webhook when matching jobs fail (optionally N in a row, or matching a log pattern) or run long. Cooldown 60 minutes by default; up to 50 per account.

$ froog seaeye monitors add "main breaks" --repo acme/api --branch main
$ froog seaeye monitors add slow --duration 20m
$ froog seaeye monitors add oom --log-pattern OutOfMemory --consecutive 2
$ froog seaeye monitors · monitors rm cim_…

Looking for uptime monitors of websites and APIs? That's Revere.