Optional
cacheOptional override duration (in milliseconds) to cache this dependency checks result.
Optional
checkOptional details about what is being checked, and how.
Optional
contactOptional contact information for the dependency. Can contain any number of custom properties.
A description of the dependency.
The impact of the dependency on the system, should it go down.
The name of the dependency.
Optional
refreshOptional override duration (in milliseconds) to refresh this dependency checks result.
Optional
skipOptional flag to skip the check. Useful for skipping checks in some environments.
A function that performs the dependency check and returns a result.
Configuration options defining a dependency to be monitored. DependencyCheckOptions
Example