appsignal 2.8.4.beta.1 → 2.9.18.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/ISSUE_TEMPLATE/bug_report.md +31 -0
- data/.github/ISSUE_TEMPLATE/chore.md +14 -0
- data/.gitignore +2 -3
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +7 -16
- data/.travis.yml +28 -27
- data/CHANGELOG.md +657 -533
- data/README.md +31 -3
- data/Rakefile +128 -129
- data/SUPPORT.md +16 -0
- data/appsignal.gemspec +17 -4
- data/build_matrix.yml +21 -9
- data/ext/Rakefile +23 -17
- data/ext/agent.yml +40 -37
- data/ext/base.rb +116 -31
- data/ext/extconf.rb +34 -28
- data/gemfiles/capistrano2.gemfile +5 -0
- data/gemfiles/capistrano3.gemfile +5 -0
- data/gemfiles/grape.gemfile +5 -0
- data/gemfiles/no_dependencies.gemfile +5 -0
- data/gemfiles/padrino.gemfile +5 -0
- data/gemfiles/que.gemfile +5 -0
- data/gemfiles/que_beta.gemfile +10 -0
- data/gemfiles/rails-3.2.gemfile +5 -0
- data/gemfiles/rails-4.0.gemfile +5 -0
- data/gemfiles/rails-4.1.gemfile +5 -0
- data/gemfiles/rails-4.2.gemfile +5 -0
- data/gemfiles/rails-6.0.gemfile +5 -0
- data/gemfiles/resque.gemfile +5 -0
- data/lib/appsignal.rb +14 -492
- data/lib/appsignal/cli/demo.rb +5 -2
- data/lib/appsignal/cli/diagnose.rb +84 -4
- data/lib/appsignal/cli/diagnose/paths.rb +0 -5
- data/lib/appsignal/cli/diagnose/utils.rb +19 -0
- data/lib/appsignal/cli/helpers.rb +6 -0
- data/lib/appsignal/cli/install.rb +45 -15
- data/lib/appsignal/cli/notify_of_deploy.rb +10 -0
- data/lib/appsignal/config.rb +1 -2
- data/lib/appsignal/event_formatter.rb +4 -5
- data/lib/appsignal/event_formatter/action_view/render_formatter.rb +10 -8
- data/lib/appsignal/event_formatter/moped/query_formatter.rb +60 -59
- data/lib/appsignal/extension.rb +2 -2
- data/lib/appsignal/helpers/instrumentation.rb +494 -0
- data/lib/appsignal/helpers/metrics.rb +54 -0
- data/lib/appsignal/hooks.rb +11 -8
- data/lib/appsignal/hooks/active_support_notifications.rb +2 -5
- data/lib/appsignal/hooks/puma.rb +74 -11
- data/lib/appsignal/hooks/sequel.rb +1 -1
- data/lib/appsignal/hooks/sidekiq.rb +115 -0
- data/lib/appsignal/integrations/mongo_ruby_driver.rb +7 -0
- data/lib/appsignal/integrations/que.rb +9 -8
- data/lib/appsignal/integrations/railtie.rb +2 -1
- data/lib/appsignal/marker.rb +2 -3
- data/lib/appsignal/minutely.rb +188 -19
- data/lib/appsignal/rack/sinatra_instrumentation.rb +1 -1
- data/lib/appsignal/system.rb +16 -18
- data/lib/appsignal/transaction.rb +8 -0
- data/lib/appsignal/utils/rails_helper.rb +20 -0
- data/lib/appsignal/version.rb +1 -1
- data/lib/puma/plugin/appsignal.rb +26 -0
- data/spec/lib/appsignal/cli/diagnose/utils_spec.rb +40 -0
- data/spec/lib/appsignal/cli/diagnose_spec.rb +129 -22
- data/spec/lib/appsignal/cli/install_spec.rb +57 -8
- data/spec/lib/appsignal/cli/notify_of_deploy_spec.rb +10 -0
- data/spec/lib/appsignal/config_spec.rb +13 -11
- data/spec/lib/appsignal/event_formatter/action_view/render_formatter_spec.rb +38 -28
- data/spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb +6 -0
- data/spec/lib/appsignal/event_formatter_spec.rb +168 -69
- data/spec/lib/appsignal/hooks/active_support_notifications_spec.rb +104 -25
- data/spec/lib/appsignal/hooks/puma_spec.rb +251 -34
- data/spec/lib/appsignal/hooks/sidekiq_spec.rb +209 -0
- data/spec/lib/appsignal/hooks_spec.rb +4 -0
- data/spec/lib/appsignal/integrations/mongo_ruby_driver_spec.rb +24 -1
- data/spec/lib/appsignal/minutely_spec.rb +318 -26
- data/spec/lib/appsignal/system_spec.rb +0 -35
- data/spec/lib/appsignal/transaction_spec.rb +68 -10
- data/spec/lib/appsignal/utils/hash_sanitizer_spec.rb +39 -31
- data/spec/lib/appsignal/utils/json_spec.rb +7 -3
- data/spec/lib/appsignal_spec.rb +98 -22
- data/spec/lib/puma/appsignal_spec.rb +91 -0
- data/spec/spec_helper.rb +13 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/application.rb +0 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/appsignal.yml +1 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/development.rb +0 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/production.rb +0 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/test.rb +0 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/log/.gitkeep +0 -0
- data/spec/support/helpers/config_helpers.rb +1 -1
- data/spec/support/helpers/log_helpers.rb +6 -0
- data/spec/support/helpers/wait_for_helper.rb +28 -0
- data/spec/support/mocks/mock_probe.rb +11 -0
- data/spec/support/stubs/sidekiq/api.rb +4 -0
- metadata +43 -31
- data/spec/support/fixtures/containers/cgroups/docker +0 -14
- data/spec/support/fixtures/containers/cgroups/docker_systemd +0 -8
- data/spec/support/fixtures/containers/cgroups/lxc +0 -10
- data/spec/support/fixtures/containers/cgroups/no_permission +0 -0
- data/spec/support/fixtures/containers/cgroups/none +0 -1
@@ -0,0 +1,91 @@
|
|
1
|
+
RSpec.describe "Puma plugin" do
|
2
|
+
include WaitForHelper
|
3
|
+
|
4
|
+
class MockPumaLauncher
|
5
|
+
def events
|
6
|
+
return @events if defined?(@events)
|
7
|
+
|
8
|
+
@events = MockPumaEvents.new
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
class MockPumaEvents
|
13
|
+
def on_booted(&block)
|
14
|
+
@on_booted = block if block_given?
|
15
|
+
@on_booted if defined?(@on_booted)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
19
|
+
let(:probe) { MockProbe.new }
|
20
|
+
let(:launcher) { MockPumaLauncher.new }
|
21
|
+
before do
|
22
|
+
module Puma
|
23
|
+
def self.stats
|
24
|
+
end
|
25
|
+
|
26
|
+
class Plugin
|
27
|
+
class << self
|
28
|
+
attr_reader :plugin
|
29
|
+
|
30
|
+
def create(&block)
|
31
|
+
@plugin = Class.new(::Puma::Plugin)
|
32
|
+
@plugin.class_eval(&block)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
Appsignal::Minutely.probes.clear
|
39
|
+
ENV["APPSIGNAL_ENABLE_MINUTELY_PROBES"] = "true"
|
40
|
+
Appsignal.config = project_fixture_config
|
41
|
+
# Speed up test time
|
42
|
+
allow(Appsignal::Minutely).to receive(:initial_wait_time).and_return(0.001)
|
43
|
+
allow(Appsignal::Minutely).to receive(:wait_time).and_return(0.001)
|
44
|
+
|
45
|
+
Appsignal::Minutely.probes.register :my_probe, probe
|
46
|
+
load File.expand_path("../lib/puma/plugin/appsignal.rb", APPSIGNAL_SPEC_DIR)
|
47
|
+
end
|
48
|
+
after do
|
49
|
+
Appsignal.config = nil
|
50
|
+
Object.send :remove_const, :Puma
|
51
|
+
Object.send :remove_const, :APPSIGNAL_PUMA_PLUGIN_LOADED
|
52
|
+
end
|
53
|
+
|
54
|
+
it "registers the PumaProbe" do
|
55
|
+
expect(Appsignal::Minutely.probes[:my_probe]).to eql(probe)
|
56
|
+
expect(Appsignal::Minutely.probes[:puma]).to be_nil
|
57
|
+
plugin = Puma::Plugin.plugin.new
|
58
|
+
expect(launcher.events.on_booted).to be_nil
|
59
|
+
|
60
|
+
plugin.start(launcher)
|
61
|
+
expect(Appsignal::Minutely.probes[:puma]).to be_nil
|
62
|
+
expect(launcher.events.on_booted).to_not be_nil
|
63
|
+
|
64
|
+
launcher.events.on_booted.call
|
65
|
+
expect(Appsignal::Minutely.probes[:puma]).to eql(Appsignal::Hooks::PumaProbe)
|
66
|
+
|
67
|
+
# Minutely probes started and called
|
68
|
+
wait_for("enough probe calls") { probe.calls >= 2 }
|
69
|
+
end
|
70
|
+
|
71
|
+
context "without Puma.stats" do
|
72
|
+
before { Puma.singleton_class.send(:remove_method, :stats) }
|
73
|
+
|
74
|
+
it "does not register the PumaProbe" do
|
75
|
+
expect(Appsignal::Minutely.probes[:my_probe]).to eql(probe)
|
76
|
+
expect(Appsignal::Minutely.probes[:puma]).to be_nil
|
77
|
+
plugin = Puma::Plugin.plugin.new
|
78
|
+
expect(launcher.events.on_booted).to be_nil
|
79
|
+
|
80
|
+
plugin.start(launcher)
|
81
|
+
expect(Appsignal::Minutely.probes[:puma]).to be_nil
|
82
|
+
expect(launcher.events.on_booted).to_not be_nil
|
83
|
+
|
84
|
+
launcher.events.on_booted.call
|
85
|
+
expect(Appsignal::Minutely.probes[:puma]).to be_nil
|
86
|
+
|
87
|
+
# Minutely probes started and called
|
88
|
+
wait_for("enough probe calls") { probe.calls >= 2 }
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -83,6 +83,7 @@ RSpec.configure do |config|
|
|
83
83
|
end
|
84
84
|
|
85
85
|
config.before do
|
86
|
+
stop_minutely_probes
|
86
87
|
ENV["RAILS_ENV"] ||= "test"
|
87
88
|
ENV["RACK_ENV"] ||= "test"
|
88
89
|
ENV["PADRINO_ENV"] ||= "test"
|
@@ -114,6 +115,7 @@ RSpec.configure do |config|
|
|
114
115
|
|
115
116
|
config.after do
|
116
117
|
Thread.current[:appsignal_transaction] = nil
|
118
|
+
stop_minutely_probes
|
117
119
|
end
|
118
120
|
|
119
121
|
config.after :context do
|
@@ -121,4 +123,15 @@ RSpec.configure do |config|
|
|
121
123
|
Appsignal.config = nil
|
122
124
|
Appsignal.logger = nil
|
123
125
|
end
|
126
|
+
|
127
|
+
def stop_minutely_probes
|
128
|
+
thread =
|
129
|
+
begin
|
130
|
+
Appsignal::Minutely.class_variable_get(:@@thread) # Fetch old thread
|
131
|
+
rescue NameError
|
132
|
+
nil
|
133
|
+
end
|
134
|
+
Appsignal::Minutely.stop
|
135
|
+
thread && thread.join # Wait for old thread to exit
|
136
|
+
end
|
124
137
|
end
|
File without changes
|
data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/development.rb
RENAMED
File without changes
|
data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/production.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module WaitForHelper
|
2
|
+
# Wait for a condition to be met
|
3
|
+
#
|
4
|
+
# @example
|
5
|
+
# # Perform threaded operation
|
6
|
+
# wait_for("enough probe calls") { probe.calls >= 2 }
|
7
|
+
# # Assert on result
|
8
|
+
#
|
9
|
+
# @param name [String] The name of the condition to check. Used in the
|
10
|
+
# error when it fails.
|
11
|
+
# @yield Assertion to check.
|
12
|
+
# @yieldreturn [Boolean] True/False value that indicates if the condition
|
13
|
+
# is met.
|
14
|
+
# @raise [StandardError] Raises error if the condition is not met after 5
|
15
|
+
# seconds, 5_000 tries.
|
16
|
+
def wait_for(name)
|
17
|
+
max_wait = 5_000
|
18
|
+
i = 0
|
19
|
+
while i <= max_wait
|
20
|
+
break if yield
|
21
|
+
i += 1
|
22
|
+
sleep 0.001
|
23
|
+
end
|
24
|
+
|
25
|
+
return unless i == max_wait
|
26
|
+
raise "Waited 5 seconds for #{name} condition, but was not met."
|
27
|
+
end
|
28
|
+
end
|
metadata
CHANGED
@@ -1,15 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.9.18.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
8
8
|
- Thijs Cadier
|
9
|
+
- Tom de Bruijn
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2019-
|
13
|
+
date: 2019-11-18 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: rack
|
@@ -45,14 +46,14 @@ dependencies:
|
|
45
46
|
requirements:
|
46
47
|
- - "~>"
|
47
48
|
- !ruby/object:Gem::Version
|
48
|
-
version: '3.
|
49
|
+
version: '3.8'
|
49
50
|
type: :development
|
50
51
|
prerelease: false
|
51
52
|
version_requirements: !ruby/object:Gem::Requirement
|
52
53
|
requirements:
|
53
54
|
- - "~>"
|
54
55
|
- !ruby/object:Gem::Version
|
55
|
-
version: '3.
|
56
|
+
version: '3.8'
|
56
57
|
- !ruby/object:Gem::Dependency
|
57
58
|
name: pry
|
58
59
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,14 +116,14 @@ dependencies:
|
|
115
116
|
requirements:
|
116
117
|
- - ">="
|
117
118
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
+
version: 0.9.20
|
119
120
|
type: :development
|
120
121
|
prerelease: false
|
121
122
|
version_requirements: !ruby/object:Gem::Requirement
|
122
123
|
requirements:
|
123
124
|
- - ">="
|
124
125
|
- !ruby/object:Gem::Version
|
125
|
-
version:
|
126
|
+
version: 0.9.20
|
126
127
|
description: The official appsignal.com gem
|
127
128
|
email:
|
128
129
|
- support@appsignal.com
|
@@ -132,6 +133,8 @@ extensions:
|
|
132
133
|
- ext/extconf.rb
|
133
134
|
extra_rdoc_files: []
|
134
135
|
files:
|
136
|
+
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
137
|
+
- ".github/ISSUE_TEMPLATE/chore.md"
|
135
138
|
- ".gitignore"
|
136
139
|
- ".rspec"
|
137
140
|
- ".rubocop.yml"
|
@@ -144,6 +147,7 @@ files:
|
|
144
147
|
- LICENSE
|
145
148
|
- README.md
|
146
149
|
- Rakefile
|
150
|
+
- SUPPORT.md
|
147
151
|
- appsignal.gemspec
|
148
152
|
- benchmark.rake
|
149
153
|
- bin/appsignal
|
@@ -159,6 +163,7 @@ files:
|
|
159
163
|
- gemfiles/no_dependencies.gemfile
|
160
164
|
- gemfiles/padrino.gemfile
|
161
165
|
- gemfiles/que.gemfile
|
166
|
+
- gemfiles/que_beta.gemfile
|
162
167
|
- gemfiles/rails-3.2.gemfile
|
163
168
|
- gemfiles/rails-4.0.gemfile
|
164
169
|
- gemfiles/rails-4.1.gemfile
|
@@ -166,6 +171,7 @@ files:
|
|
166
171
|
- gemfiles/rails-5.0.gemfile
|
167
172
|
- gemfiles/rails-5.1.gemfile
|
168
173
|
- gemfiles/rails-5.2.gemfile
|
174
|
+
- gemfiles/rails-6.0.gemfile
|
169
175
|
- gemfiles/resque.gemfile
|
170
176
|
- gemfiles/sequel-435.gemfile
|
171
177
|
- gemfiles/sequel.gemfile
|
@@ -195,6 +201,8 @@ files:
|
|
195
201
|
- lib/appsignal/extension.rb
|
196
202
|
- lib/appsignal/extension/jruby.rb
|
197
203
|
- lib/appsignal/garbage_collection_profiler.rb
|
204
|
+
- lib/appsignal/helpers/instrumentation.rb
|
205
|
+
- lib/appsignal/helpers/metrics.rb
|
198
206
|
- lib/appsignal/hooks.rb
|
199
207
|
- lib/appsignal/hooks/action_cable.rb
|
200
208
|
- lib/appsignal/hooks/active_support_notifications.rb
|
@@ -245,7 +253,9 @@ files:
|
|
245
253
|
- lib/appsignal/utils/hash_sanitizer.rb
|
246
254
|
- lib/appsignal/utils/json.rb
|
247
255
|
- lib/appsignal/utils/query_params_sanitizer.rb
|
256
|
+
- lib/appsignal/utils/rails_helper.rb
|
248
257
|
- lib/appsignal/version.rb
|
258
|
+
- lib/puma/plugin/appsignal.rb
|
249
259
|
- lib/sequel/extensions/appsignal_integration.rb
|
250
260
|
- resources/appsignal.yml.erb
|
251
261
|
- resources/cacert.pem
|
@@ -319,13 +329,15 @@ files:
|
|
319
329
|
- spec/lib/appsignal/utils/json_spec.rb
|
320
330
|
- spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
|
321
331
|
- spec/lib/appsignal_spec.rb
|
332
|
+
- spec/lib/puma/appsignal_spec.rb
|
322
333
|
- spec/spec_helper.rb
|
323
|
-
- spec/support/fixtures/containers/cgroups/docker
|
324
|
-
- spec/support/fixtures/containers/cgroups/docker_systemd
|
325
|
-
- spec/support/fixtures/containers/cgroups/lxc
|
326
|
-
- spec/support/fixtures/containers/cgroups/no_permission
|
327
|
-
- spec/support/fixtures/containers/cgroups/none
|
328
334
|
- spec/support/fixtures/generated_config.yml
|
335
|
+
- spec/support/fixtures/projects/valid/config/application.rb
|
336
|
+
- spec/support/fixtures/projects/valid/config/appsignal.yml
|
337
|
+
- spec/support/fixtures/projects/valid/config/environments/development.rb
|
338
|
+
- spec/support/fixtures/projects/valid/config/environments/production.rb
|
339
|
+
- spec/support/fixtures/projects/valid/config/environments/test.rb
|
340
|
+
- spec/support/fixtures/projects/valid/log/.gitkeep
|
329
341
|
- spec/support/fixtures/uploaded_file.txt
|
330
342
|
- spec/support/helpers/api_request_helper.rb
|
331
343
|
- spec/support/helpers/cli_helpers.rb
|
@@ -340,24 +352,26 @@ files:
|
|
340
352
|
- spec/support/helpers/system_helpers.rb
|
341
353
|
- spec/support/helpers/time_helpers.rb
|
342
354
|
- spec/support/helpers/transaction_helpers.rb
|
355
|
+
- spec/support/helpers/wait_for_helper.rb
|
343
356
|
- spec/support/matchers/contains_log.rb
|
344
357
|
- spec/support/mocks/fake_gc_profiler.rb
|
345
358
|
- spec/support/mocks/mock_extension.rb
|
346
|
-
- spec/support/
|
347
|
-
- spec/support/project_fixture/config/appsignal.yml
|
348
|
-
- spec/support/project_fixture/config/environments/development.rb
|
349
|
-
- spec/support/project_fixture/config/environments/production.rb
|
350
|
-
- spec/support/project_fixture/config/environments/test.rb
|
351
|
-
- spec/support/project_fixture/log/.gitkeep
|
359
|
+
- spec/support/mocks/mock_probe.rb
|
352
360
|
- spec/support/rails/my_app.rb
|
353
361
|
- spec/support/shared_examples/instrument.rb
|
354
362
|
- spec/support/stubs/delayed_job.rb
|
363
|
+
- spec/support/stubs/sidekiq/api.rb
|
355
364
|
- support/bundler_wrapper
|
356
365
|
- support/install_deps
|
357
366
|
homepage: https://github.com/appsignal/appsignal-ruby
|
358
367
|
licenses:
|
359
368
|
- MIT
|
360
|
-
metadata:
|
369
|
+
metadata:
|
370
|
+
bug_tracker_uri: https://github.com/appsignal/appsignal-ruby/issues
|
371
|
+
changelog_uri: https://github.com/appsignal/appsignal-ruby/blob/master/CHANGELOG.md
|
372
|
+
documentation_uri: https://docs.appsignal.com/ruby/
|
373
|
+
homepage_uri: https://docs.appsignal.com/ruby/
|
374
|
+
source_code_uri: https://github.com/appsignal/appsignal-ruby
|
361
375
|
post_install_message:
|
362
376
|
rdoc_options: []
|
363
377
|
require_paths:
|
@@ -374,8 +388,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
374
388
|
- !ruby/object:Gem::Version
|
375
389
|
version: 1.3.1
|
376
390
|
requirements: []
|
377
|
-
|
378
|
-
rubygems_version: 2.7.6
|
391
|
+
rubygems_version: 3.0.6
|
379
392
|
signing_key:
|
380
393
|
specification_version: 4
|
381
394
|
summary: Logs performance and exception data from your app to appsignal.com
|
@@ -450,13 +463,15 @@ test_files:
|
|
450
463
|
- spec/lib/appsignal/utils/json_spec.rb
|
451
464
|
- spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
|
452
465
|
- spec/lib/appsignal_spec.rb
|
466
|
+
- spec/lib/puma/appsignal_spec.rb
|
453
467
|
- spec/spec_helper.rb
|
454
|
-
- spec/support/fixtures/containers/cgroups/docker
|
455
|
-
- spec/support/fixtures/containers/cgroups/docker_systemd
|
456
|
-
- spec/support/fixtures/containers/cgroups/lxc
|
457
|
-
- spec/support/fixtures/containers/cgroups/no_permission
|
458
|
-
- spec/support/fixtures/containers/cgroups/none
|
459
468
|
- spec/support/fixtures/generated_config.yml
|
469
|
+
- spec/support/fixtures/projects/valid/config/application.rb
|
470
|
+
- spec/support/fixtures/projects/valid/config/appsignal.yml
|
471
|
+
- spec/support/fixtures/projects/valid/config/environments/development.rb
|
472
|
+
- spec/support/fixtures/projects/valid/config/environments/production.rb
|
473
|
+
- spec/support/fixtures/projects/valid/config/environments/test.rb
|
474
|
+
- spec/support/fixtures/projects/valid/log/.gitkeep
|
460
475
|
- spec/support/fixtures/uploaded_file.txt
|
461
476
|
- spec/support/helpers/api_request_helper.rb
|
462
477
|
- spec/support/helpers/cli_helpers.rb
|
@@ -471,15 +486,12 @@ test_files:
|
|
471
486
|
- spec/support/helpers/system_helpers.rb
|
472
487
|
- spec/support/helpers/time_helpers.rb
|
473
488
|
- spec/support/helpers/transaction_helpers.rb
|
489
|
+
- spec/support/helpers/wait_for_helper.rb
|
474
490
|
- spec/support/matchers/contains_log.rb
|
475
491
|
- spec/support/mocks/fake_gc_profiler.rb
|
476
492
|
- spec/support/mocks/mock_extension.rb
|
477
|
-
- spec/support/
|
478
|
-
- spec/support/project_fixture/config/appsignal.yml
|
479
|
-
- spec/support/project_fixture/config/environments/development.rb
|
480
|
-
- spec/support/project_fixture/config/environments/production.rb
|
481
|
-
- spec/support/project_fixture/config/environments/test.rb
|
482
|
-
- spec/support/project_fixture/log/.gitkeep
|
493
|
+
- spec/support/mocks/mock_probe.rb
|
483
494
|
- spec/support/rails/my_app.rb
|
484
495
|
- spec/support/shared_examples/instrument.rb
|
485
496
|
- spec/support/stubs/delayed_job.rb
|
497
|
+
- spec/support/stubs/sidekiq/api.rb
|
@@ -1,14 +0,0 @@
|
|
1
|
-
14:name=systemd:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
2
|
-
13:pids:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
3
|
-
12:hugetlb:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
4
|
-
11:net_prio:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
5
|
-
10:perf_event:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
6
|
-
9:net_cls:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
7
|
-
8:freezer:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
8
|
-
7:devices:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
9
|
-
6:memory:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
10
|
-
5:blkio:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
11
|
-
4:cpuacct:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
12
|
-
3:cpu:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
13
|
-
2:cpuset:/docker/0c703b75cdeaad7c933aa68b4678cc5c37a12d5ef5d7cb52c9cefe684d98e575
|
14
|
-
1:name=openrc:/docker
|
@@ -1,8 +0,0 @@
|
|
1
|
-
8:net_cls:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
2
|
-
7:freezer:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
3
|
-
6:devices:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
4
|
-
5:memory:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
5
|
-
4:blkio:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
6
|
-
3:cpu,cpuacct:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
7
|
-
2:cpuset:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
8
|
-
1:name=openrc:/system.slice/docker-09f1c4d420025670a3633edbc9b31450f1d6b2ff87b5912a10c320ad398c7215.scope
|
@@ -1,10 +0,0 @@
|
|
1
|
-
11:name=systemd:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
2
|
-
10:hugetlb:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
3
|
-
9:perf_event:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
4
|
-
8:blkio:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
5
|
-
7:freezer:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
6
|
-
6:devices:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
7
|
-
5:memory:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
8
|
-
4:cpuacct:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
9
|
-
3:cpu:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|
10
|
-
2:cpuset:/lxc/1a2e485e-3947-4bb6-8c24-8774f0859648
|