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
Remove AppSignal
Uku Tahtfbe6ab9b613a
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 79b071abf8..af754087ec 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file.### Fixed- Fix weekly report time range plausible/analytics#951+### Removed+- Removes AppSignal monitoring package## [1.3] - 2021-04-14diff --git a/config/runtime.exs b/config/runtime.exsindex 82aaf85e3b..c9bbb52dac 100644--- a/config/runtime.exs+++ b/config/runtime.exs@@ -79,7 +79,6 @@ hcaptcha_sitekey = System.get_env("HCAPTCHA_SITEKEY")hcaptcha_secret = System.get_env("HCAPTCHA_SECRET")log_level = String.to_existing_atom(System.get_env("LOG_LEVEL", "warn"))log_format = System.get_env("LOG_FORMAT", "elixir")-appsignal_api_key = System.get_env("APPSIGNAL_API_KEY")is_selfhost = String.to_existing_atom(System.get_env("SELFHOST", "true"))disable_cron = String.to_existing_atom(System.get_env("DISABLE_CRON", "false"))@@ -294,12 +293,3 @@ if log_format == "json" doname: "plausible",level: log_levelend--if appsignal_api_key do- config :appsignal, :config,- otp_app: :plausible,- name: "Plausible Analytics",- push_api_key: appsignal_api_key,- env: env,- active: true-enddiff --git a/lib/plausible_web.ex b/lib/plausible_web.exindex c87935bd2e..4288cecb9a 100644--- a/lib/plausible_web.ex+++ b/lib/plausible_web.ex@@ -21,10 +21,6 @@ defmodule PlausibleWeb do# Use all HTML functionality (forms, tags, etc)use Phoenix.HTML- if Application.get_env(:appsignal, :config) do- use Appsignal.Phoenix.View- end-import PlausibleWeb.ErrorHelpersalias PlausibleWeb.Router.Helpers, as: Routesenddiff --git a/lib/plausible_web/endpoint.ex b/lib/plausible_web/endpoint.exindex 6e949c8d19..8bd1555f9b 100644--- a/lib/plausible_web/endpoint.ex+++ b/lib/plausible_web/endpoint.ex@@ -1,10 +1,5 @@defmodule PlausibleWeb.Endpoint douse Phoenix.Endpoint, otp_app: :plausible-- if Application.get_env(:appsignal, :config) do- use Appsignal.Phoenix- end-use Sentry.PlugCapture# Serve at "/" the static files from "priv/static" directory.diff --git a/mix.exs b/mix.exsindex 2c7c68ac3f..905e46ce72 100644--- a/mix.exs+++ b/mix.exs@@ -50,8 +50,6 @@ defmodule Plausible.MixProject do# Type `mix help deps` for examples and options.defp deps do[- {:appsignal, "~> 2.0"},- {:appsignal_phoenix, "~> 2.0.3"},{:bcrypt_elixir, "~> 2.0"},{:cors_plug, "~> 1.5"},{:ecto_sql, "~> 3.0"},diff --git a/mix.lock b/mix.lockindex ecae8acabc..185cfa2a7d 100644--- a/mix.lock+++ b/mix.lock@@ -80,7 +80,7 @@"sleeplocks": {:hex, :sleeplocks, "1.1.1", "3d462a0639a6ef36cc75d6038b7393ae537ab394641beb59830a1b8271faeed3", [:rebar3], [], "hexpm", "84ee37aeff4d0d92b290fff986d6a95ac5eedf9b383fadfd1d88e9b84a1c02e1"},"sshex": {:hex, :sshex, "2.2.1", "e1270b8345ea2a66a11c2bb7aed22c93e3bc7bc813486f4ffd0a980e4a898160", [:mix], [], "hexpm", "45b2caa5011dc850e70a2d77e3b62678a3e8bcb903eab6f3e7afb2ea897b13db"},"ssl_verify_fun": {:hex, :ssl_verify_fun, "1.1.6", "cf344f5692c82d2cd7554f5ec8fd961548d4fd09e7d22f5b62482e5aeaebd4b0", [:make, :mix, :rebar3], [], "hexpm", "bdb0d2471f453c88ff3908e7686f86f9be327d065cc1ec16fa4540197ea04680"},- "telemetry": {:hex, :telemetry, "0.4.2", "2808c992455e08d6177322f14d3bdb6b625fbcfd233a73505870d8738a2f4599", [:rebar3], [], "hexpm", "2d1419bd9dda6a206d7b5852179511722e2b18812310d304620c7bd92a13fcef"},+ "telemetry": {:hex, :telemetry, "0.4.3", "a06428a514bdbc63293cd9a6263aad00ddeb66f608163bdec7c8995784080818", [:rebar3], [], "hexpm", "eb72b8365ffda5bed68a620d1da88525e326cb82a75ee61354fc24b844768041"},"timex": {:hex, :timex, "3.6.3", "58ce6c9eda8ed47fc80c24dde09d481465838d3bcfc230949287fc1b0b0041c1", [:mix], [{:combine, "~> 0.10", [hex: :combine, repo: "hexpm", optional: false]}, {:gettext, "~> 0.10", [hex: :gettext, repo: "hexpm", optional: false]}, {:tzdata, "~> 0.1.8 or ~> 0.5 or ~> 1.0.0", [hex: :tzdata, repo: "hexpm", optional: false]}], "hexpm", "6d69f4f95fcf5684102a9cb3cf92c5ba6545bd60ed8d8a6a93cd2a4a4fb0d9ec"},"tzdata": {:hex, :tzdata, "1.0.5", "69f1ee029a49afa04ad77801febaf69385f3d3e3d1e4b56b9469025677b89a28", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm", "55519aa2a99e5d2095c1e61cc74c9be69688f8ab75c27da724eb8279ff402a5a"},"ua_inspector": {:hex, :ua_inspector, "0.20.0", "01939baf5706f7d6c2dc0affbbd7f5e14309ba43ebf8967aa6479ee2204f23bc", [:mix], [{:hackney, "~> 1.0", [hex: :hackney, repo: "hexpm", optional: false]}, {:poolboy, "~> 1.0", [hex: :poolboy, repo: "hexpm", optional: false]}, {:yamerl, "~> 0.7", [hex: :yamerl, repo: "hexpm", optional: false]}], "hexpm", "30e8623b9f55e7d58be12fc2afd50be8792ec14192c289701d3cc93ad6027f26"},