# Watchdog Action that does CPU profiling.¶

This extension may be referenced by 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.

Warning

This API is work-in-progress and is subject to breaking changes.

## extensions.watchdog.profile_action.v3alpha.ProfileActionConfig¶

[extensions.watchdog.profile_action.v3alpha.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.