X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fweb%2Ftelemetry.ex;h=acb649421a8a8a217bd58eb2681dbd5607fc46f9;hb=b91e671c0d7cdca6b1ddf753f2017b15f366695f;hp=5b01ee14deeb97218b0ea168c78f90153c1a736e;hpb=584f99b69dff93b4610c7e1042a9db5e89b1a31b;p=akkoma diff --git a/lib/pleroma/web/telemetry.ex b/lib/pleroma/web/telemetry.ex index 5b01ee14d..acb649421 100644 --- a/lib/pleroma/web/telemetry.ex +++ b/lib/pleroma/web/telemetry.ex @@ -109,7 +109,8 @@ defmodule Pleroma.Web.Telemetry do summary("vm.total_run_queue_lengths.io"), last_value("pleroma.local_users.total"), last_value("pleroma.domains.total"), - last_value("pleroma.local_statuses.total") + last_value("pleroma.local_statuses.total"), + last_value("pleroma.remote_users.total") ] end @@ -127,5 +128,6 @@ defmodule Pleroma.Web.Telemetry do :telemetry.execute([:pleroma, :local_users], %{total: stats.user_count}, %{}) :telemetry.execute([:pleroma, :domains], %{total: stats.domain_count}, %{}) :telemetry.execute([:pleroma, :local_statuses], %{total: stats.status_count}, %{}) + :telemetry.execute([:pleroma, :remote_users], %{total: stats.remote_user_count}, %{}) end end