Class: NewRelic::Agent::TransactionSqlData

Inherits:
Object
  • Object
show all
Defined in:
lib/new_relic/agent/sql_sampler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTransactionSqlData

Returns a new instance of TransactionSqlData.



190
191
192
# File 'lib/new_relic/agent/sql_sampler.rb', line 190

def initialize
  @sql_data = []
end

Instance Attribute Details

#guidObject (readonly)



188
189
190
# File 'lib/new_relic/agent/sql_sampler.rb', line 188

def guid
  @guid
end

#pathObject (readonly)



185
186
187
# File 'lib/new_relic/agent/sql_sampler.rb', line 185

def path
  @path
end

#sql_dataObject (readonly)



187
188
189
# File 'lib/new_relic/agent/sql_sampler.rb', line 187

def sql_data
  @sql_data
end

#uriObject (readonly)



186
187
188
# File 'lib/new_relic/agent/sql_sampler.rb', line 186

def uri
  @uri
end

Instance Method Details

#set_transaction_info(uri, guid) ⇒ Object



194
195
196
197
# File 'lib/new_relic/agent/sql_sampler.rb', line 194

def set_transaction_info(uri, guid)
  @uri = uri
  @guid = guid
end

#set_transaction_name(name) ⇒ Object



199
200
201
# File 'lib/new_relic/agent/sql_sampler.rb', line 199

def set_transaction_name(name)
  @path = name
end