Skip to content

CanaryOptions

Namespace AgentPrism · Assembly AgentPrism.Core.dll

Options for the canary evaluation background service.

public sealed class CanaryOptions

objectCanaryOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Reads values from the AgentPrism:Canary configuration section.

public CanaryOptions()

The configuration section name.

public const string SectionName = "AgentPrism:Canary"

string

Gets or sets a value that enables automatic rollback. The default is false. No experiment stops itself or changes weight until this is enabled, even when a CanaryPolicy exists.

public bool AutoRollbackEnabled { get; set; }

bool

The evaluation interval for running experiments that define a canary policy.

public TimeSpan ScanInterval { get; set; }

TimeSpan