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

Microsoft.ApplicationInsights.DataContracts.PerformanceCounterTelemetry

The class that represents information about performance counters.
public string CategoryName { get; set; }

Gets or sets the category name.

public TelemetryContext Context { get; }

Gets the context associated with the current telemetry item.

public string CounterName { get; set; }

Gets or sets the counter name.

public IExtension Extension { get; set; }

Gets or sets gets the extension used to extend this telemetry instance using new strong typed object.

public string InstanceName { get; set; }

Gets or sets the instance name.

public IDictionary<string, string> Properties { get; }

Gets a dictionary of application-defined property names and values providing additional information about this exception.

public string Sequence { get; set; }

Gets or sets the value that defines absolute order of the telemetry item.

public DateTimeOffset Timestamp { get; set; }

Gets or sets date and time when telemetry was recorded.

public double Value { get; set; }

Gets or sets the counter value.

Initializes a new instance of the PerformanceCounterTelemetry class.

public PerformanceCounterTelemetry(string categoryName, string counterName, string instanceName, double value)

Initializes a new instance of the PerformanceCounterTelemetry class.

Deeply clones a PerformanceCounterTelemetry object.

public void SerializeData(ISerializationWriter serializationWriter)