From 309ca8c67a9fa50e1131f31e960df142769cd313 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Thu, 23 Jan 2025 11:42:18 +0000 Subject: [PATCH] Expose stats for MusicLibrary.ErrorRepo in dashboard No need for metrics as the repo is very low in usage. --- lib/music_library_web/router.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/music_library_web/router.ex b/lib/music_library_web/router.ex index 3b3adda3..45e72804 100644 --- a/lib/music_library_web/router.ex +++ b/lib/music_library_web/router.ex @@ -79,7 +79,7 @@ defmodule MusicLibraryWeb.Router do live_dashboard "/dashboard", metrics: MusicLibraryWeb.Telemetry, metrics_history: {MusicLibraryWeb.Telemetry.Storage, :metrics_history, []}, - ecto_repos: [MusicLibrary.Repo] + ecto_repos: [MusicLibrary.Repo, MusicLibrary.ErrorRepo] end end end