Start adding telemetry
[akkoma] / lib / pleroma / web / router.ex
index e790b1cdb221581364ab77ef17c10c7c6766d8bf..bcb5fb15eeda186f29600870e0862067507e3a5a 100644 (file)
@@ -867,7 +867,7 @@ defmodule Pleroma.Web.Router do
 
   scope "/" do
     pipe_through([:pleroma_html, :authenticate, :require_admin])
-    live_dashboard("/phoenix/live_dashboard")
+    live_dashboard("/phoenix/live_dashboard", metrics: Pleroma.Web.Telemetry)
   end
 
   # Test-only routes needed to test action dispatching and plug chain execution