Fix the health checks not to be executed before the server and agent are running#2079
Closed
ryysud wants to merge 1 commit intospiffe:masterfrom
Closed
Fix the health checks not to be executed before the server and agent are running#2079ryysud wants to merge 1 commit intospiffe:masterfrom
ryysud wants to merge 1 commit intospiffe:masterfrom
Conversation
…are running Signed-off-by: Ryuma Yoshida <ryumyosh@zlab.co.jp>
3 tasks
Contributor
Author
|
For example, the response of the readiness endpoint in the server: Before the server is running$ curl -s localhost:8080/ready | jq .
{
"details": {
"server": {
"name": "server",
"status": "ok",
"fatal": true,
"details": {
"message": "skip the health check because the server is not running yet"
},
"check_time": "2021-01-26T15:09:13.928089+09:00",
"num_failures": 0,
"first_failure_at": "0001-01-01T00:00:00Z"
}
},
"status": "ok"
}After the server is running |
Contributor
Author
|
With this change, the server and agent will be ready even if they are stopped, so I close this PR... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Ryuma Yoshida ryumyosh@zlab.co.jp
Pull Request check list
Affected functionality
the health check system.
Description of change
I received #2015 (review) after merging the implementation of the readiness endpoint for the health check.
To address the comments in that, I fixed the health checks not to be executed before the server and agent are running.
Which issue this PR fixes
This PR fixes #2063.