envoyproxy/envoy

Overload manager: per-timer triggers

Open

#40.589 aperta il 5 ago 2025

Vedi su GitHub
 (6 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/overload_managerenhancementhelp wantedno stalebot

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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.

Guida contributor