Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-292

Provide API to determine resource limits for auto scaling

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 0.6.0
    • Fix Version/s: 0.8.0
    • Component/s: Core, OpenShift, REST
    • Labels:
      None

      Description

      The initial resources support in OpenShift, which is used in auto scaling to determine resource limits for new containers that are being deployed, currently requires executing multiple queries against H-Metrics and then calculating percentiles on the client side. Specifically, the Heapster sink has to execute multiple tag filter queries to find matching CPU and memory usage metrics. Heapster than calculates the 95th percentile for overallCPU usage and overall memory usage. This work needs to be done on the server side within a single API call.

      This is somewhat similar to HWKMETRICS-263 in that we need to fetch data points for multiple metrics and perform calculations on those data points. It is different in that we do not want to compute aggregates of individual metrics first but rather compute a single set of aggregates for all data points from matching metrics. In other words, if we have 10 matching metrics for CPU usage, we want to fetch the data points for those metrics and calculate the 95th percentile of them as a whole rather than first computing the 95th percentile for each metric and then during further computations on those results.

      While this feature is needed for OpenShift, it is a generally useful feature like HWKMETRICS-263.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                john.sanda John Sanda
                Reporter:
                john.sanda John Sanda
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: