TelemetryClient.TrackMetric Method (String, Double)

Send a MetricTelemetry for aggregation in Metric Explorer.

Namespace: Microsoft.ApplicationInsights
Assembly: Microsoft.ApplicationInsights (in Microsoft.ApplicationInsights.dll)

Dim instance As TelemetryClient
Dim name As String
Dim value As Double

instance.TrackMetric(name, value)

public void TrackMetric (
	string name,
	double value
public void TrackMetric (
	String name, 
	double value
public function TrackMetric (
	name : String, 
	value : double



Metric name.


Metric value.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows 8, Windows Server 2012