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.



222
223
224
# File 'lib/new_relic/agent/sql_sampler.rb', line 222

def initialize
  @sql_data = []
end

Instance Attribute Details

#guidObject (readonly)



220
221
222
# File 'lib/new_relic/agent/sql_sampler.rb', line 220

def guid
  @guid
end

#pathObject (readonly)



217
218
219
# File 'lib/new_relic/agent/sql_sampler.rb', line 217

def path
  @path
end

#sql_dataObject (readonly)



219
220
221
# File 'lib/new_relic/agent/sql_sampler.rb', line 219

def sql_data
  @sql_data
end

#uriObject (readonly)



218
219
220
# File 'lib/new_relic/agent/sql_sampler.rb', line 218

def uri
  @uri
end

Instance Method Details

#set_transaction_info(uri, guid) ⇒ Object



226
227
228
229
# File 'lib/new_relic/agent/sql_sampler.rb', line 226

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

#set_transaction_name(name) ⇒ Object



231
232
233
# File 'lib/new_relic/agent/sql_sampler.rb', line 231

def set_transaction_name(name)
  @path = name
end