Delen via


SamplingScoreGenerator.GetSamplingScore Method

Definition

Overloads

GetSamplingScore(ITelemetry)

Generates telemetry sampling score between 0 and 100.

GetSamplingScore(String)

Generates telemetry sampling score between 0 and 100.

GetSamplingScore(ITelemetry)

Generates telemetry sampling score between 0 and 100.

public static double GetSamplingScore (Microsoft.ApplicationInsights.Channel.ITelemetry telemetry);
static member GetSamplingScore : Microsoft.ApplicationInsights.Channel.ITelemetry -> double
Public Function GetSamplingScore (telemetry As ITelemetry) As Double

Parameters

telemetry
ITelemetry

Telemetry item to score.

Returns

Item sampling score.

Applies to

GetSamplingScore(String)

Generates telemetry sampling score between 0 and 100.

public static double GetSamplingScore (string value);
static member GetSamplingScore : string -> double
Public Function GetSamplingScore (value As String) As Double

Parameters

value
String

String value to generate score.

Returns

Item sampling score.

Applies to