OptionalcacheOptional override duration (in milliseconds) to cache this dependency checks result.
OptionalcheckOptional details about what is being checked, and how.
OptionalcontactOptional 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.
OptionalrefreshOptional override duration (in milliseconds) to refresh this dependency checks result.
OptionalskipOptional 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