<PackageReference Include="Azure.Monitor.OpenTelemetry.Exporter" Version="1.8.2" />

Azure.Monitor.OpenTelemetry.Exporter.Models.MetricDataPoint

public int? Count { get; set; }

Metric weight of the aggregated metric. Should not be set for a measurement.

public DataPointType? DataPointType { get; set; }

Metric type. Single measurement or the aggregated value.

public double? Max { get; set; }

Maximum value of the aggregated metric. Should not be set for a measurement.

public double? Min { get; set; }

Minimum value of the aggregated metric. Should not be set for a measurement.

public string Name { get; set; }

Name of the metric.

public string Namespace { get; set; }

Namespace of the metric.

public double? StdDev { get; set; }

Standard deviation of the aggregated metric. Should not be set for a measurement.

public double Value { get; set; }

Single value for measurement. Sum of individual measurements for the aggregation.

public MetricDataPoint(Metric metric, MetricPoint metricPoint)

public MetricDataPoint(string name, double value)

Initializes a new instance of MetricDataPoint.

protected virtual void JsonModelWriteCore(Utf8JsonWriter writer, ModelReaderWriterOptions options)