CanaryOptions
Namespace AgentPrism · Assembly
AgentPrism.Core.dllOptions for the canary evaluation background service.
public sealed class CanaryOptionsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Reads values from the AgentPrism:Canary configuration section.
Constructors
Section titled “Constructors”CanaryOptions()
Section titled “ CanaryOptions()”public CanaryOptions()Fields
Section titled “Fields”SectionName
Section titled “ SectionName”The configuration section name.
public const string SectionName = "AgentPrism:Canary"Field Value
Section titled “Field Value”Properties
Section titled “Properties”AutoRollbackEnabled
Section titled “ AutoRollbackEnabled”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; }Property Value
Section titled “Property Value”ScanInterval
Section titled “ ScanInterval”The evaluation interval for running experiments that define a canary policy.
public TimeSpan ScanInterval { get; set; }