<PackageReference Include="OpenTelemetry" Version="1.15.0" />

OpenTelemetry.Metrics.MetricStreamConfiguration

Stores configuration for a MetricStream.
public static MetricStreamConfiguration Drop { get; }

Gets the drop configuration.

public int? CardinalityLimit { get; set; }

Gets or sets a positive integer value defining the maximum number of data points allowed for the metric managed by the view.

public string Description { get; set; }

Gets or sets the optional description of the metric stream.

public string Name { get; set; }

Gets or sets the optional name of the metric stream.

public string[] TagKeys { get; set; }

Gets or sets the optional tag keys to include in the metric stream.