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

Microsoft.ApplicationInsights.DataContracts.MetricTelemetry

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); } }