Class: TCellAgent::Instrumentation::TCellData

Inherits:
Object
  • Object
show all
Defined in:
lib/tcell_agent/instrumentation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeTCellData

Returns a new instance of TCellData.



17
18
19
20
21
# File 'lib/tcell_agent/instrumentation.rb', line 17

def initialize
  @patches_blocking_triggered = false
  @sql_exceptions = []
  @database_result_sizes = []
end

Instance Attribute Details

#context_filters_by_termObject

Returns the value of attribute context_filters_by_term.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def context_filters_by_term
  @context_filters_by_term
end

#csrf_exception_nameObject

Returns the value of attribute csrf_exception_name.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def csrf_exception_name
  @csrf_exception_name
end

#database_filtersObject

Returns the value of attribute database_filters.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def database_filters
  @database_filters
end

#database_result_sizesObject

Returns the value of attribute database_result_sizes.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def database_result_sizes
  @database_result_sizes
end

#fullpathObject

Returns the value of attribute fullpath.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def fullpath
  @fullpath
end

#grape_mount_endpointObject

Returns the value of attribute grape_mount_endpoint.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def grape_mount_endpoint
  @grape_mount_endpoint
end

#hmac_session_idObject

Returns the value of attribute hmac_session_id.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def hmac_session_id
  @hmac_session_id
end

#passwordObject

Returns the value of attribute password.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def password
  @password
end

#patches_blocking_triggeredObject

Returns the value of attribute patches_blocking_triggered.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def patches_blocking_triggered
  @patches_blocking_triggered
end

#pathObject

Returns the value of attribute path.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def path
  @path
end

#path_parametersObject

Returns the value of attribute path_parameters.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def path_parameters
  @path_parameters
end

#referrerObject

Returns the value of attribute referrer.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def referrer
  @referrer
end

#remote_addressObject

Returns the value of attribute remote_address.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def remote_address
  @remote_address
end

#request_methodObject

Returns the value of attribute request_method.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def request_method
  @request_method
end

#reverse_proxy_header_valueObject

Returns the value of attribute reverse_proxy_header_value.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def reverse_proxy_header_value
  @reverse_proxy_header_value
end

#route_idObject

Returns the value of attribute route_id.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def route_id
  @route_id
end

#session_idObject

Returns the value of attribute session_id.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def session_id
  @session_id
end

#sql_exceptionsObject

Returns the value of attribute sql_exceptions.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def sql_exceptions
  @sql_exceptions
end

#transaction_idObject

Returns the value of attribute transaction_id.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def transaction_id
  @transaction_id
end

#uriObject

Returns the value of attribute uri.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def uri
  @uri
end

#user_agentObject

Returns the value of attribute user_agent.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def user_agent
  @user_agent
end

#user_idObject

Returns the value of attribute user_id.



10
11
12
# File 'lib/tcell_agent/instrumentation.rb', line 10

def user_id
  @user_id
end

Instance Method Details

#to_sObject



23
24
25
26
27
28
29
# File 'lib/tcell_agent/instrumentation.rb', line 23

def to_s
  "<#{self.class.name} transaction_id: #{transaction_id} session_id: #{session_id} " \
  "hmac_session_id: #{hmac_session_id} user_id: #{user_id} route_id: #{route_id} " \
  "uri: #{uri} context_filters_by_term: #{context_filters_by_term} " \
  "database_filters: #{database_filters} remote_address: #{remote_address} user_agent: #{user_agent} " \
  "request_method: #{@request_method} path_parameters: #{@path_parameters}>"
end