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.
222 223 224 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 222 def initialize @sql_data = [] end |
Instance Attribute Details
#guid ⇒ Object (readonly)
220 221 222 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 220 def guid @guid end |
#path ⇒ Object (readonly)
217 218 219 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 217 def path @path end |
#sql_data ⇒ Object (readonly)
219 220 221 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 219 def sql_data @sql_data end |
#uri ⇒ Object (readonly)
218 219 220 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 218 def uri @uri end |
Instance Method Details
#set_transaction_info(uri, guid) ⇒ Object
226 227 228 229 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 226 def set_transaction_info(uri, guid) @uri = uri @guid = guid end |
#set_transaction_name(name) ⇒ Object
231 232 233 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 231 def set_transaction_name(name) @path = name end |