By default, extension sapience/rails collects ActionController metrics
by registering a listener to ActiveSupport::Notifications. These
metrics will be emited to a metrics provider, if one has been
configured. This is useful when we don't use a dedicated tracing library
like datadog, newrelic, skylight etc.
This commit introduces a config option rails_ac_metrics that allows us
to control whether we want this functionallity enabled or not.
By default, extension sapience/rails collects ActionController metrics by registering a listener to ActiveSupport::Notifications. These metrics will be emited to a metrics provider, if one has been configured. This is useful when we don't use a dedicated tracing library like datadog, newrelic, skylight etc.
This commit introduces a config option
rails_ac_metrics
that allows us to control whether we want this functionallity enabled or not.