Logo of AppSignal

Menu
Docs navigation

Ignore actions

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.

Table of Contents

Ignore by action name

1
2
3
4
default: &defaults
  ignore_actions:
    - "ApplicationController#is_up"
    - "MyBackgroundWorker#perform"

If you use Sinatra or any other framework, use the HTTP method and path you used to specify your route, for example:

1
2
3
4
default: &defaults
  ignore_actions:
    - "GET /pages/:id"
    - "POST /pages/create"

You can also configure ignore actions via an environment variable.

1
export APPSIGNAL_IGNORE_ACTIONS="ApplicationController#is_up,MyBackgroundWorker#perform"

We'd like to set cookies, read why.