appsignal 2.9.5-java → 2.9.6-java

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +3 -2
  3. data/CHANGELOG.md +7 -0
  4. data/README.md +2 -0
  5. data/Rakefile +1 -1
  6. data/SUPPORT.md +16 -0
  7. data/build_matrix.yml +3 -2
  8. data/lib/appsignal/cli/demo.rb +5 -2
  9. data/lib/appsignal/hooks/sidekiq.rb +4 -0
  10. data/lib/appsignal/minutely.rb +19 -3
  11. data/lib/appsignal/version.rb +1 -1
  12. data/spec/lib/appsignal/config_spec.rb +1 -1
  13. data/spec/lib/appsignal/hooks/active_support_notifications_spec.rb +14 -0
  14. data/spec/lib/appsignal/hooks/sidekiq_spec.rb +24 -0
  15. data/spec/lib/appsignal/minutely_spec.rb +57 -11
  16. data/spec/support/{project_fixture → fixtures/projects/valid}/config/application.rb +0 -0
  17. data/spec/support/{project_fixture → fixtures/projects/valid}/config/appsignal.yml +0 -0
  18. data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/development.rb +0 -0
  19. data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/production.rb +0 -0
  20. data/spec/support/{project_fixture → fixtures/projects/valid}/config/environments/test.rb +0 -0
  21. data/spec/support/{project_fixture → fixtures/projects/valid}/log/.gitkeep +0 -0
  22. data/spec/support/helpers/config_helpers.rb +1 -1
  23. metadata +16 -26
  24. data/spec/support/fixtures/containers/cgroups/docker +0 -14
  25. data/spec/support/fixtures/containers/cgroups/docker_systemd +0 -8
  26. data/spec/support/fixtures/containers/cgroups/lxc +0 -10
  27. data/spec/support/fixtures/containers/cgroups/no_permission +0 -0
  28. data/spec/support/fixtures/containers/cgroups/none +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: effa13f4712da9135dbc3c18772b32247582744e1cf88ac17c9ef42606f7e48a
4
- data.tar.gz: 462d6bcfa88907d7e22b1d9f462c07cbc6b730d4b71e9dfc56d4ae67906223cd
3
+ metadata.gz: 92a3e8d10cd1fdf02f0ba5fc2083cc3524a3f3b3882e1e1686df719ca1280473
4
+ data.tar.gz: 8a92cc47146720f2ba0bd8be84190577b9717c8f6d0ee39cfe28727efb59de9d
5
5
  SHA512:
6
- metadata.gz: ba076205d8671f8fdaf2c9581ec23a0ff4c08f4b2b9bf26afe81e2481ede99cb17ae5b95b83db344fbc61df13f58213ad11c0b99aee4f5731be5155e5faa356c
7
- data.tar.gz: 00b290c9140898b039d2d66e43386ed23d8248d27675f43178c489356e96cf6911d5d585c9432898d4685f0772f4556f28bcbe0a44418480ccb51859a3c62cf5
6
+ metadata.gz: f20caec585b2f0eb8c705cfd3d6c9ac26e44840a42d960f642d6b268f374f1ebd16f672c2d5d54343e65b4ec43b0e525416662fda735168d6297f50484460e2a
7
+ data.tar.gz: fc1859e2c96b8a36fc4aef021f5702e1082d54866817a1f234b0f080f843f7cfa7df5abd923fa1fbe60507522b0a600f165a7d7e0bc9297921f596378590a818
@@ -11,15 +11,16 @@ branches:
11
11
  language: ruby
12
12
  cache:
13
13
  directories:
14
- - vendor/bundle
14
+ - "$TRAVIS_BUILD_DIR/vendor/cache"
15
15
  env:
16
16
  global:
17
+ - BUNDLE_PATH=$TRAVIS_BUILD_DIR/vendor/cache
17
18
  - RUNNING_IN_CI=true
18
19
  - RAILS_ENV=test
19
20
  - JRUBY_OPTS=''
20
21
  before_install:
21
22
  - "./support/install_deps"
22
- install: "./support/bundler_wrapper install --jobs=3 --retry=3"
23
+ install: "./support/bundler_wrapper install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-$TRAVIS_BUILD_DIR/vendor/cache}"
23
24
  before_script:
24
25
  - "./support/bundler_wrapper exec rake extension:install"
25
26
  script: "./support/bundler_wrapper exec rake test"
@@ -1,6 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.9.6
4
+ - Print link to diagnose docs on unsuccessful demo command. PR #512
5
+ - Add support for minutely probe `.dependencies_present?` check. PR #523
6
+ - Do not activate Sidekiq minutely probe on unsupported Redis gem versions.
7
+ PR #523.
8
+
3
9
  ## 2.9.5
10
+ - Improve logging in minutely probes. PR #508
4
11
  - Delay the first minutely probe for a bit, since it might take some
5
12
  time for dependencies to initialize. PR #511
6
13
 
data/README.md CHANGED
@@ -267,6 +267,8 @@ we send a package to so far on our [Stroopwafles page][waffles-page].
267
267
  AppSignal. They will help you get set up, tweak your code and make sure you get
268
268
  the most out of using AppSignal.
269
269
 
270
+ Also see our [SUPPORT.md file](SUPPORT.md).
271
+
270
272
  [appsignal]: https://appsignal.com
271
273
  [appsignal-sign-up]: https://appsignal.com/users/sign_up
272
274
  [contact]: mailto:support@appsignal.com
data/Rakefile CHANGED
@@ -214,7 +214,7 @@ namespace :publish do
214
214
  Dir.chdir("#{File.dirname(__FILE__)}/pkg") do
215
215
  Dir["*.gem"].each do |gem_package|
216
216
  puts "## Publishing gem package: #{gem_package}"
217
- puts `gem push #{gem_package}`
217
+ system "gem push #{gem_package}"
218
218
  end
219
219
  end
220
220
  end
@@ -0,0 +1,16 @@
1
+ # Support
2
+
3
+ [Contact us][contact] and speak directly with the engineers working on
4
+ AppSignal. They will help you get set up, tweak your code and make sure you get
5
+ the most out of using AppSignal. You can also find our documentation at
6
+ [docs.appsignal.com](https://docs.appsignal.com/).
7
+
8
+ We do not recommend creating an issue on the Ruby gem's GitHub project if it
9
+ concerns your private app data. During the support process we'll need the
10
+ AppSignal logs and other resources that contain your app's private data,
11
+ something for which the public GitHub issue tracker is not suited.
12
+
13
+ Please contact us on our website [appsignal.com](https://appsignal.com/) or via
14
+ email at [support@appsignal.com][contact].
15
+
16
+ [contact]: mailto:support@appsignal.com
@@ -9,17 +9,18 @@ travis: # Default `.travis.yml` contents
9
9
  language: ruby
10
10
  cache:
11
11
  directories:
12
- - vendor/bundle
12
+ - "$TRAVIS_BUILD_DIR/vendor/cache"
13
13
 
14
14
  env:
15
15
  global:
16
+ - "BUNDLE_PATH=$TRAVIS_BUILD_DIR/vendor/cache"
16
17
  - "RUNNING_IN_CI=true"
17
18
  - "RAILS_ENV=test"
18
19
  - "JRUBY_OPTS=''" # Workaround https://github.com/travis-ci/travis-ci/issues/6471
19
20
 
20
21
  before_install:
21
22
  - "./support/install_deps"
22
- install: "./support/bundler_wrapper install --jobs=3 --retry=3"
23
+ install: "./support/bundler_wrapper install --jobs=3 --retry=3 --path=${BUNDLE_PATH:-$TRAVIS_BUILD_DIR/vendor/cache}"
23
24
  before_script:
24
25
  - "./support/bundler_wrapper exec rake extension:install"
25
26
  script: "./support/bundler_wrapper exec rake test"
@@ -54,8 +54,11 @@ module Appsignal
54
54
  puts "Demonstration sample data sent!"
55
55
  puts "It may take about a minute for the data to appear on https://appsignal.com/accounts"
56
56
  else
57
- puts "Error: Unable to start the AppSignal agent and send data to AppSignal.com"
58
- puts "Please use `appsignal diagnose` to debug your configuration."
57
+ puts "\nError: Unable to start the AppSignal agent and send data to AppSignal.com."
58
+ puts "Please use the diagnose command (https://docs.appsignal.com/ruby/command-line/diagnose.html) to debug your configuration:"
59
+ puts
60
+ puts " bundle exec appsignal diagnose --environment=production"
61
+ puts
59
62
  exit 1
60
63
  end
61
64
  end
@@ -25,6 +25,10 @@ module Appsignal
25
25
  class SidekiqProbe
26
26
  attr_reader :config
27
27
 
28
+ def self.dependencies_present?
29
+ Gem::Version.new(Redis::VERSION) >= Gem::Version.new("3.3.5")
30
+ end
31
+
28
32
  def initialize(config = {})
29
33
  @config = config
30
34
  @cache = {}
@@ -140,13 +140,13 @@ module Appsignal
140
140
  sleep initial_wait_time
141
141
  loop do
142
142
  logger = Appsignal.logger
143
- logger.debug("Gathering minutely metrics with #{probes.count} probes")
143
+ logger.debug("Gathering minutely metrics with #{probe_instances.count} probes")
144
144
  probe_instances.each do |name, probe|
145
145
  begin
146
146
  logger.debug("Gathering minutely metrics with '#{name}' probe")
147
147
  probe.call
148
148
  rescue => ex
149
- logger.error "Error in minutely probe '#{name}': #{ex}\n"
149
+ logger.error "Error in minutely probe '#{name}': #{ex}"
150
150
  logger.debug ex.backtrace.join("\n")
151
151
  end
152
152
  end
@@ -176,11 +176,27 @@ module Appsignal
176
176
 
177
177
  def initialize_probes
178
178
  probes.each do |name, probe|
179
- instance = probe.respond_to?(:new) ? probe.new : probe
179
+ if probe.respond_to? :new
180
+ instance = probe.new
181
+ klass = probe
182
+ else
183
+ instance = probe
184
+ klass = instance.class
185
+ end
186
+ unless dependencies_present?(klass)
187
+ Appsignal.logger.debug "Skipping '#{name}' probe, " \
188
+ "#{klass}.dependency_present? returned falsy"
189
+ next
190
+ end
180
191
  probe_instances[name] = instance
181
192
  end
182
193
  end
183
194
 
195
+ def dependencies_present?(probe)
196
+ return true unless probe.respond_to? :dependencies_present?
197
+ probe.dependencies_present?
198
+ end
199
+
184
200
  def probe_instances
185
201
  @@probe_instances ||= {}
186
202
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "2.9.5".freeze
4
+ VERSION = "2.9.6".freeze
5
5
  end
@@ -479,7 +479,7 @@ describe Appsignal::Config do
479
479
 
480
480
  it "writes the current config to environment variables" do
481
481
  expect(ENV["_APPSIGNAL_ACTIVE"]).to eq "true"
482
- expect(ENV["_APPSIGNAL_APP_PATH"]).to end_with("spec/support/project_fixture")
482
+ expect(ENV["_APPSIGNAL_APP_PATH"]).to end_with("spec/support/fixtures/projects/valid")
483
483
  expect(ENV["_APPSIGNAL_AGENT_PATH"]).to end_with("/ext")
484
484
  expect(ENV["_APPSIGNAL_DEBUG_LOGGING"]).to eq "false"
485
485
  expect(ENV["_APPSIGNAL_LOG"]).to eq "stdout"
@@ -30,6 +30,20 @@ describe Appsignal::Hooks::ActiveSupportNotificationsHook do
30
30
  expect(return_value).to eq "value"
31
31
  end
32
32
 
33
+ it "instruments an ActiveSupport::Notifications.instrument event with no registered formatter" do
34
+ expect(Appsignal::Transaction.current).to receive(:start_event)
35
+ .at_least(:once)
36
+ expect(Appsignal::Transaction.current).to receive(:finish_event)
37
+ .at_least(:once)
38
+ .with("no-registered.formatter", nil, nil, nil)
39
+
40
+ return_value = as.instrument("no-registered.formatter", :key => "something") do
41
+ "value"
42
+ end
43
+
44
+ expect(return_value).to eq "value"
45
+ end
46
+
33
47
  it "should convert non-string names to strings" do
34
48
  expect(Appsignal::Transaction.current).to receive(:start_event)
35
49
  .at_least(:once)
@@ -665,6 +665,30 @@ describe Appsignal::Hooks::SidekiqProbe do
665
665
  end
666
666
  after { Object.send(:remove_const, "Sidekiq") }
667
667
 
668
+ describe ".dependencies_present?" do
669
+ before do
670
+ class Redis; end
671
+ Redis.const_set(:VERSION, version)
672
+ end
673
+ after { Object.send(:remove_const, "Redis") }
674
+
675
+ context "when Redis version is < 3.3.5" do
676
+ let(:version) { "3.3.4" }
677
+
678
+ it "does not start probe" do
679
+ expect(described_class.dependencies_present?).to be_falsy
680
+ end
681
+ end
682
+
683
+ context "when Redis version is >= 3.3.5" do
684
+ let(:version) { "3.3.5" }
685
+
686
+ it "does not start probe" do
687
+ expect(described_class.dependencies_present?).to be_truthy
688
+ end
689
+ end
690
+ end
691
+
668
692
  it "loads Sidekiq::API" do
669
693
  expect(defined?(Sidekiq::API)).to be_falsy
670
694
  probe
@@ -19,6 +19,18 @@ describe Appsignal::Minutely do
19
19
  end
20
20
  end
21
21
 
22
+ class ProbeWithoutDependency < Probe
23
+ def self.dependencies_present?
24
+ true
25
+ end
26
+ end
27
+
28
+ class ProbeWithMissingDependency < Probe
29
+ def self.dependencies_present?
30
+ false
31
+ end
32
+ end
33
+
22
34
  class BrokenProbe < Probe
23
35
  def call
24
36
  super
@@ -31,14 +43,8 @@ describe Appsignal::Minutely do
31
43
  before do
32
44
  Appsignal.logger = test_logger(log_stream)
33
45
  # Speed up test time
34
- expect(Appsignal::Minutely).to receive(:initial_wait_time)
35
- .ordered
36
- .once
37
- .and_return(0.001)
38
- expect(Appsignal::Minutely).to receive(:wait_time)
39
- .ordered
40
- .at_least(:once)
41
- .and_return(0.001)
46
+ allow(Appsignal::Minutely).to receive(:initial_wait_time).and_return(0.001)
47
+ allow(Appsignal::Minutely).to receive(:wait_time).and_return(0.001)
42
48
  end
43
49
 
44
50
  context "with an instance of a class" do
@@ -51,6 +57,24 @@ describe Appsignal::Minutely do
51
57
  expect(log).to contains_log(:debug, "Gathering minutely metrics with 1 probe")
52
58
  expect(log).to contains_log(:debug, "Gathering minutely metrics with 'my_probe' probe")
53
59
  end
60
+
61
+ context "when dependency requirement is not met" do
62
+ it "does not initialize the probe" do
63
+ # Working probe which we can use to wait for X ticks
64
+ working_probe = ProbeWithoutDependency.new
65
+ Appsignal::Minutely.probes.register :probe_without_dep, working_probe
66
+
67
+ probe = ProbeWithMissingDependency.new
68
+ Appsignal::Minutely.probes.register :probe_with_missing_dep, probe
69
+ Appsignal::Minutely.start
70
+
71
+ wait_for("enough probe calls") { working_probe.calls >= 2 }
72
+ # Only counts initialized probes
73
+ expect(log).to contains_log(:debug, "Gathering minutely metrics with 1 probe")
74
+ expect(log).to contains_log :debug, "Skipping 'probe_with_missing_dep' probe, " \
75
+ "ProbeWithMissingDependency.dependency_present? returned falsy"
76
+ end
77
+ end
54
78
  end
55
79
 
56
80
  context "with probe class" do
@@ -65,6 +89,26 @@ describe Appsignal::Minutely do
65
89
  expect(log).to contains_log(:debug, "Gathering minutely metrics with 1 probe")
66
90
  expect(log).to contains_log(:debug, "Gathering minutely metrics with 'my_probe' probe")
67
91
  end
92
+
93
+ context "when dependency requirement is not met" do
94
+ it "does not initialize the probe" do
95
+ # Working probe which we can use to wait for X ticks
96
+ working_probe = ProbeWithoutDependency
97
+ working_probe_instance = working_probe.new
98
+ expect(working_probe).to receive(:new).and_return(working_probe_instance)
99
+ Appsignal::Minutely.probes.register :probe_without_dep, working_probe
100
+
101
+ probe = ProbeWithMissingDependency
102
+ Appsignal::Minutely.probes.register :probe_with_missing_dep, probe
103
+ Appsignal::Minutely.start
104
+
105
+ wait_for("enough probe calls") { working_probe_instance.calls >= 2 }
106
+ # Only counts initialized probes
107
+ expect(log).to contains_log(:debug, "Gathering minutely metrics with 1 probe")
108
+ expect(log).to contains_log :debug, "Skipping 'probe_with_missing_dep' probe, " \
109
+ "ProbeWithMissingDependency.dependency_present? returned falsy"
110
+ end
111
+ end
68
112
  end
69
113
 
70
114
  context "with a lambda" do
@@ -101,9 +145,6 @@ describe Appsignal::Minutely do
101
145
  end
102
146
 
103
147
  it "ensures only one minutely probes thread is active at a time" do
104
- # Starting twice in this spec, so expecting it more than once
105
- expect(Appsignal::Minutely).to receive(:initial_wait_time).at_least(:once).and_return(0.001)
106
-
107
148
  alive_thread_counter = proc { Thread.list.reject { |t| t.status == "dead" }.length }
108
149
  probe = Probe.new
109
150
  Appsignal::Minutely.probes.register :my_probe, probe
@@ -112,8 +153,13 @@ describe Appsignal::Minutely do
112
153
  end.to change { alive_thread_counter.call }.by(1)
113
154
 
114
155
  wait_for("enough probe calls") { probe.calls >= 2 }
156
+ expect(Appsignal::Minutely).to have_received(:initial_wait_time).once
157
+ expect(Appsignal::Minutely).to have_received(:wait_time).at_least(:once)
115
158
  expect(log).to contains_log(:debug, "Gathering minutely metrics with 1 probe")
116
159
  expect(log).to contains_log(:debug, "Gathering minutely metrics with 'my_probe' probe")
160
+
161
+ # Starting twice in this spec, so expecting it more than once
162
+ expect(Appsignal::Minutely).to have_received(:initial_wait_time).once
117
163
  expect do
118
164
  # Fetch old thread
119
165
  thread = Appsignal::Minutely.class_variable_get(:@@thread)
@@ -1,7 +1,7 @@
1
1
  module ConfigHelpers
2
2
  def project_fixture_path
3
3
  File.expand_path(
4
- File.join(File.dirname(__FILE__), "../project_fixture")
4
+ File.join(File.dirname(__FILE__), "../fixtures/projects/valid")
5
5
  )
6
6
  end
7
7
 
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: 2.9.5
4
+ version: 2.9.6
5
5
  platform: java
6
6
  authors:
7
7
  - Robert Beekman
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-04-10 00:00:00.000000000 Z
12
+ date: 2019-04-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
@@ -158,6 +158,7 @@ files:
158
158
  - LICENSE
159
159
  - README.md
160
160
  - Rakefile
161
+ - SUPPORT.md
161
162
  - appsignal.gemspec
162
163
  - benchmark.rake
163
164
  - bin/appsignal
@@ -338,12 +339,13 @@ files:
338
339
  - spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
339
340
  - spec/lib/appsignal_spec.rb
340
341
  - spec/spec_helper.rb
341
- - spec/support/fixtures/containers/cgroups/docker
342
- - spec/support/fixtures/containers/cgroups/docker_systemd
343
- - spec/support/fixtures/containers/cgroups/lxc
344
- - spec/support/fixtures/containers/cgroups/no_permission
345
- - spec/support/fixtures/containers/cgroups/none
346
342
  - spec/support/fixtures/generated_config.yml
343
+ - spec/support/fixtures/projects/valid/config/application.rb
344
+ - spec/support/fixtures/projects/valid/config/appsignal.yml
345
+ - spec/support/fixtures/projects/valid/config/environments/development.rb
346
+ - spec/support/fixtures/projects/valid/config/environments/production.rb
347
+ - spec/support/fixtures/projects/valid/config/environments/test.rb
348
+ - spec/support/fixtures/projects/valid/log/.gitkeep
347
349
  - spec/support/fixtures/uploaded_file.txt
348
350
  - spec/support/helpers/api_request_helper.rb
349
351
  - spec/support/helpers/cli_helpers.rb
@@ -361,12 +363,6 @@ files:
361
363
  - spec/support/matchers/contains_log.rb
362
364
  - spec/support/mocks/fake_gc_profiler.rb
363
365
  - spec/support/mocks/mock_extension.rb
364
- - spec/support/project_fixture/config/application.rb
365
- - spec/support/project_fixture/config/appsignal.yml
366
- - spec/support/project_fixture/config/environments/development.rb
367
- - spec/support/project_fixture/config/environments/production.rb
368
- - spec/support/project_fixture/config/environments/test.rb
369
- - spec/support/project_fixture/log/.gitkeep
370
366
  - spec/support/rails/my_app.rb
371
367
  - spec/support/shared_examples/instrument.rb
372
368
  - spec/support/stubs/delayed_job.rb
@@ -393,8 +389,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
393
389
  - !ruby/object:Gem::Version
394
390
  version: '0'
395
391
  requirements: []
396
- rubyforge_project:
397
- rubygems_version: 2.7.6
392
+ rubygems_version: 3.0.2
398
393
  signing_key:
399
394
  specification_version: 4
400
395
  summary: Logs performance and exception data from your app to appsignal.com
@@ -470,12 +465,13 @@ test_files:
470
465
  - spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
471
466
  - spec/lib/appsignal_spec.rb
472
467
  - spec/spec_helper.rb
473
- - spec/support/fixtures/containers/cgroups/docker
474
- - spec/support/fixtures/containers/cgroups/docker_systemd
475
- - spec/support/fixtures/containers/cgroups/lxc
476
- - spec/support/fixtures/containers/cgroups/no_permission
477
- - spec/support/fixtures/containers/cgroups/none
478
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
479
475
  - spec/support/fixtures/uploaded_file.txt
480
476
  - spec/support/helpers/api_request_helper.rb
481
477
  - spec/support/helpers/cli_helpers.rb
@@ -493,12 +489,6 @@ test_files:
493
489
  - spec/support/matchers/contains_log.rb
494
490
  - spec/support/mocks/fake_gc_profiler.rb
495
491
  - spec/support/mocks/mock_extension.rb
496
- - spec/support/project_fixture/config/application.rb
497
- - spec/support/project_fixture/config/appsignal.yml
498
- - spec/support/project_fixture/config/environments/development.rb
499
- - spec/support/project_fixture/config/environments/production.rb
500
- - spec/support/project_fixture/config/environments/test.rb
501
- - spec/support/project_fixture/log/.gitkeep
502
492
  - spec/support/rails/my_app.rb
503
493
  - spec/support/shared_examples/instrument.rb
504
494
  - spec/support/stubs/delayed_job.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
@@ -1 +0,0 @@
1
- 2:name=systemd:/user/0.user/1.session