mix vic.health (vicander v0.1.1)

Copy Markdown View Source

Prints DDD.Health.check/1 and exits non-zero unless everything is ok, so it can run as a deploy gate or a container health probe.

mix vic.health
mix vic.health --json
mix vic.health --projection MyApp.Projections.ListSummary --max-outbox-age 5000

Options:

  • --json - print the result as JSON
  • --projection Module - check a projection (repeatable; adds to the configured ones)
  • --max-outbox-age ms, --max-dead-letters n, --max-projection-lag ms - thresholds
  • --repo Module - default: the configured repo (config :vicander, repo: MyApp.Repo)