feat: expose system metrics (#4)

Use prom_ex to expose system metrics to prometheus and create dashboards.

Co-authored-by: Joao P Dubas <joao.dubas@gmail.com>
Reviewed-on: #4
This commit is contained in:
2022-05-03 16:19:39 +00:00
parent 39419f8837
commit 34c3a3e4c2
10 changed files with 126 additions and 17 deletions

View File

@@ -7,6 +7,8 @@ defmodule Wabanex.Application do
def start(_type, _args) do
children = [
# Start the PromEx supervisor
Wabanex.PromEx,
# Start the Ecto repository
Wabanex.Repo,
# Start the Telemetry supervisor