envoyproxy/envoy

Overload manager: per-timer triggers

開放

#40,589 建立於 2025年8月5日

 (6 則留言) (0 個反應) (0 位負責人)C++ (5,373 個分叉)batch import
area/overload_managerenhancementhelp wantedno stalebot

倉庫指標

星標
 (27,997 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南