Skip to content

Class ObservabilityOptions

Namespace: Cephalon.Observability.Configuration
Assembly: Cephalon.Observability.dll

Configures the built-in Cephalon observability package.

public sealed class ObservabilityOptions

objectObservabilityOptions

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

Creates observability options with the default startup diagnostics behavior.

public ObservabilityOptions()

Gets or sets a value indicating whether a capability summary should be written at host startup.

public bool LogCapabilitySummary { get; set; }

bool

Gets or sets a value indicating whether a manifest summary should be written at host startup.

public bool LogManifestSummary { get; set; }

bool

Gets or sets a value indicating whether a module summary should be written at host startup.

public bool LogModuleSummary { get; set; }

bool

Gets or sets the telemetry export guidance associated with the host.

public TelemetryExportOptions Telemetry { get; set; }

TelemetryExportOptions

FromConfiguration(IConfiguration, string)

Section titled “ FromConfiguration(IConfiguration, string)”

Binds observability options from configuration.

public static ObservabilityOptions FromConfiguration(IConfiguration configuration, string sectionPath = "Engine")

configuration IConfiguration

The application configuration root.

sectionPath string

The configuration section path that contains the engine settings. The default is Engine.

ObservabilityOptions

The bound observability options.