Interface SamplingStatisticSummary.Builder

    • Method Detail

      • ruleName

        SamplingStatisticSummary.Builder ruleName​(String 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.
      • timestamp

        SamplingStatisticSummary.Builder timestamp​(Instant timestamp)

        The start time of the reporting window.

        Parameters:
        timestamp - The start time of the reporting window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • requestCount

        SamplingStatisticSummary.Builder requestCount​(Integer requestCount)

        The number of requests that matched the rule.

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

        SamplingStatisticSummary.Builder borrowCount​(Integer borrowCount)

        The number of requests recorded with borrowed reservoir quota.

        Parameters:
        borrowCount - The number of requests recorded with borrowed reservoir quota.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sampledCount

        SamplingStatisticSummary.Builder sampledCount​(Integer sampledCount)

        The number of requests recorded.

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