From c3a8a77b4a10850bdcf0a7a6e7cd5fa150bcad7b Mon Sep 17 00:00:00 2001 From: Joao P Dubas Date: Mon, 25 Apr 2022 13:47:26 +0000 Subject: [PATCH] feat: enable metrics endpoint --- lib/wabanex_web/endpoint.ex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/wabanex_web/endpoint.ex b/lib/wabanex_web/endpoint.ex index d6cd093..44e9cc1 100644 --- a/lib/wabanex_web/endpoint.ex +++ b/lib/wabanex_web/endpoint.ex @@ -16,6 +16,8 @@ defmodule WabanexWeb.Endpoint do socket "/live", Phoenix.LiveView.Socket, websocket: [connect_info: [session: @session_options]] + plug PromEx.Plug, prom_ex_module: Wabanex.PromEx + # Serve at "/" the static files from "priv/static" directory. # # You should set gzip to true if you are running phx.digest