Interface Metric.Builder

    • Method Detail

      • metricName

        Metric.Builder metricName​(String metricName)

        The name of the metric.

        Parameters:
        metricName - The name of the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aggregationFunction

        Metric.Builder aggregationFunction​(String aggregationFunction)

        The function with which the metric is calculated.

        Parameters:
        aggregationFunction - The function with which the metric is calculated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggregationFunction, AggregationFunction
      • aggregationFunction

        Metric.Builder aggregationFunction​(AggregationFunction aggregationFunction)

        The function with which the metric is calculated.

        Parameters:
        aggregationFunction - The function with which the metric is calculated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AggregationFunction, AggregationFunction
      • namespace

        Metric.Builder namespace​(String namespace)

        The namespace for the metric.

        Parameters:
        namespace - The namespace for the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.