Interface SamplingBoostStatisticsDocument.Builder

  • Method Details

    • ruleName

      The name of the sampling rule.

      Parameters:
      ruleName - The name of the sampling rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceName

      Matches the name that the service uses to identify itself in segments.

      Parameters:
      serviceName - Matches the name that the service uses to identify itself in segments.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • timestamp

      The current time.

      Parameters:
      timestamp - The current time.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalyCount

      The number of requests with anomaly.

      Parameters:
      anomalyCount - The number of requests with anomaly.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • totalCount

      The number of requests that associated to the rule.

      Parameters:
      totalCount - The number of requests that associated to the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sampledAnomalyCount

      SamplingBoostStatisticsDocument.Builder sampledAnomalyCount(Integer sampledAnomalyCount)

      The number of requests with anomaly recorded.

      Parameters:
      sampledAnomalyCount - The number of requests with anomaly recorded.
      Returns:
      Returns a reference to this object so that method calls can be chained together.