appsignal 2.9.5 → 2.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +3 -2
- data/CHANGELOG.md +7 -0
- data/README.md +2 -0
- data/Rakefile +1 -1
- data/SUPPORT.md +16 -0
- data/build_matrix.yml +3 -2
- data/lib/appsignal/cli/demo.rb +5 -2
- data/lib/appsignal/hooks/sidekiq.rb +4 -0
- data/lib/appsignal/minutely.rb +19 -3
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/config_spec.rb +1 -1
- data/spec/lib/appsignal/hooks/active_support_notifications_spec.rb +14 -0
- data/spec/lib/appsignal/hooks/sidekiq_spec.rb +24 -0
- data/spec/lib/appsignal/minutely_spec.rb +57 -11
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/application.rb +0 -0
- data/spec/support/{project_fixture → fixtures/projects/valid}/config/appsignal.yml +0 -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
- metadata +16 -26
- 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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6932825195004393b0d1b010e8c8983856813370eba320ccec0a957de6db4ee7
|
|
4
|
+
data.tar.gz: 79cb4fc623ff3fe3e7a7ed347276cee7faf24f9bf53bac727ce6f4623f3d492f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ce53a8f2a2b286fb74bf01ac7bc699686d43f9d04d1c61dead2a510fa843f95ef9ce223940bc697cd5a8faace0349c4e1e58acdfebb74f44abefcfc156d892fd
|
|
7
|
+
data.tar.gz: 411788a191c1cf401b6fd4a16cf9d82fbae32e4850cd1cf876676c7c42f71263c277be3e06559baa4556d6259e14600ae2bdc8285b103d5175806bd0d799f53d
|
data/.travis.yml
CHANGED
|
@@ -11,15 +11,16 @@ branches:
|
|
|
11
11
|
language: ruby
|
|
12
12
|
cache:
|
|
13
13
|
directories:
|
|
14
|
-
- vendor/
|
|
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"
|
data/CHANGELOG.md
CHANGED
|
@@ -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
|
-
|
|
217
|
+
system "gem push #{gem_package}"
|
|
218
218
|
end
|
|
219
219
|
end
|
|
220
220
|
end
|
data/SUPPORT.md
ADDED
|
@@ -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
|
data/build_matrix.yml
CHANGED
|
@@ -9,17 +9,18 @@ travis: # Default `.travis.yml` contents
|
|
|
9
9
|
language: ruby
|
|
10
10
|
cache:
|
|
11
11
|
directories:
|
|
12
|
-
- vendor/
|
|
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"
|
data/lib/appsignal/cli/demo.rb
CHANGED
|
@@ -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 "
|
|
58
|
-
puts "Please use
|
|
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
|
data/lib/appsignal/minutely.rb
CHANGED
|
@@ -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 #{
|
|
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}
|
|
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
|
-
|
|
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
|
data/lib/appsignal/version.rb
CHANGED
|
@@ -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/
|
|
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
|
-
|
|
35
|
-
|
|
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)
|
|
File without changes
|
|
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
|
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.
|
|
4
|
+
version: 2.9.6
|
|
5
5
|
platform: ruby
|
|
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-
|
|
12
|
+
date: 2019-04-30 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rack
|
|
@@ -144,6 +144,7 @@ files:
|
|
|
144
144
|
- LICENSE
|
|
145
145
|
- README.md
|
|
146
146
|
- Rakefile
|
|
147
|
+
- SUPPORT.md
|
|
147
148
|
- appsignal.gemspec
|
|
148
149
|
- benchmark.rake
|
|
149
150
|
- bin/appsignal
|
|
@@ -324,12 +325,13 @@ files:
|
|
|
324
325
|
- spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
|
|
325
326
|
- spec/lib/appsignal_spec.rb
|
|
326
327
|
- spec/spec_helper.rb
|
|
327
|
-
- spec/support/fixtures/containers/cgroups/docker
|
|
328
|
-
- spec/support/fixtures/containers/cgroups/docker_systemd
|
|
329
|
-
- spec/support/fixtures/containers/cgroups/lxc
|
|
330
|
-
- spec/support/fixtures/containers/cgroups/no_permission
|
|
331
|
-
- spec/support/fixtures/containers/cgroups/none
|
|
332
328
|
- spec/support/fixtures/generated_config.yml
|
|
329
|
+
- spec/support/fixtures/projects/valid/config/application.rb
|
|
330
|
+
- spec/support/fixtures/projects/valid/config/appsignal.yml
|
|
331
|
+
- spec/support/fixtures/projects/valid/config/environments/development.rb
|
|
332
|
+
- spec/support/fixtures/projects/valid/config/environments/production.rb
|
|
333
|
+
- spec/support/fixtures/projects/valid/config/environments/test.rb
|
|
334
|
+
- spec/support/fixtures/projects/valid/log/.gitkeep
|
|
333
335
|
- spec/support/fixtures/uploaded_file.txt
|
|
334
336
|
- spec/support/helpers/api_request_helper.rb
|
|
335
337
|
- spec/support/helpers/cli_helpers.rb
|
|
@@ -347,12 +349,6 @@ files:
|
|
|
347
349
|
- spec/support/matchers/contains_log.rb
|
|
348
350
|
- spec/support/mocks/fake_gc_profiler.rb
|
|
349
351
|
- spec/support/mocks/mock_extension.rb
|
|
350
|
-
- spec/support/project_fixture/config/application.rb
|
|
351
|
-
- spec/support/project_fixture/config/appsignal.yml
|
|
352
|
-
- spec/support/project_fixture/config/environments/development.rb
|
|
353
|
-
- spec/support/project_fixture/config/environments/production.rb
|
|
354
|
-
- spec/support/project_fixture/config/environments/test.rb
|
|
355
|
-
- spec/support/project_fixture/log/.gitkeep
|
|
356
352
|
- spec/support/rails/my_app.rb
|
|
357
353
|
- spec/support/shared_examples/instrument.rb
|
|
358
354
|
- spec/support/stubs/delayed_job.rb
|
|
@@ -379,8 +375,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
379
375
|
- !ruby/object:Gem::Version
|
|
380
376
|
version: '0'
|
|
381
377
|
requirements: []
|
|
382
|
-
|
|
383
|
-
rubygems_version: 2.7.6
|
|
378
|
+
rubygems_version: 3.0.2
|
|
384
379
|
signing_key:
|
|
385
380
|
specification_version: 4
|
|
386
381
|
summary: Logs performance and exception data from your app to appsignal.com
|
|
@@ -456,12 +451,13 @@ test_files:
|
|
|
456
451
|
- spec/lib/appsignal/utils/query_params_sanitizer_spec.rb
|
|
457
452
|
- spec/lib/appsignal_spec.rb
|
|
458
453
|
- spec/spec_helper.rb
|
|
459
|
-
- spec/support/fixtures/containers/cgroups/docker
|
|
460
|
-
- spec/support/fixtures/containers/cgroups/docker_systemd
|
|
461
|
-
- spec/support/fixtures/containers/cgroups/lxc
|
|
462
|
-
- spec/support/fixtures/containers/cgroups/no_permission
|
|
463
|
-
- spec/support/fixtures/containers/cgroups/none
|
|
464
454
|
- spec/support/fixtures/generated_config.yml
|
|
455
|
+
- spec/support/fixtures/projects/valid/config/application.rb
|
|
456
|
+
- spec/support/fixtures/projects/valid/config/appsignal.yml
|
|
457
|
+
- spec/support/fixtures/projects/valid/config/environments/development.rb
|
|
458
|
+
- spec/support/fixtures/projects/valid/config/environments/production.rb
|
|
459
|
+
- spec/support/fixtures/projects/valid/config/environments/test.rb
|
|
460
|
+
- spec/support/fixtures/projects/valid/log/.gitkeep
|
|
465
461
|
- spec/support/fixtures/uploaded_file.txt
|
|
466
462
|
- spec/support/helpers/api_request_helper.rb
|
|
467
463
|
- spec/support/helpers/cli_helpers.rb
|
|
@@ -479,12 +475,6 @@ test_files:
|
|
|
479
475
|
- spec/support/matchers/contains_log.rb
|
|
480
476
|
- spec/support/mocks/fake_gc_profiler.rb
|
|
481
477
|
- spec/support/mocks/mock_extension.rb
|
|
482
|
-
- spec/support/project_fixture/config/application.rb
|
|
483
|
-
- spec/support/project_fixture/config/appsignal.yml
|
|
484
|
-
- spec/support/project_fixture/config/environments/development.rb
|
|
485
|
-
- spec/support/project_fixture/config/environments/production.rb
|
|
486
|
-
- spec/support/project_fixture/config/environments/test.rb
|
|
487
|
-
- spec/support/project_fixture/log/.gitkeep
|
|
488
478
|
- spec/support/rails/my_app.rb
|
|
489
479
|
- spec/support/shared_examples/instrument.rb
|
|
490
480
|
- 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
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2:name=systemd:/user/0.user/1.session
|