Overload Manager

    [config.overload.v2alpha.ResourceMonitor proto]

    name

    (, REQUIRED) The name of the resource monitor to instantiate. Must match a registered resource monitor type. The built-in resource monitors are:

    config

    () Configuration for the resource monitor being instantiated.

    Only one of config, may be set.

    typed_config

    Only one of config, may be set.

    [config.overload.v2alpha.ThresholdTrigger proto]

    value

    () If the resource pressure is greater than or equal to this value, the trigger will fire.

    [config.overload.v2alpha.Trigger proto]

    name

    (, REQUIRED) The name of the resource this is a trigger for.

    threshold

    (config.overload.v2alpha.ThresholdTrigger, REQUIRED)

    name

    (, REQUIRED) The name of the overload action. This is just a well-known string that listeners can use for registering callbacks. Custom overload actions should be named using reverse DNS to ensure uniqueness.

    triggers

    (config.overload.v2alpha.Trigger, REQUIRED) A set of triggers for this action. If any of these triggers fire the overload action is activated. Listeners are notified when the overload action transitions from inactivated to activated, or vice versa.

    refresh_interval

    (Duration) The interval for refreshing resource usage.

    resource_monitors

    (, REQUIRED) The set of resources to monitor.

    (config.overload.v2alpha.OverloadAction) The set of overload actions.