Enable Cachex stats (#2100)

Signed-off-by: Manu S Ajith <neo@codingarena.in>

Signed-off-by: Manu S Ajith <neo@codingarena.in>
pull/2105/head
Manu S Ajith 4 years ago committed by GitHub
parent c0c36646e2
commit c7a9da75b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -15,8 +15,12 @@ defmodule Plausible.Application do
Plausible.Event.WriteBuffer,
Plausible.Session.WriteBuffer,
ReferrerBlocklist,
Supervisor.child_spec({Cachex, name: :user_agents, limit: 1000}, id: :cachex_user_agents),
Supervisor.child_spec({Cachex, name: :sessions, limit: nil}, id: :cachex_sessions),
Supervisor.child_spec({Cachex, name: :user_agents, limit: 1000, stats: true},
id: :cachex_user_agents
),
Supervisor.child_spec({Cachex, name: :sessions, limit: nil, stats: true},
id: :cachex_sessions
),
PlausibleWeb.Endpoint,
{Oban, Application.get_env(:plausible, Oban)},
Plausible.PromEx

Loading…
Cancel
Save