appsignal 3.4.0 → 3.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +63 -21
  3. data/.rubocop_todo.yml +68 -54
  4. data/.semaphore/semaphore.yml +11 -11
  5. data/CHANGELOG.md +37 -0
  6. data/Rakefile +15 -99
  7. data/appsignal.gemspec +3 -4
  8. data/bin/appsignal +4 -2
  9. data/build_matrix.yml +4 -4
  10. data/ext/._appsignal-agent +0 -0
  11. data/ext/Rakefile +22 -21
  12. data/ext/agent.rb +2 -0
  13. data/ext/base.rb +14 -17
  14. data/ext/extconf.rb +4 -1
  15. data/lib/appsignal/auth_check.rb +3 -3
  16. data/lib/appsignal/capistrano.rb +1 -1
  17. data/lib/appsignal/cli/demo.rb +5 -2
  18. data/lib/appsignal/cli/diagnose/paths.rb +4 -1
  19. data/lib/appsignal/cli/diagnose/utils.rb +7 -3
  20. data/lib/appsignal/cli/diagnose.rb +7 -5
  21. data/lib/appsignal/cli/helpers.rb +1 -4
  22. data/lib/appsignal/cli/install.rb +4 -10
  23. data/lib/appsignal/cli.rb +3 -2
  24. data/lib/appsignal/config.rb +105 -102
  25. data/lib/appsignal/demo.rb +2 -1
  26. data/lib/appsignal/environment.rb +2 -0
  27. data/lib/appsignal/event_formatter/action_view/render_formatter.rb +2 -1
  28. data/lib/appsignal/event_formatter/mongo_ruby_driver/query_formatter.rb +13 -13
  29. data/lib/appsignal/event_formatter.rb +5 -4
  30. data/lib/appsignal/extension/jruby.rb +11 -9
  31. data/lib/appsignal/extension.rb +1 -1
  32. data/lib/appsignal/helpers/instrumentation.rb +50 -35
  33. data/lib/appsignal/hooks/action_cable.rb +6 -4
  34. data/lib/appsignal/hooks/action_mailer.rb +2 -0
  35. data/lib/appsignal/hooks/active_job.rb +11 -10
  36. data/lib/appsignal/hooks/active_support_notifications.rb +3 -4
  37. data/lib/appsignal/hooks/data_mapper.rb +1 -1
  38. data/lib/appsignal/hooks/gvl.rb +3 -0
  39. data/lib/appsignal/hooks/http.rb +1 -1
  40. data/lib/appsignal/hooks/mri.rb +2 -0
  41. data/lib/appsignal/hooks/net_http.rb +1 -1
  42. data/lib/appsignal/hooks/que.rb +1 -1
  43. data/lib/appsignal/hooks/rake.rb +1 -1
  44. data/lib/appsignal/hooks/redis.rb +1 -1
  45. data/lib/appsignal/hooks/resque.rb +1 -1
  46. data/lib/appsignal/hooks/shoryuken.rb +2 -4
  47. data/lib/appsignal/hooks/sidekiq.rb +1 -1
  48. data/lib/appsignal/hooks/unicorn.rb +2 -2
  49. data/lib/appsignal/hooks/webmachine.rb +1 -1
  50. data/lib/appsignal/hooks.rb +2 -2
  51. data/lib/appsignal/integrations/active_support_notifications.rb +1 -1
  52. data/lib/appsignal/integrations/capistrano/appsignal.cap +6 -3
  53. data/lib/appsignal/integrations/capistrano/capistrano_2_tasks.rb +5 -4
  54. data/lib/appsignal/integrations/delayed_job_plugin.rb +3 -5
  55. data/lib/appsignal/integrations/grape.rb +1 -1
  56. data/lib/appsignal/integrations/hanami.rb +1 -1
  57. data/lib/appsignal/integrations/object.rb +2 -3
  58. data/lib/appsignal/integrations/padrino.rb +2 -4
  59. data/lib/appsignal/integrations/que.rb +6 -6
  60. data/lib/appsignal/integrations/railtie.rb +72 -0
  61. data/lib/appsignal/integrations/sidekiq.rb +9 -11
  62. data/lib/appsignal/integrations/sinatra.rb +1 -3
  63. data/lib/appsignal/integrations/webmachine.rb +4 -6
  64. data/lib/appsignal/logger.rb +31 -6
  65. data/lib/appsignal/marker.rb +4 -5
  66. data/lib/appsignal/minutely.rb +7 -7
  67. data/lib/appsignal/probes/gvl.rb +9 -4
  68. data/lib/appsignal/probes/helpers.rb +4 -6
  69. data/lib/appsignal/probes/mri.rb +7 -5
  70. data/lib/appsignal/probes/sidekiq.rb +3 -0
  71. data/lib/appsignal/probes.rb +2 -0
  72. data/lib/appsignal/rack/generic_instrumentation.rb +1 -5
  73. data/lib/appsignal/rack/sinatra_instrumentation.rb +3 -5
  74. data/lib/appsignal/rack/streaming_listener.rb +11 -13
  75. data/lib/appsignal/span.rb +5 -5
  76. data/lib/appsignal/system.rb +10 -11
  77. data/lib/appsignal/transaction.rb +49 -25
  78. data/lib/appsignal/transmitter.rb +4 -2
  79. data/lib/appsignal/utils/deprecation_message.rb +2 -0
  80. data/lib/appsignal/utils/hash_sanitizer.rb +1 -1
  81. data/lib/appsignal/utils/integration_logger.rb +5 -3
  82. data/lib/appsignal/utils/json.rb +1 -1
  83. data/lib/appsignal/utils/query_params_sanitizer.rb +1 -1
  84. data/lib/appsignal/version.rb +1 -1
  85. data/lib/appsignal.rb +5 -4
  86. data/lib/puma/plugin/appsignal.rb +16 -18
  87. data/script/lint_git +1 -1
  88. data/spec/lib/appsignal/capistrano2_spec.rb +6 -3
  89. data/spec/lib/appsignal/capistrano3_spec.rb +6 -3
  90. data/spec/lib/appsignal/cli/diagnose/utils_spec.rb +1 -3
  91. data/spec/lib/appsignal/cli/diagnose_spec.rb +33 -30
  92. data/spec/lib/appsignal/cli/install_spec.rb +5 -6
  93. data/spec/lib/appsignal/cli_spec.rb +1 -1
  94. data/spec/lib/appsignal/config_spec.rb +43 -37
  95. data/spec/lib/appsignal/event_formatter/action_view/render_formatter_spec.rb +11 -5
  96. data/spec/lib/appsignal/event_formatter/elastic_search/search_formatter_spec.rb +4 -4
  97. data/spec/lib/appsignal/event_formatter/mongo_ruby_driver/query_formatter_spec.rb +1 -4
  98. data/spec/lib/appsignal/event_formatter_spec.rb +11 -9
  99. data/spec/lib/appsignal/hooks/action_cable_spec.rb +5 -2
  100. data/spec/lib/appsignal/hooks/action_mailer_spec.rb +2 -1
  101. data/spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb +1 -1
  102. data/spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb +1 -1
  103. data/spec/lib/appsignal/hooks/activejob_spec.rb +21 -12
  104. data/spec/lib/appsignal/hooks/data_mapper_spec.rb +1 -0
  105. data/spec/lib/appsignal/hooks/delayed_job_spec.rb +12 -12
  106. data/spec/lib/appsignal/hooks/excon_spec.rb +2 -2
  107. data/spec/lib/appsignal/hooks/mongo_ruby_driver_spec.rb +3 -1
  108. data/spec/lib/appsignal/hooks/shoryuken_spec.rb +4 -2
  109. data/spec/lib/appsignal/hooks/sidekiq_spec.rb +2 -1
  110. data/spec/lib/appsignal/hooks_spec.rb +5 -4
  111. data/spec/lib/appsignal/integrations/grape_spec.rb +8 -4
  112. data/spec/lib/appsignal/integrations/hanami_spec.rb +16 -8
  113. data/spec/lib/appsignal/integrations/mongo_ruby_driver_spec.rb +2 -4
  114. data/spec/lib/appsignal/integrations/object_spec.rb +6 -1
  115. data/spec/lib/appsignal/integrations/padrino_spec.rb +4 -2
  116. data/spec/lib/appsignal/integrations/railtie_spec.rb +213 -6
  117. data/spec/lib/appsignal/integrations/sidekiq_spec.rb +54 -41
  118. data/spec/lib/appsignal/logger_spec.rb +20 -4
  119. data/spec/lib/appsignal/marker_spec.rb +2 -2
  120. data/spec/lib/appsignal/minutely_spec.rb +3 -3
  121. data/spec/lib/appsignal/probes/gvl_spec.rb +60 -12
  122. data/spec/lib/appsignal/probes/mri_spec.rb +7 -4
  123. data/spec/lib/appsignal/rack/generic_instrumentation_spec.rb +2 -1
  124. data/spec/lib/appsignal/rack/rails_instrumentation_spec.rb +2 -1
  125. data/spec/lib/appsignal/rack/sinatra_instrumentation_spec.rb +10 -5
  126. data/spec/lib/appsignal/rack/streaming_listener_spec.rb +7 -5
  127. data/spec/lib/appsignal/transaction_spec.rb +20 -13
  128. data/spec/lib/appsignal/utils/data_spec.rb +10 -1
  129. data/spec/lib/appsignal/utils/hash_sanitizer_spec.rb +11 -11
  130. data/spec/lib/appsignal/utils/json_spec.rb +4 -2
  131. data/spec/lib/appsignal_spec.rb +49 -35
  132. data/spec/lib/puma/appsignal_spec.rb +9 -11
  133. data/spec/spec_helper.rb +14 -2
  134. data/spec/support/fixtures/projects/valid/config/appsignal.yml +1 -1
  135. data/spec/support/helpers/config_helpers.rb +2 -1
  136. data/spec/support/helpers/dependency_helper.rb +1 -9
  137. data/spec/support/helpers/std_streams_helper.rb +1 -3
  138. data/spec/support/helpers/wait_for_helper.rb +2 -3
  139. data/spec/support/mocks/appsignal_mock.rb +1 -1
  140. data/spec/support/mocks/fake_gvl_tools.rb +2 -10
  141. data/spec/support/testing.rb +4 -3
  142. metadata +9 -135
@@ -38,16 +38,14 @@ RSpec.describe "Puma plugin" do
38
38
  @socket.bind("127.0.0.1", 8125)
39
39
 
40
40
  loop do
41
- begin
42
- # Listen for messages and track them on the messages Array.
43
- packet = @socket.recvfrom(1024)
44
- track_message packet.first
45
- rescue Errno::EBADF # rubocop:disable Lint/HandleExceptions
46
- # Ignore error for JRuby 9.1.17.0 specifically, it doesn't appear to
47
- # happen on 9.2.18.0. It doesn't break the tests themselves, ignoring
48
- # this error. It's probably a timing issue where it tries to read
49
- # from the socket after it's closed.
50
- end
41
+ # Listen for messages and track them on the messages Array.
42
+ packet = @socket.recvfrom(1024)
43
+ track_message packet.first
44
+ rescue Errno::EBADF
45
+ # Ignore error for JRuby 9.1.17.0 specifically, it doesn't appear to
46
+ # happen on 9.2.18.0. It doesn't break the tests themselves, ignoring
47
+ # this error. It's probably a timing issue where it tries to read
48
+ # from the socket after it's closed.
51
49
  end
52
50
  end
53
51
 
@@ -161,7 +159,7 @@ RSpec.describe "Puma plugin" do
161
159
  metric, type, tags_string = message.split("|")
162
160
  metric_name, metric_value = metric.split(":")
163
161
  tags = {}
164
- tags_string[1..-1].split(",").each do |tag|
162
+ tags_string[1..].split(",").each do |tag|
165
163
  key, value = tag.split(":")
166
164
  tags[key] = value
167
165
  end
data/spec/spec_helper.rb CHANGED
@@ -70,6 +70,7 @@ RSpec.configure do |config|
70
70
 
71
71
  config.example_status_persistence_file_path = "spec/examples.txt"
72
72
  config.fail_if_no_examples = true
73
+ config.exclude_pattern = "spec/integration/diagnose/**/*_spec.rb"
73
74
  config.filter_run_excluding(
74
75
  :extension_installation_failure => true,
75
76
  :jruby => !DependencyHelper.running_jruby?
@@ -120,6 +121,17 @@ RSpec.configure do |config|
120
121
 
121
122
  # Stub system_tmp_dir to something in the project dir for specs
122
123
  allow(Appsignal::Config).to receive(:system_tmp_dir).and_return(spec_system_tmp_dir)
124
+
125
+ # Unsubscribe Rails error reporter if present to avoid it reporting errors
126
+ # multiple times through multiple subscriptions.
127
+ if defined?(Rails) && Rails.respond_to?(:error)
128
+ if Rails.error.respond_to?(:unsubscribe) # Future Rails version after 7.0.4.3
129
+ Rails.error.unsubscribe(Appsignal::Integrations::RailsErrorReporterSubscriber)
130
+ else
131
+ Rails.error.instance_variable_get(:@subscribers)
132
+ .delete(Appsignal::Integrations::RailsErrorReporterSubscriber)
133
+ end
134
+ end
123
135
  end
124
136
 
125
137
  # These tests are not run by default. They require a failed extension
@@ -139,7 +151,7 @@ RSpec.configure do |config|
139
151
  next if Appsignal.extension_loaded?
140
152
  next if example.metadata[:extension_installation_failure]
141
153
 
142
- puts "\nWARNING: The AppSignal extension is not loaded, please run the "\
154
+ puts "\nWARNING: The AppSignal extension is not loaded, please run the " \
143
155
  "following task and rerun the test." \
144
156
  "\n\n rake extension:install\n"
145
157
  end
@@ -164,6 +176,6 @@ RSpec.configure do |config|
164
176
  nil
165
177
  end
166
178
  Appsignal::Minutely.stop
167
- thread && thread.join # Wait for old thread to exit
179
+ thread&.join # Wait for old thread to exit
168
180
  end
169
181
  end
@@ -21,7 +21,7 @@ development:
21
21
  test:
22
22
  <<: *defaults
23
23
  endpoint: "http://localhost:3000"
24
- debug: true
24
+ log_level: debug
25
25
  active: true
26
26
 
27
27
  old_config:
@@ -5,7 +5,8 @@ module ConfigHelpers
5
5
  )
6
6
  end
7
7
 
8
- def project_fixture_config(env = "production", initial_config = {}, logger = Appsignal.logger, config_file = nil)
8
+ def project_fixture_config(env = "production", initial_config = {}, logger = Appsignal.logger, # rubocop:disable Metrics/ParameterLists
9
+ config_file = nil)
9
10
  Appsignal::Config.new(
10
11
  project_fixture_path,
11
12
  env,
@@ -5,14 +5,6 @@ module DependencyHelper
5
5
  Gem::Version.new(RUBY_VERSION)
6
6
  end
7
7
 
8
- def running_ruby_2_0?
9
- ruby_version.segments.take(2) == [2, 0]
10
- end
11
-
12
- def ruby_3_0_or_newer?
13
- ruby_version >= Gem::Version.new("3.0.0")
14
- end
15
-
16
8
  def ruby_3_1_or_newer?
17
9
  ruby_version >= Gem::Version.new("3.1.0")
18
10
  end
@@ -124,7 +116,7 @@ module DependencyHelper
124
116
  end
125
117
 
126
118
  def hanami2_present?
127
- ruby_3_0_or_newer? && hanami_present? && Gem.loaded_specs["hanami"].version >= Gem::Version.new("2.0")
119
+ hanami_present? && Gem.loaded_specs["hanami"].version >= Gem::Version.new("2.0")
128
120
  end
129
121
 
130
122
  def dependency_present?(dependency_file)
@@ -76,9 +76,7 @@ module StdStreamsHelper
76
76
  capture_std_streams(stream, stream, &block)
77
77
  ensure
78
78
  output = filter_allowed_errors(stream.read, options.fetch(:allowed, []))
79
- if output =~ /(ERR|Error|error)/
80
- raise "Error found in silenced output:\n#{output}"
81
- end
79
+ raise "Error found in silenced output:\n#{output}" if output =~ /(ERR|Error|error)/
82
80
  end
83
81
 
84
82
  def filter_allowed_errors(output, allowed_errors)
@@ -31,10 +31,9 @@ module WaitForHelper
31
31
  end
32
32
 
33
33
  return unless i >= max_wait
34
+
34
35
  error_message =
35
- if error
36
- "\nError: #{error.class}: #{error.message}\n#{error.backtrace.join("\n")}"
37
- end
36
+ ("\nError: #{error.class}: #{error.message}\n#{error.backtrace.join("\n")}" if error)
38
37
  raise "Waited 5 seconds for #{name} condition, but was not met.#{error_message}"
39
38
  end
40
39
  end
@@ -12,7 +12,7 @@ class AppsignalMock
12
12
  end
13
13
  end
14
14
 
15
- def set_gauge(*args) # rubocop:disable Naming/AccessorMethodName
15
+ def set_gauge(*args)
16
16
  @gauges << args
17
17
  end
18
18
  end
@@ -1,32 +1,24 @@
1
1
  module FakeGVLTools
2
2
  def self.reset
3
- self::GlobalTimer.enabled = false
4
3
  self::GlobalTimer.monotonic_time = 0
5
- self::WaitingThreads.enabled = false
6
4
  self::WaitingThreads.count = 0
7
5
  end
8
6
 
9
7
  module GlobalTimer
10
- @enabled = false
11
8
  @monotonic_time = 0
12
9
 
13
10
  class << self
14
- attr_writer :enabled
15
11
  attr_accessor :monotonic_time
16
-
17
- def enabled?
18
- @enabled
19
- end
20
12
  end
21
13
  end
22
14
 
23
15
  module WaitingThreads
24
- @enabled = false
25
16
  @count = 0
17
+ @enabled = false
26
18
 
27
19
  class << self
28
- attr_writer :enabled
29
20
  attr_accessor :count
21
+ attr_writer :enabled
30
22
 
31
23
  def enabled?
32
24
  @enabled
@@ -1,6 +1,7 @@
1
1
  module Appsignal
2
2
  class << self
3
3
  attr_writer :testing
4
+
4
5
  remove_method :testing?
5
6
 
6
7
  # @api private
@@ -29,13 +30,13 @@ module Appsignal
29
30
  transactions.clear
30
31
  end
31
32
 
32
- attr_writer :keep_transactions
33
+ attr_writer :keep_transactions, :sample_transactions
34
+
33
35
  # @see TransactionHelpers#keep_transactions
34
36
  def keep_transactions?
35
37
  defined?(@keep_transactions) ? @keep_transactions : nil
36
38
  end
37
39
 
38
- attr_writer :sample_transactions
39
40
  # @see TransactionHelpers#keep_transactions
40
41
  def sample_transactions?
41
42
  sample = defined?(@sample_transactions) ? @sample_transactions : nil
@@ -106,7 +107,7 @@ module Appsignal
106
107
  # completed.
107
108
  #
108
109
  # @see TransactionHelpers#keep_transactions
109
- def to_json
110
+ def to_json # rubocop:disable Lint/ToJSON
110
111
  if defined? @transaction_json
111
112
  @transaction_json
112
113
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appsignal
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.0
4
+ version: 3.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-04-04 00:00:00.000000000 Z
13
+ date: 2023-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
@@ -72,16 +72,16 @@ dependencies:
72
72
  name: rubocop
73
73
  requirement: !ruby/object:Gem::Requirement
74
74
  requirements:
75
- - - ">="
75
+ - - '='
76
76
  - !ruby/object:Gem::Version
77
- version: '0'
77
+ version: 1.50.0
78
78
  type: :development
79
79
  prerelease: false
80
80
  version_requirements: !ruby/object:Gem::Requirement
81
81
  requirements:
82
- - - ">="
82
+ - - '='
83
83
  - !ruby/object:Gem::Version
84
- version: '0'
84
+ version: 1.50.0
85
85
  - !ruby/object:Gem::Dependency
86
86
  name: timecop
87
87
  requirement: !ruby/object:Gem::Requirement
@@ -153,6 +153,7 @@ files:
153
153
  - benchmark.rake
154
154
  - bin/appsignal
155
155
  - build_matrix.yml
156
+ - ext/._appsignal-agent
156
157
  - ext/Rakefile
157
158
  - ext/agent.rb
158
159
  - ext/appsignal_extension.c
@@ -438,135 +439,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
438
439
  - !ruby/object:Gem::Version
439
440
  version: '0'
440
441
  requirements: []
441
- rubygems_version: 3.4.10
442
+ rubygems_version: 3.4.11
442
443
  signing_key:
443
444
  specification_version: 4
444
445
  summary: Logs performance and exception data from your app to appsignal.com
445
- test_files:
446
- - spec/.rubocop.yml
447
- - spec/lib/appsignal/auth_check_spec.rb
448
- - spec/lib/appsignal/capistrano2_spec.rb
449
- - spec/lib/appsignal/capistrano3_spec.rb
450
- - spec/lib/appsignal/cli/demo_spec.rb
451
- - spec/lib/appsignal/cli/diagnose/paths_spec.rb
452
- - spec/lib/appsignal/cli/diagnose/utils_spec.rb
453
- - spec/lib/appsignal/cli/diagnose_spec.rb
454
- - spec/lib/appsignal/cli/helpers_spec.rb
455
- - spec/lib/appsignal/cli/install_spec.rb
456
- - spec/lib/appsignal/cli_spec.rb
457
- - spec/lib/appsignal/config_spec.rb
458
- - spec/lib/appsignal/demo_spec.rb
459
- - spec/lib/appsignal/environment_spec.rb
460
- - spec/lib/appsignal/event_formatter/action_view/render_formatter_spec.rb
461
- - spec/lib/appsignal/event_formatter/active_record/instantiation_formatter_spec.rb
462
- - spec/lib/appsignal/event_formatter/active_record/sql_formatter_spec.rb
463
- - spec/lib/appsignal/event_formatter/elastic_search/search_formatter_spec.rb
464
- - spec/lib/appsignal/event_formatter/faraday/request_formatter_spec.rb
465
- - spec/lib/appsignal/event_formatter/mongo_ruby_driver/query_formatter_spec.rb
466
- - spec/lib/appsignal/event_formatter/sequel/sql_formatter_spec.rb
467
- - spec/lib/appsignal/event_formatter_spec.rb
468
- - spec/lib/appsignal/extension/jruby_spec.rb
469
- - spec/lib/appsignal/extension_install_failure_spec.rb
470
- - spec/lib/appsignal/extension_spec.rb
471
- - spec/lib/appsignal/garbage_collection_spec.rb
472
- - spec/lib/appsignal/hooks/action_cable_spec.rb
473
- - spec/lib/appsignal/hooks/action_mailer_spec.rb
474
- - spec/lib/appsignal/hooks/active_support_notifications/finish_with_state_shared_examples.rb
475
- - spec/lib/appsignal/hooks/active_support_notifications/instrument_shared_examples.rb
476
- - spec/lib/appsignal/hooks/active_support_notifications/start_finish_shared_examples.rb
477
- - spec/lib/appsignal/hooks/active_support_notifications_spec.rb
478
- - spec/lib/appsignal/hooks/activejob_spec.rb
479
- - spec/lib/appsignal/hooks/celluloid_spec.rb
480
- - spec/lib/appsignal/hooks/data_mapper_spec.rb
481
- - spec/lib/appsignal/hooks/delayed_job_spec.rb
482
- - spec/lib/appsignal/hooks/excon_spec.rb
483
- - spec/lib/appsignal/hooks/gvl_spec.rb
484
- - spec/lib/appsignal/hooks/http_spec.rb
485
- - spec/lib/appsignal/hooks/mongo_ruby_driver_spec.rb
486
- - spec/lib/appsignal/hooks/mri_spec.rb
487
- - spec/lib/appsignal/hooks/net_http_spec.rb
488
- - spec/lib/appsignal/hooks/passenger_spec.rb
489
- - spec/lib/appsignal/hooks/puma_spec.rb
490
- - spec/lib/appsignal/hooks/que_spec.rb
491
- - spec/lib/appsignal/hooks/rake_spec.rb
492
- - spec/lib/appsignal/hooks/redis_spec.rb
493
- - spec/lib/appsignal/hooks/resque_spec.rb
494
- - spec/lib/appsignal/hooks/sequel_spec.rb
495
- - spec/lib/appsignal/hooks/shoryuken_spec.rb
496
- - spec/lib/appsignal/hooks/sidekiq_spec.rb
497
- - spec/lib/appsignal/hooks/unicorn_spec.rb
498
- - spec/lib/appsignal/hooks/webmachine_spec.rb
499
- - spec/lib/appsignal/hooks_spec.rb
500
- - spec/lib/appsignal/integrations/data_mapper_spec.rb
501
- - spec/lib/appsignal/integrations/grape_spec.rb
502
- - spec/lib/appsignal/integrations/hanami_spec.rb
503
- - spec/lib/appsignal/integrations/http_spec.rb
504
- - spec/lib/appsignal/integrations/mongo_ruby_driver_spec.rb
505
- - spec/lib/appsignal/integrations/object_spec.rb
506
- - spec/lib/appsignal/integrations/padrino_spec.rb
507
- - spec/lib/appsignal/integrations/que_spec.rb
508
- - spec/lib/appsignal/integrations/railtie_spec.rb
509
- - spec/lib/appsignal/integrations/sidekiq_spec.rb
510
- - spec/lib/appsignal/integrations/sinatra_spec.rb
511
- - spec/lib/appsignal/integrations/webmachine_spec.rb
512
- - spec/lib/appsignal/logger_spec.rb
513
- - spec/lib/appsignal/marker_spec.rb
514
- - spec/lib/appsignal/minutely_spec.rb
515
- - spec/lib/appsignal/probes/gvl_spec.rb
516
- - spec/lib/appsignal/probes/mri_spec.rb
517
- - spec/lib/appsignal/probes/sidekiq_spec.rb
518
- - spec/lib/appsignal/rack/generic_instrumentation_spec.rb
519
- - spec/lib/appsignal/rack/rails_instrumentation_spec.rb
520
- - spec/lib/appsignal/rack/sinatra_instrumentation_spec.rb
521
- - spec/lib/appsignal/rack/streaming_listener_spec.rb
522
- - spec/lib/appsignal/span_spec.rb
523
- - spec/lib/appsignal/system_spec.rb
524
- - spec/lib/appsignal/transaction_spec.rb
525
- - spec/lib/appsignal/transmitter_spec.rb
526
- - spec/lib/appsignal/utils/data_spec.rb
527
- - spec/lib/appsignal/utils/hash_sanitizer_spec.rb
528
- - spec/lib/appsignal/utils/integration_logger_spec.rb
529
- - spec/lib/appsignal/utils/json_spec.rb
530
- - spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
531
- - spec/lib/appsignal_spec.rb
532
- - spec/lib/puma/appsignal_spec.rb
533
- - spec/spec_helper.rb
534
- - spec/support/fixtures/generated_config.yml
535
- - spec/support/fixtures/projects/broken/config/appsignal.yml
536
- - spec/support/fixtures/projects/valid/config/application.rb
537
- - spec/support/fixtures/projects/valid/config/appsignal.yml
538
- - spec/support/fixtures/projects/valid/config/environments/development.rb
539
- - spec/support/fixtures/projects/valid/config/environments/production.rb
540
- - spec/support/fixtures/projects/valid/config/environments/test.rb
541
- - spec/support/fixtures/projects/valid/log/.gitkeep
542
- - spec/support/fixtures/uploaded_file.txt
543
- - spec/support/hanami/hanami_app.rb
544
- - spec/support/helpers/action_mailer_helpers.rb
545
- - spec/support/helpers/activejob_helpers.rb
546
- - spec/support/helpers/api_request_helper.rb
547
- - spec/support/helpers/cli_helpers.rb
548
- - spec/support/helpers/config_helpers.rb
549
- - spec/support/helpers/dependency_helper.rb
550
- - spec/support/helpers/directory_helper.rb
551
- - spec/support/helpers/env_helpers.rb
552
- - spec/support/helpers/environment_metdata_helper.rb
553
- - spec/support/helpers/example_exception.rb
554
- - spec/support/helpers/example_standard_error.rb
555
- - spec/support/helpers/log_helpers.rb
556
- - spec/support/helpers/std_streams_helper.rb
557
- - spec/support/helpers/system_helpers.rb
558
- - spec/support/helpers/time_helpers.rb
559
- - spec/support/helpers/transaction_helpers.rb
560
- - spec/support/helpers/wait_for_helper.rb
561
- - spec/support/matchers/be_completed.rb
562
- - spec/support/matchers/contains_log.rb
563
- - spec/support/matchers/have_colorized_text.rb
564
- - spec/support/mocks/appsignal_mock.rb
565
- - spec/support/mocks/fake_gc_profiler.rb
566
- - spec/support/mocks/fake_gvl_tools.rb
567
- - spec/support/mocks/mock_probe.rb
568
- - spec/support/rails/my_app.rb
569
- - spec/support/shared_examples/instrument.rb
570
- - spec/support/stubs/delayed_job.rb
571
- - spec/support/stubs/sidekiq/api.rb
572
- - spec/support/testing.rb
446
+ test_files: []