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.



173
174
175
# File 'lib/new_relic/agent/sql_sampler.rb', line 173

def initialize
  @sql_data = []
end

Instance Attribute Details

#guidObject (readonly)

Returns the value of attribute guid.



171
172
173
# File 'lib/new_relic/agent/sql_sampler.rb', line 171

def guid
  @guid
end

#paramsObject (readonly)

Returns the value of attribute params.



169
170
171
# File 'lib/new_relic/agent/sql_sampler.rb', line 169

def params
  @params
end

#pathObject (readonly)

Returns the value of attribute path.



167
168
169
# File 'lib/new_relic/agent/sql_sampler.rb', line 167

def path
  @path
end

#sql_dataObject (readonly)

Returns the value of attribute sql_data.



170
171
172
# File 'lib/new_relic/agent/sql_sampler.rb', line 170

def sql_data
  @sql_data
end

#uriObject (readonly)

Returns the value of attribute uri.



168
169
170
# File 'lib/new_relic/agent/sql_sampler.rb', line 168

def uri
  @uri
end

Instance Method Details

#set_transaction_info(path, uri, params, guid) ⇒ Object



177
178
179
180
181
182
# File 'lib/new_relic/agent/sql_sampler.rb', line 177

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