Interface ResponseResourceMetricKey.Builder

  • Method Details

    • metric

      The name of a Performance Insights metric to be measured.

      Valid values for Metric are:

      If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

      Parameters:
      metric - The name of a Performance Insights metric to be measured.

      Valid values for Metric are:

      If the number of active sessions is less than an internal Performance Insights threshold, db.load.avg and db.sampledload.avg are the same value. If the number of active sessions is greater than the internal threshold, Performance Insights samples the active sessions, with db.load.avg showing the scaled values, db.sampledload.avg showing the raw values, and db.sampledload.avg less than db.load.avg. For most use cases, you can query db.load.avg only.

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

      The valid dimensions for the metric.

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