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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro