Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
akoutmos authored Sep 13, 2024
1 parent c106ff5 commit 095e281
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,13 @@ defmodule MyCoolApp.Application do

def start(_type, _args) do
children = [
MyAppWeb.Endpoint,
# PromEx should be started after the Endpoint, to avoid unnecessary error messages
# PromEx should be started before anything else as PromEx will caputre init events from
# libraries like Ecto, Phoenix and Oban. If it is started after those other supervision trees
# you will miss those events and metrics.
MyCoolApp.PromEx,

MyCoolApp.Repo,
MyCoolApp.Endpoint
...
]

Expand Down

0 comments on commit 095e281

Please sign in to comment.