OptionalcacheOptional cache duration in milliseconds.
OptionalcheckOptional interval for running dependency checks in milliseconds.
OptionalcollectWhen true and a new Registry is created internally, default process metrics will also be collected.
OptionalrefreshOptional refresh threshold in milliseconds.
OptionalregistryOptional existing prom-client Registry instance to register metrics with. If omitted a new Registry is created.
Configuration options for the DependencyMonitor. For information on how cache duration and refresh threshold work together, see cache-manager
Example
Example