Fix build on ARM64 Linux and other improvements
Added
-
Add
activate_if_environment
helper forAppsignal.configure
. Avoid having to add conditionals to your configuration file and use theactivate_if_environment
helper to specify for which environments AppSignal should become active. AppSignal will automatically detect the environment and activate itself it the environment matches one of the listed environments.Ruby# Before Appsignal.configure do |config| config.active = Rails.env.production? || Rails.env.staging? end # After Appsignal.configure do |config| # Activate for one environment config.activate_if_environment(:production) # Activate for multiple environments config.activate_if_environment(:production, :staging) end
-
Add a hostname AppSignal tag automatically, based on the OpenTelemetry
host.name
resource attribute. (Beta only) -
Add incident error count metric for enriched OpenTelemetry traces. (Beta only)
-
Set the app revision config option for Scalingo deploys automatically. If the
CONTAINER_VERSION
system environment variable is present, it will use used to set therevision
config option automatically. Overwrite it's value by configuring therevision
config option for your application.
Changed
-
Ignore the Rails healthcheck endpoint (Rails::HealthController#show) by default for Rails apps.
If the
ignore_actions
option is set in theconfig/appsignal.yml
file, the default is overwritten. If theAPPSIGNAL_IGNORE_ACTIONS
environment variable is set, the default is overwritten. When using theAppsignal.configure
helper, add more actions to the default like so:Ruby# config/appsignal.rb Appsignal.configure do |config| # Add more actions to ignore config.ignore_actions << "My action" end
To overwrite the default using the
Appsignal.configure
helper, do either of the following:Ruby# config/appsignal.rb Appsignal.configure do |config| # Overwrite the default value, ignoring all actions ignored by default config.ignore_actions = ["My action"] # To only remove the healtcheck endpoint config.ignore_actions.delete("Rails::HealthController#show") end
Fixed
- Fix an issue where the extension fails to build on ARM64 Linux.
View the Ruby gem v4.1.3 changelog for more information.