Class PerformanceCounterTelemetry
- Namespace
- Microsoft.ApplicationInsights.DataContracts
- Assembly
- Microsoft.ApplicationInsights.dll
[Obsolete("Use MetricTelemetry instead.")]
public sealed class PerformanceCounterTelemetry : ITelemetry, ISupportProperties
- Inheritance
-
PerformanceCounterTelemetry
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
public PerformanceCounterTelemetry()
public PerformanceCounterTelemetry(string categoryName, string counterName, string instanceName, double value)
Parameters
categoryName
string
counterName
string
instanceName
string
value
double
Properties
public string CategoryName { get; set; }
Property Value
- string
Context
public TelemetryContext Context { get; }
Property Value
- TelemetryContext
public string CounterName { get; set; }
Property Value
- string
public IExtension Extension { get; set; }
Property Value
- IExtension
public string InstanceName { get; set; }
Property Value
- string
public IDictionary<string, string> Properties { get; }
Property Value
- IDictionary<string, string>
public string Sequence { get; set; }
Property Value
- string
public DateTimeOffset Timestamp { get; set; }
Property Value
- DateTimeOffset
public double Value { get; set; }
Property Value
- double
Methods
public ITelemetry DeepClone()
Returns
- ITelemetry
public void SerializeData(ISerializationWriter serializationWriter)
Parameters
serializationWriter
ISerializationWriter