PerformanceCounterTelemetry Class

Definition

Caution

Use MetricTelemetry instead.

The class that represents information about performance counters.

[System.Obsolete("Use MetricTelemetry instead.")]
public sealed class PerformanceCounterTelemetry : Microsoft.ApplicationInsights.Channel.ITelemetry, Microsoft.ApplicationInsights.DataContracts.ISupportProperties
[<System.Obsolete("Use MetricTelemetry instead.")>]
type PerformanceCounterTelemetry = class
    interface ITelemetry
    interface ISupportProperties
Public NotInheritable Class PerformanceCounterTelemetry
Implements ISupportProperties, ITelemetry
Inheritance
PerformanceCounterTelemetry
Attributes
Implements

Constructors

PerformanceCounterTelemetry()

Initializes a new instance of the PerformanceCounterTelemetry class.

PerformanceCounterTelemetry(String, String, String, Double)

Initializes a new instance of the PerformanceCounterTelemetry class.

Properties

CategoryName

Gets or sets the category name.

Context

Gets the context associated with the current telemetry item.

CounterName

Gets or sets the counter name.

Extension

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

InstanceName

Gets or sets the instance name.

Properties

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

Sequence

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

Timestamp

Gets or sets date and time when telemetry was recorded.

Value

Gets or sets the counter value.

Methods

DeepClone()

Deeply clones a PerformanceCounterTelemetry object.

SerializeData(ISerializationWriter)

Writes serialization info about the data class of the implementing type using the given ISerializationWriter.

Explicit Interface Implementations

ITelemetry.Sanitize()

Sanitizes the properties based on constraints.

Extension Methods

GetEnvelopeName(ITelemetry)

Gets envelope name for ITelemetry object.

TrySetEnvelopeName(ITelemetry, String)

Sets envelope name for ITelemetry object.

Applies to