Dynamic Modules Resource Monitor (proto)
This extension has the qualified name envoy.resource_monitors.dynamic_modules
Note
This extension is functional but has not had substantial production burn time, use only with this caveat.
This extension is not hardened and should only be used in deployments where both the downstream and upstream are trusted.
Tip
This extension extends and can be used with the following extension category:
This extension must be configured with one of the following type URLs:
extensions.resource_monitors.dynamic_modules.v3.DynamicModuleResourceMonitor
[extensions.resource_monitors.dynamic_modules.v3.DynamicModuleResourceMonitor proto]
Configuration for an overload manager resource monitor implemented by a dynamic module, which reports the pressure of the monitored resource. The pressure is the ratio of the usage of the resource to its limit. See Dynamic Modules.
{
"dynamic_module_config": {...},
"resource_monitor_name": ...,
"resource_monitor_config": {...}
}
- dynamic_module_config
(extensions.dynamic_modules.v3.DynamicModuleConfig, REQUIRED) Specifies the shared-object level configuration. This field is required.
Only the
nameandmodule.local.filenamesources are supported. Remote module sources are not supported because resource monitors are created without a factory context.
- resource_monitor_name
(string, REQUIRED) The name identifying the resource monitor implementation within the module. This is passed to the module’s resource monitor init function so that a module can host multiple implementations. This field is required.
- resource_monitor_config
(Any) The configuration for the implementation chosen by
resource_monitor_name. If not specified, an empty configuration is passed to the module.google.protobuf.Structand thevaluefield ofxds.type.v3.TypedStructare serialized as JSON before passing them to the module.google.protobuf.BytesValueandgoogle.protobuf.StringValueare passed directly without the wrapper. Otherwise the serialized bytes of the configured message are passed.