module NewRelic::Agent::Instrumentation::SequelHelper
Constants
- DEFAULT_PRODUCT_NAME
-
Fallback if the product cannot be determined
- PRODUCT_NAMES
-
A
Sequel
adapter is called an “adapter_scheme” and can be accessed from the database:DB.adapter_scheme
Public Instance Methods
Source
# File lib/new_relic/agent/instrumentation/sequel_helper.rb, line 30 def product_name_from_adapter(adapter) PRODUCT_NAMES.fetch(adapter, DEFAULT_PRODUCT_NAME) end