Interface MetricData.Builder

    • Method Detail

      • metricName

        MetricData.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.
      • value

        MetricData.Builder value​(Float value)

        The value of the metric.

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

        MetricData.Builder timestamp​(Instant timestamp)

        The date and time that the algorithm emitted the metric.

        Parameters:
        timestamp - The date and time that the algorithm emitted the metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.