diff --git a/lib/metro/router.ex b/lib/metro/router.ex index 691b235..ca6262d 100644 --- a/lib/metro/router.ex +++ b/lib/metro/router.ex @@ -1,11 +1,11 @@ defmodule Metro.Router do use Plug.Router + plug Metro.MetricsPlug + plug :match plug :dispatch - plug Metro.MetricsPlug - match _ do send_resp(conn, 404, "Not found") end