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.



140
141
142
# File 'lib/new_relic/agent/sql_sampler.rb', line 140

def initialize
  @sql_data = []
end

Instance Attribute Details

#guidObject (readonly)

Returns the value of attribute guid.



138
139
140
# File 'lib/new_relic/agent/sql_sampler.rb', line 138

def guid
  @guid
end

#paramsObject (readonly)

Returns the value of attribute params.



136
137
138
# File 'lib/new_relic/agent/sql_sampler.rb', line 136

def params
  @params
end

#pathObject (readonly)

Returns the value of attribute path.



134
135
136
# File 'lib/new_relic/agent/sql_sampler.rb', line 134

def path
  @path
end

#sql_dataObject (readonly)

Returns the value of attribute sql_data.



137
138
139
# File 'lib/new_relic/agent/sql_sampler.rb', line 137

def sql_data
  @sql_data
end

#uriObject (readonly)

Returns the value of attribute uri.



135
136
137
# File 'lib/new_relic/agent/sql_sampler.rb', line 135

def uri
  @uri
end

Instance Method Details

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



144
145
146
147
148
149
# File 'lib/new_relic/agent/sql_sampler.rb', line 144

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