Merge remote-tracking branch 'origin/develop' into conversations_three
[akkoma] / lib / pleroma / repo.ex
index 4af1bde566b4df98e299e87fbfb61a4b8613a426..aa5d427ae28401cccabfb82ab5734ff86d39aa71 100644 (file)
@@ -8,6 +8,10 @@ defmodule Pleroma.Repo do
     adapter: Ecto.Adapters.Postgres,
     migration_timestamps: [type: :naive_datetime_usec]
 
+  defmodule Instrumenter do
+    use Prometheus.EctoInstrumenter
+  end
+
   @doc """
   Dynamically loads the repository url from the
   DATABASE_URL environment variable.