X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Frepo.ex;h=aa5d427ae28401cccabfb82ab5734ff86d39aa71;hb=7fcbda702e76b6390076c28832f5aea80086d15a;hp=4af1bde566b4df98e299e87fbfb61a4b8613a426;hpb=19a19bdd8145bd91b38d9c6571d2e7c597754055;p=akkoma diff --git a/lib/pleroma/repo.ex b/lib/pleroma/repo.ex index 4af1bde56..aa5d427ae 100644 --- a/lib/pleroma/repo.ex +++ b/lib/pleroma/repo.ex @@ -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.