Class ObservabilityOptions
Namespace: Cephalon.Observability.Configuration
Assembly: Cephalon.Observability.dll
Configures the built-in Cephalon observability package.
public sealed class ObservabilityOptionsInheritance
Section titled “Inheritance”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”ObservabilityOptions()
Section titled “ ObservabilityOptions()”Creates observability options with the default startup diagnostics behavior.
public ObservabilityOptions()Properties
Section titled “Properties”LogCapabilitySummary
Section titled “ LogCapabilitySummary”Gets or sets a value indicating whether a capability summary should be written at host startup.
public bool LogCapabilitySummary { get; set; }Property Value
Section titled “Property Value”LogManifestSummary
Section titled “ LogManifestSummary”Gets or sets a value indicating whether a manifest summary should be written at host startup.
public bool LogManifestSummary { get; set; }Property Value
Section titled “Property Value”LogModuleSummary
Section titled “ LogModuleSummary”Gets or sets a value indicating whether a module summary should be written at host startup.
public bool LogModuleSummary { get; set; }Property Value
Section titled “Property Value”Telemetry
Section titled “ Telemetry”Gets or sets the telemetry export guidance associated with the host.
public TelemetryExportOptions Telemetry { get; set; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”FromConfiguration(IConfiguration, string)
Section titled “ FromConfiguration(IConfiguration, string)”Binds observability options from configuration.
public static ObservabilityOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")Parameters
Section titled “Parameters”configuration IConfiguration
The application configuration root.
sectionPath string
The configuration section path that contains the engine settings. The default is Engine.
Returns
Section titled “Returns”The bound observability options.