Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jan 2, 2024
1 parent 674407c commit 0f36364
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ ingress. It is useful to temporarily stop serving traffic, e.g. when the
instance is overloaded or it has transient problems connecting to a back end
service.

See this blog post for more details: TODO
See this blog post for more background:
https://www.cogini.com/blog/kubernetes-health-checks-for-elixir-apps/

Links:

Expand Down Expand Up @@ -95,13 +96,13 @@ Add a module to your app which provides
Following is an example heath module:

```elixir
defmodule Foo.Health do
defmodule Example.Health do
@moduledoc """
Collect app status for Kubernetes health checks.
"""
alias Foo.Repo
alias Example.Repo
@app :foo
@app :example
@repos Application.compile_env(@app, :ecto_repos) || []
@doc """
Expand Down

0 comments on commit 0f36364

Please sign in to comment.