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 or a background worker. 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/span 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 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"