-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
query: Add readiness probe to query #1534
Conversation
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, some suggestions around sprintf otherwise LGTM! 👍
Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@GiedriusS @bwplotka This is ready for another round. If this looks good I'll send similar PR's for other components today. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR,
/-/ready
endpoint for readiness checks.Changes
/-/ready
endpoint for readiness checks.prober.Prober
for readiness and liveness endpoints.defaultHTTPListener
scheduleHTTPServer
to consume an existinghttp.Handler
Verification
make test
Started
thanos query
and made a request to related endpoints.