Skip to content

Commit

Permalink
Update x-pack/elastic-agent/GUIDELINES.md
Browse files Browse the repository at this point in the history
Co-authored-by: Gil Raphaelli <[email protected]>
  • Loading branch information
ruflin and graphaelli authored Nov 30, 2021
1 parent 17d4998 commit 0f93ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/GUIDELINES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ This document contains architecture details around Elastic Agent and guidelines

## Processes running as service and error handling

All the processes started by Elastic Agent are running as service. Each service is expected to handle local errors on its own and continue working. A process should only fail on startup if a non valid configuration is passed in. As soon as a process is running and partial updates to the config are made without restart, the service is expected to keep running but report the errors.
All the processes started by Elastic Agent are running as service. Each service is expected to handle local errors on its own and continue working. A process should only fail on startup if an invalid configuration is passed in. As soon as a process is running and partial updates to the config are made without restart, the service is expected to keep running but report the errors.

A service that needs to do setup tasks on startup is expected to retry until it succeeds and not error out after a certain timeout.

0 comments on commit 0f93ccd

Please sign in to comment.