@@ -96,6 +96,7 @@ def dsl_config_file?
9696 :enable_at_exit_hook => "on_error" ,
9797 :enable_at_exit_reporter => true ,
9898 :enable_host_metrics => true ,
99+ :enable_job_enqueue_instrumentation => true ,
99100 :enable_minutely_probes => true ,
100101 :enable_statsd => true ,
101102 :enable_nginx_metrics => false ,
@@ -113,13 +114,21 @@ def dsl_config_file?
113114 :ignore_errors => [ ] ,
114115 :ignore_logs => [ ] ,
115116 :ignore_namespaces => [ ] ,
117+ :instrument_active_job => true ,
116118 :instrument_code_ownership => true ,
119+ :instrument_delayed_job => true ,
120+ :instrument_excon => true ,
117121 :instrument_faraday => true ,
118122 :instrument_http_rb => true ,
123+ :instrument_mongo => true ,
119124 :instrument_net_http => true ,
120125 :instrument_ownership => true ,
126+ :instrument_que => true ,
121127 :instrument_redis => true ,
128+ :instrument_resque => true ,
122129 :instrument_sequel => true ,
130+ :instrument_shoryuken => true ,
131+ :instrument_sidekiq => true ,
123132 :log => "file" ,
124133 :logging_endpoint => "https://appsignal-endpoint.net" ,
125134 :ownership_set_namespace => false ,
@@ -181,6 +190,8 @@ def dsl_config_file?
181190 :enable_allocation_tracking => "APPSIGNAL_ENABLE_ALLOCATION_TRACKING" ,
182191 :enable_at_exit_reporter => "APPSIGNAL_ENABLE_AT_EXIT_REPORTER" ,
183192 :enable_host_metrics => "APPSIGNAL_ENABLE_HOST_METRICS" ,
193+ :enable_job_enqueue_instrumentation =>
194+ "APPSIGNAL_ENABLE_JOB_ENQUEUE_INSTRUMENTATION" ,
184195 :enable_minutely_probes => "APPSIGNAL_ENABLE_MINUTELY_PROBES" ,
185196 :enable_statsd => "APPSIGNAL_ENABLE_STATSD" ,
186197 :enable_nginx_metrics => "APPSIGNAL_ENABLE_NGINX_METRICS" ,
@@ -192,13 +203,21 @@ def dsl_config_file?
192203 :enable_rake_performance_instrumentation =>
193204 "APPSIGNAL_ENABLE_RAKE_PERFORMANCE_INSTRUMENTATION" ,
194205 :files_world_accessible => "APPSIGNAL_FILES_WORLD_ACCESSIBLE" ,
206+ :instrument_active_job => "APPSIGNAL_INSTRUMENT_ACTIVE_JOB" ,
195207 :instrument_code_ownership => "APPSIGNAL_INSTRUMENT_CODE_OWNERSHIP" ,
208+ :instrument_delayed_job => "APPSIGNAL_INSTRUMENT_DELAYED_JOB" ,
209+ :instrument_excon => "APPSIGNAL_INSTRUMENT_EXCON" ,
196210 :instrument_faraday => "APPSIGNAL_INSTRUMENT_FARADAY" ,
197211 :instrument_http_rb => "APPSIGNAL_INSTRUMENT_HTTP_RB" ,
212+ :instrument_mongo => "APPSIGNAL_INSTRUMENT_MONGO" ,
198213 :instrument_net_http => "APPSIGNAL_INSTRUMENT_NET_HTTP" ,
199214 :instrument_ownership => "APPSIGNAL_INSTRUMENT_OWNERSHIP" ,
215+ :instrument_que => "APPSIGNAL_INSTRUMENT_QUE" ,
200216 :instrument_redis => "APPSIGNAL_INSTRUMENT_REDIS" ,
217+ :instrument_resque => "APPSIGNAL_INSTRUMENT_RESQUE" ,
201218 :instrument_sequel => "APPSIGNAL_INSTRUMENT_SEQUEL" ,
219+ :instrument_shoryuken => "APPSIGNAL_INSTRUMENT_SHORYUKEN" ,
220+ :instrument_sidekiq => "APPSIGNAL_INSTRUMENT_SIDEKIQ" ,
202221 :ownership_set_namespace => "APPSIGNAL_OWNERSHIP_SET_NAMESPACE" ,
203222 :running_in_container => "APPSIGNAL_RUNNING_IN_CONTAINER" ,
204223 :send_environment_metadata => "APPSIGNAL_SEND_ENVIRONMENT_METADATA" ,
@@ -828,6 +847,8 @@ def activate_if_environment(*envs)
828847 # @return [Boolean] Configure whether the at_exit reporter is enabled
829848 # @!attribute [rw] enable_host_metrics
830849 # @return [Boolean] Configure whether host metrics collection is enabled
850+ # @!attribute [rw] enable_job_enqueue_instrumentation
851+ # @return [Boolean] Configure whether to record an event when a background job is enqueued
831852 # @!attribute [rw] enable_minutely_probes
832853 # @return [Boolean] Configure whether minutely probes are enabled
833854 # @!attribute [rw] enable_statsd
@@ -846,18 +867,34 @@ def activate_if_environment(*envs)
846867 # @return [Boolean] Configure whether Rake performance instrumentation is enabled
847868 # @!attribute [rw] files_world_accessible
848869 # @return [Boolean] Configure whether files created by AppSignal should be world accessible
870+ # @!attribute [rw] instrument_active_job
871+ # @return [Boolean] Configure whether to instrument Active Job
872+ # @!attribute [rw] instrument_delayed_job
873+ # @return [Boolean] Configure whether to instrument Delayed Job
874+ # @!attribute [rw] instrument_excon
875+ # @return [Boolean] Configure whether to instrument requests made with the Excon gem
849876 # @!attribute [rw] instrument_faraday
850877 # @return [Boolean] Configure whether to instrument requests made with the Faraday gem
851878 # @!attribute [rw] instrument_http_rb
852879 # @return [Boolean] Configure whether to instrument requests made with the http.rb gem
880+ # @!attribute [rw] instrument_mongo
881+ # @return [Boolean] Configure whether to instrument MongoDB queries
853882 # @!attribute [rw] instrument_net_http
854883 # @return [Boolean] Configure whether to instrument requests made with Net::HTTP
855884 # @!attribute [rw] instrument_ownership
856885 # @return [Boolean] Configure whether to instrument the Ownership gem
886+ # @!attribute [rw] instrument_que
887+ # @return [Boolean] Configure whether to instrument Que
857888 # @!attribute [rw] instrument_redis
858889 # @return [Boolean] Configure whether to instrument Redis queries
890+ # @!attribute [rw] instrument_resque
891+ # @return [Boolean] Configure whether to instrument Resque
859892 # @!attribute [rw] instrument_sequel
860893 # @return [Boolean] Configure whether to instrument Sequel queries
894+ # @!attribute [rw] instrument_shoryuken
895+ # @return [Boolean] Configure whether to instrument Shoryuken
896+ # @!attribute [rw] instrument_sidekiq
897+ # @return [Boolean] Configure whether to instrument Sidekiq
861898 # @!attribute [rw] ownership_set_namespace
862899 # @return [Boolean] Configure whether the Ownership gem instrumentation should set namespace
863900 # @!attribute [rw] running_in_container
0 commit comments