Support a configurable readiness check endpoint via http #42
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.
Expose a new string config ReadinessCheckEndpoint
in
config.yaml`.This endpoint is used for monitoring purposes to verify if all configured listeners are successfully started and running.
/debug/health
path of this endpointwill not be registered and no readiness checks will be available via HTTP.
Example output when I set
![7n8QHapGUKKnPk6](https://private-user-images.githubusercontent.com/43364656/411117329-f830fba1-7548-4cd6-a853-2c1fcbcb3b8a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzODQxMTcsIm5iZiI6MTczOTM4MzgxNywicGF0aCI6Ii80MzM2NDY1Ni80MTExMTczMjktZjgzMGZiYTEtNzU0OC00Y2Q2LWE4NTMtMmMxZmNiY2IzYjhhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE4MTAxN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1Y2M4NTdmNjJmMDcyMmE0MzY0NzBiNDY2ZGU0NzA1Mzg3NDBmMDUwN2U3YTZmZGVjYjQ0NjYxMDlhOTAyYjQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.6Sjhv4cJqFj0wR0rUmcxKp2GfsWGy5UkaqlYUnX-MKE)
ReadinessCheckEndpoint:localhost:8080
in my local experiment: