Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
Enable Cachex stats (#2100)
Manu S Ajithc7a9da75b433
diff --git a/lib/plausible/application.ex b/lib/plausible/application.exindex b5a6a3fc7b..230459775d 100644--- a/lib/plausible/application.ex+++ b/lib/plausible/application.ex@@ -15,8 +15,12 @@ defmodule Plausible.Application doPlausible.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