NodePing.Checks.get_passing_checks
You're seeing just the function
get_passing_checks
, go back to NodePing.Checks module for more information.
Specs
Get all passings checks present on your NodePing account or subaccount
## Parameters
token
- NodePing API token that is provided with accountopts
- Optional list of tuples to specify results
## Opts - list of tuples
customerid
- optional ID to access a subaccountuptime
- boolean - If this parameter is present the check's uptime will be added to the response
Examples
iex> token = System.fetch_env!("TOKEN")
iex> passing_checks = NodePing.Checks.get_passing_checks(token, [{:uptime, true}])