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

Microsoft.ApplicationInsights.DataContracts.PerformanceCounterTelemetry

The class that represents information about performance counters.
namespace Microsoft.ApplicationInsights.DataContracts { public sealed class PerformanceCounterTelemetry : ITelemetry, ISupportProperties, IAiSerializableTelemetry { public DateTimeOffset Timestamp { get; set; } public string Sequence { get; set; } public TelemetryContext Context { get; } public IExtension Extension { get; set; } public double Value { get; set; } public string CategoryName { get; set; } public string CounterName { get; set; } public string InstanceName { get; set; } public IDictionary<string, string> Properties { get; } public PerformanceCounterTelemetry(); public PerformanceCounterTelemetry(string categoryName, string counterName, string instanceName, double value); public ITelemetry DeepClone(); public void SerializeData(ISerializationWriter serializationWriter); } }