reevoo / sapience-rb

Hasslefree auto-configuration for logging, metrics and exception collection.
MIT License
10 stars 0 forks source link

Config option for ActionController metrics #63

Closed costis closed 4 years ago

costis commented 4 years ago

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.