Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: add support for range trigger overload actions #12352

Merged
merged 18 commits into from
Aug 12, 2020

Commits on Jul 29, 2020

  1. Add 'scaling' to OverloadManager action states

    Extend the existing overload action states with a 'scaling' state with a
    value in the range [0, 1]. The scaling state is not used yet, but will
    be used to support actions that can take partial effect even if resource
    pressure is below saturation.
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    cab9e1f View commit details
    Browse the repository at this point in the history
  2. Add Range trigger to Overload Manager

    Add a Range trigger that will produce overload action states that are in
    between the inactive and saturated states. This will enable the creation
    of actions that take more effect as load increases.
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 29, 2020
    Configuration menu
    Copy the full SHA
    864ab5e View commit details
    Browse the repository at this point in the history
  3. Add documentation for action states

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 29, 2020
    2 Configuration menu
    Copy the full SHA
    accf2e3 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2020

  1. Fix scaling -> scale_value gauge for actions

    Rename the gauge to match the documentation
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    981ff10 View commit details
    Browse the repository at this point in the history
  2. Address feedback on docs

    Both stats are present for all actions.
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    ecad37b View commit details
    Browse the repository at this point in the history
  3. Run fix_format

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 30, 2020
    Configuration menu
    Copy the full SHA
    d1f482c View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2020

  1. Fix overload manager impl test

    Correct test for stat name change in prior commit
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    8dd5584 View commit details
    Browse the repository at this point in the history
  2. fix formatting

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Jul 31, 2020
    Configuration menu
    Copy the full SHA
    622d9da View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2020

  1. Address some review feedback

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    bf77119 View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/master' into overload-fine-gra…

    …ined-states
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 3, 2020
    Configuration menu
    Copy the full SHA
    77c2187 View commit details
    Browse the repository at this point in the history

Commits on Aug 5, 2020

  1. Restore missing build rule dependency

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    4f9426e View commit details
    Browse the repository at this point in the history
  2. Make action state documentation less opaque

    Explicitly document the meaning of the scaling and saturated ranges in
    the overload manager overview, and list the two types of triggers
    available and the meaning of each.
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    6d6fcf9 View commit details
    Browse the repository at this point in the history
  3. Use insert_or_assign instead of spelling out

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 5, 2020
    Configuration menu
    Copy the full SHA
    ad0b0ab View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2020

  1. Rename RangeTrigger -> ScaledTrigger

    Also address feedback on C++ code and add to the release notes
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 6, 2020
    Configuration menu
    Copy the full SHA
    7a4578c View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. Fix compilation errors

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    4de8f83 View commit details
    Browse the repository at this point in the history
  2. Fix more name errors

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    264a753 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2020

  1. Fix min/max refs in docs

    Gotta get the bonus points.
    
    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 10, 2020
    Configuration menu
    Copy the full SHA
    d0acf25 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2020

  1. Address feedback

    Signed-off-by: Alex Konradi <akonradi@google.com>
    akonradi committed Aug 11, 2020
    Configuration menu
    Copy the full SHA
    111f31d View commit details
    Browse the repository at this point in the history