envoyproxy/envoy

Overload manager: per-timer triggers

オープン

#40,589 opened on 2025/08/05

 (6 件のコメント) (0 件のリアクション) (0 人の担当者)C++ (5,373 件のフォーク)batch import
area/overload_managerenhancementhelp wantedno stalebot

Repository metrics

Stars
 (27,997 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Title: * Overload manager: per-timer triggers*

Description:

It would be really useful if in the reduce_timeouts action, you could configure different triggers for each timer.

Currently, it's only possible configure a set of triggers for the whole reduce_timeouts action which then uses the max pressure across all the triggers.

Imagine if you could configure something like this:

actions {
  name: "envoy.overload_actions.reduce_timeouts"
  timer_scale_factors {
    timer: HTTP_DOWNSTREAM_CONNECTION_IDLE
    min_timeout {
      seconds: 1
    }
    triggers {
      name: "my.custom.resource1"
      ...
    }
  }
  timer_scale_factors {
    timer: HTTP_DOWNSTREAM_CONNECTION_MAX
    min_timeout {
      seconds: 1
    }
    triggers {
      name: "my.custom.resource2"
      ...
    }
  }
}

This would give you more granular control of each timer.

[optional Relevant Links:]

Any extra documentation required to understand the issue.

コントリビューターガイド