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.



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

def initialize
  @sql_data = []
end

Instance Attribute Details

#guidObject (readonly)



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

def guid
  @guid
end

#pathObject (readonly)



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

def path
  @path
end

#sql_dataObject (readonly)



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

def sql_data
  @sql_data
end

#uriObject (readonly)



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

def uri
  @uri
end

Instance Method Details

#set_transaction_info(uri, guid) ⇒ Object



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

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

#set_transaction_name(name) ⇒ Object



234
235
236
# File 'lib/new_relic/agent/sql_sampler.rb', line 234

def set_transaction_name(name)
  @path = name
end