open-nomad/client/allocrunner/taskrunner
Alex Dadgar b39c21d49c Fix various bugs with task events
Fixes the following:
* Emitting events when the task fails to start
* Don't double emit events on task shutdown (nomad stop)
* Don't emit a OOM kill metric unless actually OOM'd
2018-12-05 14:27:07 -08:00
..
getter client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
interfaces client: fix tr lifecycle logic and shutdown delay 2018-11-05 12:32:05 -08:00
restarts client: fix broked tests from refactoring 2018-10-16 16:56:56 -07:00
state client: properly support hook env vars 2018-11-27 17:25:33 -08:00
template client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
artifact_hook.go tr: implement dispatch payload hook 2018-10-16 16:56:56 -07:00
device_hook.go add nil check around task resources in device hook 2018-11-27 17:25:33 -08:00
device_hook_test.go Device hook and devices affect computed node class 2018-11-27 17:25:33 -08:00
dispatch_hook.go tr: implement dispatch payload hook 2018-10-16 16:56:56 -07:00
dispatch_hook_test.go tr: implement dispatch payload hook 2018-10-16 16:56:56 -07:00
driver_handle.go client: review comments and fixup/skip tests 2018-10-16 16:56:56 -07:00
errors.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
lifecycle.go Fix various bugs with task events 2018-12-05 14:27:07 -08:00
logmon_hook.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
logmon_hook_test.go allocrunnerv2 -> allocrunner 2018-10-16 16:56:56 -07:00
service_hook.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
stats_hook.go client: Merge driver/shared/structs and client/structs 2018-11-30 10:56:45 +01:00
stats_hook_test.go client: Merge driver/shared/structs and client/structs 2018-11-30 10:56:45 +01:00
task_dir_hook.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
task_runner.go Fix various bugs with task events 2018-12-05 14:27:07 -08:00
task_runner_getters.go Merge pull request #4883 from hashicorp/f-graceful-shutdown 2018-11-27 15:55:15 -06:00
task_runner_hooks.go client: properly support hook env vars 2018-11-27 17:25:33 -08:00
task_runner_test.go client: properly support hook env vars 2018-11-27 17:25:33 -08:00
template_hook.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
validate_hook.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
validate_hook_test.go client: Rename drivers/shared/env => client/taskenv 2018-11-30 12:18:39 +01:00
vault_hook.go client: support graceful shutdowns 2018-11-19 16:39:30 -08:00
vault_hook_test.go client: support graceful shutdowns 2018-11-19 16:39:30 -08:00