SamplingScoreGenerator.GetSamplingScore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET