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

Microsoft.ApplicationInsights.Metrics.MetricSeries

public sealed class MetricSeries
Represents a data time series of metric values. One or more MetricSeries are grouped into a single Metric. Use MetricSeries to track, aggregate and send values without the overhead of looking them up from the corresponding Metric object. Each Metric object contains a special zero-dimension series, plus, for multi-dimensional metrics, one series per unique dimension-values combination.
namespace Microsoft.ApplicationInsights.Metrics { public sealed class MetricSeries { public IReadOnlyDictionary<string, string> DimensionNamesAndValues { get; } public MetricIdentifier MetricIdentifier { get; } public void TrackValue(double metricValue); public void TrackValue(object metricValue); } }