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
Returns the value of attribute guid.
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
-
#sql_data ⇒ Object
readonly
Returns the value of attribute sql_data.
-
#uri ⇒ Object
readonly
Returns the value of attribute uri.
Instance Method Summary collapse
-
#initialize ⇒ TransactionSqlData
constructor
A new instance of TransactionSqlData.
- #set_transaction_info(path, uri, params, guid) ⇒ Object
Constructor Details
#initialize ⇒ TransactionSqlData
Returns a new instance of TransactionSqlData.
139 140 141 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 139 def initialize @sql_data = [] end |
Instance Attribute Details
#guid ⇒ Object (readonly)
Returns the value of attribute guid.
137 138 139 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 137 def guid @guid end |
#params ⇒ Object (readonly)
Returns the value of attribute params.
135 136 137 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 135 def params @params end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
133 134 135 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 133 def path @path end |
#sql_data ⇒ Object (readonly)
Returns the value of attribute sql_data.
136 137 138 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 136 def sql_data @sql_data end |
#uri ⇒ Object (readonly)
Returns the value of attribute uri.
134 135 136 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 134 def uri @uri end |
Instance Method Details
#set_transaction_info(path, uri, params, guid) ⇒ Object
143 144 145 146 147 148 |
# File 'lib/new_relic/agent/sql_sampler.rb', line 143 def set_transaction_info(path, uri, params, guid) @path = path @uri = uri @params = params @guid = guid end |