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.



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

def initialize
  @sql_data = []
end

Instance Attribute Details

#guidObject (readonly)



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

def guid
  @guid
end

#pathObject (readonly)



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

def path
  @path
end

#sql_dataObject (readonly)



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

def sql_data
  @sql_data
end

#uriObject (readonly)



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

def uri
  @uri
end

Instance Method Details

#set_transaction_info(uri, guid) ⇒ Object



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

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

#set_transaction_name(name) ⇒ Object



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

def set_transaction_name(name)
  @path = name
end