Skip to content
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

feat(logger): Add healthz endpoint #19

Merged
merged 1 commit into from
Jan 21, 2016
Merged

feat(logger): Add healthz endpoint #19

merged 1 commit into from
Jan 21, 2016

Conversation

krancour
Copy link
Contributor

fyi, since this adds a new endpoint, it moves us past the point where we only had to handle GET and DELETE requests for logs, so I added in gorilla/mux to route requests. It's actually way saner.

Note that supporting a /healthz endpoint meant there could never be an application named healthz, so I changed up the routes a little-- logs are not found at /logs/{app}. I will submit a complementary PR to deis/workflow.

path: /healthz
port: 8088
initialDelaySeconds: 1
timeoutSeconds: 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a newline here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep.

@mboersma mboersma added the LGTM1 label Jan 20, 2016
krancour added a commit that referenced this pull request Jan 21, 2016
feat(logger): Add healthz endpoint
@krancour krancour merged commit 05134a0 into deis:master Jan 21, 2016
@slack slack mentioned this pull request Jan 22, 2016
63 tasks
@krancour krancour deleted the healthz branch February 4, 2016 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants