Interface MetricLineBuilder.MetadataStep

  • Enclosing interface:
    MetricLineBuilder

    public static interface MetricLineBuilder.MetadataStep
    • Method Detail

      • description

        MetricLineBuilder.MetadataStep description​(java.lang.String description)
        Sets the dt.meta.description dimension on the metadata line.
        Parameters:
        description - A short description of the metric.
        Returns:
        A MetricLineBuilder.MetadataStep that can be used to build the metadata line or set other metadata settings.
      • displayName

        MetricLineBuilder.MetadataStep displayName​(java.lang.String name)
        Sets the dt.meta.displayName dimension on the metadata line.
        Parameters:
        name - The display name of the metric.
        Returns:
        A MetricLineBuilder.MetadataStep that can be used to build the metadata line or set other metadata settings.
      • build

        java.lang.String build()
        Serializes the metadata line after normalization of provided properties.
        Returns:
        The metadata line as a String if properties are set, and null otherwise.