Tried to use the new envoy.resource_monitors.downstream_connections parameter in envoy version 1.30.2

24 views
Skip to first unread message

AMAN Chhabra

unread,
Jun 24, 2024, 1:06:35 AMJun 24
to envoy-dev
Can someone please check the below usage of envoy.resource_monitors.downstream_connections since it is failing with the error[2024-06-23 10:43:15.345][429][info][main] [source/server/server.cc:1029] exiting

Didn't find a registered implementation for 'envoy.resource_monitors.downstream_connections' with type URL: 'envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig'


{ "admin": { "access_log": [ { "typed_config": { "@type": "type.googleapis.com/envoy.extensions.access_loggers.file.v3.FileAccessLog", "path": "{{ envoy_log_dir }}/access.log" } } ], "profile_path": "{{ envoy_log_dir }}/envoy.prof", "address": { "socket_address": { "address": "127.0.0.1", "port_value": 800 } } }, "overload_manager": { "resource_monitors": [ { "name": "envoy.resource_monitors.downstream_connections", "typed_config": { "@type": "type.googleapis.com/envoy.extensions.resource_monitors.downstream_connections.v3.DownstreamConnectionsConfig", "max_active_downstream_connections": 50000 } } ], "actions": [ { "name": "envoy.overload_actions.shed_requests", "triggers": [ { "name": "envoy.resource_monitors.downstream_connections", "threshold": { "value" : 0.98 } ] } ] },

Kateryna Nezdolii

unread,
Jun 28, 2024, 9:36:25 PMJun 28
to AMAN Chhabra, envoy-dev
Looks like the name of resource monitor is not fully correct, you should use "envoy.resource_monitors.global_downstream_max_connections" instead. Sample config here: https://www.envoyproxy.io/docs/envoy/latest/configuration/operations/overload_manager/overload_manager#limiting-active-connections. This resource monitor does not support overload actions, it acts proactively, e.g. takes decision if to limit or not on each new connection.

Kind regards,
nezdolik

--
You received this message because you are subscribed to the Google Groups "envoy-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-dev/38ff5cb0-e263-41c8-a27b-0da1fc230f82n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages