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.
190 191 192 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 190 def initialize @sql_data = [] end |
Instance Attribute Details
#guid ⇒ Object (readonly)
188 189 190 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 188 def guid @guid end |
#path ⇒ Object (readonly)
185 186 187 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 185 def path @path end |
#sql_data ⇒ Object (readonly)
187 188 189 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 187 def sql_data @sql_data end |
#uri ⇒ Object (readonly)
186 187 188 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 186 def uri @uri end |
Instance Method Details
#set_transaction_info(uri, guid) ⇒ Object
194 195 196 197 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 194 def set_transaction_info(uri, guid) @uri = uri @guid = guid end |
#set_transaction_name(name) ⇒ Object
199 200 201 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 199 def set_transaction_name(name) @path = name end |