Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Remove appsignal

Uku Taht370e87ed43d5
diff --git a/config/config.exs b/config/config.exs
index f58873c9d9..59d738f8cd 100644
--- a/config/config.exs
+++ b/config/config.exs
@@ -38,13 +38,6 @@ config :ua_inspector,
config :ref_inspector,
database_path: "priv/ref_inspector"
-config :plausible, PlausibleWeb.Endpoint,
- instrumenters: [Appsignal.Phoenix.Instrumenter]
-
-config :phoenix, :template_engines,
- eex: Appsignal.Phoenix.Template.EExEngine,
- exs: Appsignal.Phoenix.Template.ExsEngine
-
config :plausible,
paddle_api: Plausible.Billing.PaddleApi
diff --git a/lib/plausible/application.ex b/lib/plausible/application.ex
index f92bb60409..4d32c02dda 100644
--- a/lib/plausible/application.ex
+++ b/lib/plausible/application.ex
@@ -11,12 +11,6 @@ defmodule Plausible.Application do
opts = [strategy: :one_for_one, name: Plausible.Supervisor]
{:ok, _} = Logger.add_backend(Sentry.LoggerBackend)
- :telemetry.attach(
- "appsignal-ecto",
- [:plausible, :repo, :query],
- &Appsignal.Ecto.handle_event/4,
- nil
- )
Supervisor.start_link(children, opts)
end
diff --git a/lib/plausible_web/endpoint.ex b/lib/plausible_web/endpoint.ex
index be465e3aee..124a4918cf 100644
--- a/lib/plausible_web/endpoint.ex
+++ b/lib/plausible_web/endpoint.ex
@@ -1,7 +1,6 @@
defmodule PlausibleWeb.Endpoint do
use Phoenix.Endpoint, otp_app: :plausible
use Sentry.Phoenix.Endpoint
- use Appsignal.Phoenix
socket "/socket", PlausibleWeb.UserSocket,
websocket: true,
diff --git a/mix.exs b/mix.exs
index c1bc0af0f9..61883cbee9 100644
--- a/mix.exs
+++ b/mix.exs
@@ -56,7 +56,6 @@ defmodule Plausible.MixProject do
{:sentry, "~> 7.0"},
{:httpoison, "~> 1.4"},
{:ex_machina, "~> 2.3", only: :test},
- {:appsignal, "~> 1.0"},
{:joken, "~> 2.0"},
{:php_serializer, "~> 0.9.0"}
]