abort_action.proto 1.1 KB

123456789101112131415161718192021222324252627
  1. syntax = "proto3";
  2. package envoy.watchdog.v3;
  3. import "google/protobuf/duration.proto";
  4. import "udpa/annotations/status.proto";
  5. option java_package = "io.envoyproxy.envoy.watchdog.v3";
  6. option java_outer_classname = "AbortActionProto";
  7. option java_multiple_files = true;
  8. option go_package = "github.com/envoyproxy/go-control-plane/envoy/watchdog/v3;watchdogv3";
  9. option (udpa.annotations.file_status).package_version_status = ACTIVE;
  10. // [#protodoc-title: Watchdog Action that kills a stuck thread to kill the process.]
  11. // A GuardDogAction that will terminate the process by killing the
  12. // stuck thread. This would allow easier access to the call stack of the stuck
  13. // thread since we would run signal handlers on that thread. By default
  14. // this will be registered to run as the last watchdog action on KILL and
  15. // MULTIKILL events if those are enabled.
  16. message AbortActionConfig {
  17. // How long to wait for the thread to respond to the thread kill function
  18. // before killing the process from this action. This is a blocking action.
  19. // By default this is 5 seconds.
  20. google.protobuf.Duration wait_duration = 1;
  21. }