Sometimes you have a certain action that you don't want to send to AppSignal. The most common use case is an action that your load balancer uses to check if your app is still responding or your entire administration panel.
You can ignore data from these actions being sent to AppSignal by ignoring their specific action name or their namespace in your app's configuration. This works for any code that is wrapped in an AppSignal transaction, such as a controller action, a background worker or a Rake task. The configured action and namespace names should match the action names that are reported in your app in the AppSignal.com UI.
Ignoring actions or namespaces will ignore all transaction data from this action or namespace. No errors and performance issues will be reported. Custom metrics data recorded in an action will still be reported.
Also see the
ignore_actions configuration option documentation for more about this configuration option.
1 2 3 4 5 6 7 # config/appsignal.exs use Mix.Config config :appsignal, :config, name: "appsignal_phoenix_example", push_api_key: "00000000-0000-0000-0000-000000000000", ignore_actions: ["PingController#is_up", "SecondController#healthcheck"]
You can also configure ignore actions via an environment variable.
1 export APPSIGNAL_IGNORE_ACTIONS="PingController#is_up,SecondController#healthcheck"