Share via


NpgsqlEntityFrameworkCorePostgreSQLSettings.DisableMetrics Property

Definition

Gets or sets a boolean value that indicates whether the OpenTelemetry metrics are disabled or not.

public bool DisableMetrics { get; set; }
member this.DisableMetrics : bool with get, set
Public Property DisableMetrics As Boolean

Property Value

The default value is false.

Applies to