Class: NewRelic::Agent::TransactionSqlData
- Inherits:
-
Object
- Object
- NewRelic::Agent::TransactionSqlData
- Defined in:
- lib/new_relic/agent/sql_sampler.rb
Instance Attribute Summary collapse
- #guid ⇒ Object readonly
- #path ⇒ Object readonly
- #sql_data ⇒ Object readonly
- #uri ⇒ Object readonly
Instance Method Summary collapse
-
#initialize ⇒ TransactionSqlData
constructor
A new instance of TransactionSqlData.
- #set_transaction_info(uri, guid) ⇒ Object
- #set_transaction_name(name) ⇒ Object
Constructor Details
#initialize ⇒ TransactionSqlData
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
#guid ⇒ Object (readonly)
221 222 223 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 221 def guid @guid end |
#path ⇒ Object (readonly)
218 219 220 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 218 def path @path end |
#sql_data ⇒ Object (readonly)
220 221 222 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 220 def sql_data @sql_data end |
#uri ⇒ Object (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 |