ExHealth.process_check

You're seeing just the macro process_check, go back to ExHealth module for more information.
Link to this macro

process_check(module)

View Source (macro)

Defines a healthcheck function for a given process.

Returns :ok if the process has one of the following statuses:

  • :running
  • :waiting

See Process.info/1 for more information about process status.

Examples

defmodule MyApp.HealthChecks do
  process_check(MyApp.SomeImportantService)
end