Class: TingYun::Agent::Collector::TransactionSqlData

Inherits:
Object
  • Object
show all
Defined in:
lib/ting_yun/agent/collector/sql_sampler.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTransactionSqlData



178
179
180
# File 'lib/ting_yun/agent/collector/sql_sampler.rb', line 178

def initialize
  @sql_data = []
end

Instance Attribute Details

#action_metric_nameObject (readonly)

Returns the value of attribute action_metric_name.



174
175
176
# File 'lib/ting_yun/agent/collector/sql_sampler.rb', line 174

def action_metric_name
  @action_metric_name
end

#sql_dataObject (readonly)

Returns the value of attribute sql_data.



176
177
178
# File 'lib/ting_yun/agent/collector/sql_sampler.rb', line 176

def sql_data
  @sql_data
end

#uriObject (readonly)

Returns the value of attribute uri.



175
176
177
# File 'lib/ting_yun/agent/collector/sql_sampler.rb', line 175

def uri
  @uri
end

Instance Method Details

#set_transaction_info(uri) ⇒ Object



182
183
184
# File 'lib/ting_yun/agent/collector/sql_sampler.rb', line 182

def set_transaction_info(uri)
  @uri = uri
end

#set_transaction_name(name) ⇒ Object



186
187
188
# File 'lib/ting_yun/agent/collector/sql_sampler.rb', line 186

def set_transaction_name(name)
  @action_metric_name = name
end