Watchdog Action that does CPU profiling. (proto)¶
This extension has the qualified name envoy.watchdog.profile_action
Note
This extension is functional but has not had substantial production burn time, use only with this caveat.
This extension does not operate on the data plane and hence is intended to be robust against untrusted traffic.
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.watchdog.profile_action.v3.ProfileActionConfig¶
[extensions.watchdog.profile_action.v3.ProfileActionConfig proto]
Configuration for the profile watchdog action.
{
"profile_duration": {...},
"profile_path": ...,
"max_profiles": ...
}
- profile_duration
(Duration) How long the profile should last. If not set defaults to 5 seconds.
- profile_path
(string, REQUIRED) File path to the directory to output profiles.
- max_profiles
(uint64) Limits the max number of profiles that can be generated by this action over its lifetime to avoid filling the disk. If not set (i.e. it’s 0), a default of 10 will be used.