ProcessProbe class

A health probe that runs an external process and interprets its output.

public sealed class ProcessProbe : IProbe
parameter description
name The name of the probe.
tags The tags associated with the probe.
fileName The file name of the process to run.
args The arguments to pass to the process.
timeout The timeout for the process to complete.
logger Optional logger; if null a contextual logger is created.

Public Members

name description
ProcessProbe(…) A health probe that runs an external process and interprets its output.
Logger { get; set; } Logger used for diagnostics.
Name { get; } The name of the probe.
Tags { get; } The tags associated with the probe.
CheckAsync(…) Executes the process and interprets its output according to the health probe contract.

Remarks

Initializes a new instance of the ProcessProbe class.

See Also