<PackageReference Include="Microsoft.ApplicationInsights" Version="3.1.2" />

Microsoft.ApplicationInsights.DataContracts.MetricTelemetry

Telemetry type used to track metrics. Represents a sample set of values with a specified count, sum, max, min, and standard deviation. Learn more
namespace Microsoft.ApplicationInsights.DataContracts { public sealed class MetricTelemetry : ITelemetry, ISupportProperties { public DateTimeOffset Timestamp { get; set; } public TelemetryContext Context { get; } public string MetricNamespace { get; set; } public string Name { get; set; } public double Value { get; set; } public IDictionary<string, string> Properties { get; } public MetricTelemetry(string metricName, double metricValue); } }