Edit

Share via


ITelemetryProducer.IncrementMetric Method

Definition

Overloads

IncrementMetric(String)

Send a metric value of 1 to the registered telemetry consumers, to be displayed in an aggregated view.

IncrementMetric(String, Double)

Send a metric value of value to the registered telemetry consumers, to be displayed in an aggregated view.

IncrementMetric(String)

Source:
ITelemetryProducer.cs

Send a metric value of 1 to the registered telemetry consumers, to be displayed in an aggregated view.

public void IncrementMetric (string name);
abstract member IncrementMetric : string -> unit
Public Sub IncrementMetric (name As String)

Parameters

name
String

Metric name.

Applies to

IncrementMetric(String, Double)

Source:
ITelemetryProducer.cs

Send a metric value of value to the registered telemetry consumers, to be displayed in an aggregated view.

public void IncrementMetric (string name, double value);
abstract member IncrementMetric : string * double -> unit
Public Sub IncrementMetric (name As String, value As Double)

Parameters

name
String

Metric name.

value
Double

The amount to increment.

Applies to