Class: Contrast::Agent::Reporting::ApplicationStartupInstrumentation
- Defined in:
- lib/contrast/agent/reporting/reporting_events/application_startup_instrumentation.rb
Overview
This is the new ApplicationStartupInstrumentation class which will include all the needed information for the system to report the instrumentation mode to which the agent was set by local configuration.
Instance Method Summary collapse
-
#to_controlled_hash ⇒ Hash
Convert the instance variables on the class, and other information, into the identifiers required for TeamServer to process the JSON form of this message.
Instance Method Details
#to_controlled_hash ⇒ Hash
Convert the instance variables on the class, and other information, into the identifiers required for TeamServer to process the JSON form of this message.
17 18 19 20 21 22 23 |
# File 'lib/contrast/agent/reporting/reporting_events/application_startup_instrumentation.rb', line 17 def to_controlled_hash { protect: { enable: ::Contrast::PROTECT.enabled? } } end |