Interface OTelEnrichmentMetricSelector.Builder

  • Method Details

    • namespace

      The namespace of the metrics to select. Namespaces are matched exactly and are case-sensitive.

      Parameters:
      namespace - The namespace of the metrics to select. Namespaces are matched exactly and are case-sensitive.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNames

      The names of the metrics to select within the namespace. Metric names are matched exactly and are case-sensitive. If this parameter is omitted, every metric in the namespace is selected.

      A maximum of 100 metric names is allowed for each selector.

      Parameters:
      metricNames - The names of the metrics to select within the namespace. Metric names are matched exactly and are case-sensitive. If this parameter is omitted, every metric in the namespace is selected.

      A maximum of 100 metric names is allowed for each selector.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricNames

      OTelEnrichmentMetricSelector.Builder metricNames(String... metricNames)

      The names of the metrics to select within the namespace. Metric names are matched exactly and are case-sensitive. If this parameter is omitted, every metric in the namespace is selected.

      A maximum of 100 metric names is allowed for each selector.

      Parameters:
      metricNames - The names of the metrics to select within the namespace. Metric names are matched exactly and are case-sensitive. If this parameter is omitted, every metric in the namespace is selected.

      A maximum of 100 metric names is allowed for each selector.

      Returns:
      Returns a reference to this object so that method calls can be chained together.