module ElasticAPM::Sql

def self.summarizer

both implementations ~mikker
This method is only here as a shortcut while the agent ships with
def self.summarizer
  @summarizer ||=
    if ElasticAPM.agent&.config&.use_legacy_sql_parser
      require 'elastic_apm/sql_summarizer'
      SqlSummarizer.new
    else
      require 'elastic_apm/sql/signature'
      Sql::Signature::Summarizer.new
    end
end