Class MonitorRunOptions
- Namespace
- Kuestenlogik.Bowire.Monitoring.Cli
- Assembly
- Kuestenlogik.Bowire.Monitoring.dll
Options for bowire monitor run.
public sealed record MonitorRunOptions : IEquatable<MonitorRunOptions>
- Inheritance
-
MonitorRunOptions
- Implements
- Inherited Members
Constructors
MonitorRunOptions()
public MonitorRunOptions()
Properties
LedgerRoot
Outcome-ledger root; null → the default ~/.bowire/monitoring.
public string? LedgerRoot { get; init; }
Property Value
Once
Run each probe once and exit, rather than looping on the schedule.
public bool Once { get; init; }
Property Value
ProbeFiles
Probe definition files to load + run.
public IReadOnlyList<string> ProbeFiles { get; init; }
Property Value
Signals
Outbound signal channels, each a <scheme>:<arg> spec
(slack:<webhook>, pagerduty:<routing-key>, …).
Resolved through the installed signaler packages; an unknown scheme is
reported and skipped. The console channel is always on.
public IReadOnlyList<string> Signals { get; init; }
Property Value
Methods
Equals(MonitorRunOptions?)
public bool Equals(MonitorRunOptions? other)
Parameters
otherMonitorRunOptions
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(MonitorRunOptions?, MonitorRunOptions?)
public static bool operator ==(MonitorRunOptions? left, MonitorRunOptions? right)
Parameters
leftMonitorRunOptionsrightMonitorRunOptions
Returns
operator !=(MonitorRunOptions?, MonitorRunOptions?)
public static bool operator !=(MonitorRunOptions? left, MonitorRunOptions? right)
Parameters
leftMonitorRunOptionsrightMonitorRunOptions