appsignal 3.0.4.alpha.1 → 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -5
- data/appsignal.gemspec +1 -1
- data/ext/agent.yml +17 -24
- data/lib/appsignal/hooks.rb +1 -1
- data/lib/appsignal/integrations/padrino.rb +1 -1
- data/lib/appsignal/integrations/railtie.rb +1 -1
- data/lib/appsignal/integrations/sinatra.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/mono.yml +16 -0
- data/spec/lib/appsignal/cli/diagnose_spec.rb +1 -0
- data/spec/lib/appsignal/hooks_spec.rb +4 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adfc426b4de03866b5598de0917060befa98d748ef29ca3ddf91ce2c2038550a
|
4
|
+
data.tar.gz: 9eb6f73987c6430543a3456d3931e861d9959a24ea2416c51a6a64004926dbd5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e9242f6fb0b269ddfcf90bccea590573c2f4bca81790723c3fa198caa4a2eca9311daea2da37eb091440578f4d98771f25d96123286ffa48a54d9d640c7652a0
|
7
|
+
data.tar.gz: 19c4e6886eae5303d0a34736ca22b1fed49e5b20e959b321eb4205d59f27b8c38150c484d58817c67652603495ab76aec51ac710e1de82026c257e4fabc98325
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
## 3.0.4
|
4
|
+
|
5
|
+
- [6338e822](https://github.com/appsignal/appsignal-ruby/commit/6338e8227c674ea7bbe6f55cdfde784fa9f5048f) patch - Drop logger level to debug. Reduce the output on the "info" level and only show
|
6
|
+
these messages in debug mode. This should reduce the noise for users running
|
7
|
+
AppSignal with the STDOUT logger, such as is the default on Heroku.
|
8
8
|
|
9
9
|
# 3.0.3
|
10
10
|
- Fix deprecation message for set_error namespace argument. PR #712
|
data/appsignal.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
|
|
15
15
|
gem.homepage = "https://github.com/appsignal/appsignal-ruby"
|
16
16
|
gem.license = "MIT"
|
17
17
|
|
18
|
-
gem.files = `git ls-files`.split($\) # rubocop:disable Style/SpecialGlobalVars
|
18
|
+
gem.files = `git ls-files`.split($\).reject { |f| f.start_with?(".changesets/") } # rubocop:disable Style/SpecialGlobalVars
|
19
19
|
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
|
20
20
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
21
21
|
gem.name = "appsignal"
|
data/ext/agent.yml
CHANGED
@@ -1,69 +1,62 @@
|
|
1
1
|
---
|
2
|
-
version:
|
2
|
+
version: 75e76ad
|
3
3
|
mirrors:
|
4
4
|
- https://appsignal-agent-releases.global.ssl.fastly.net
|
5
5
|
- https://d135dj0rjqvssy.cloudfront.net
|
6
6
|
triples:
|
7
7
|
x86_64-darwin:
|
8
8
|
static:
|
9
|
-
checksum:
|
9
|
+
checksum: 81edea50b934fe5b42c0081a1de5782bc477c321c1c76127d7fa525917f70a04
|
10
10
|
filename: appsignal-x86_64-darwin-all-static.tar.gz
|
11
11
|
dynamic:
|
12
|
-
checksum:
|
12
|
+
checksum: 60befd59ac704ee21d5881ca0aef6b38caa50b1d1972425bf8f40b4f9710ec1e
|
13
13
|
filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
|
14
14
|
universal-darwin:
|
15
15
|
static:
|
16
|
-
checksum:
|
16
|
+
checksum: 81edea50b934fe5b42c0081a1de5782bc477c321c1c76127d7fa525917f70a04
|
17
17
|
filename: appsignal-x86_64-darwin-all-static.tar.gz
|
18
18
|
dynamic:
|
19
|
-
checksum:
|
19
|
+
checksum: 60befd59ac704ee21d5881ca0aef6b38caa50b1d1972425bf8f40b4f9710ec1e
|
20
20
|
filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
|
21
|
-
aarch64-linux:
|
22
|
-
static:
|
23
|
-
checksum: 4fa48dba3ce6c2d03105ccdb8ff74908ec1eed40c3bb35357fd197bc70d98fb4
|
24
|
-
filename: appsignal-aarch64-linux-all-static.tar.gz
|
25
|
-
dynamic:
|
26
|
-
checksum: 5d04ed04e89ede3946b411d920875346e1dac42665f0f61ddbe7becbd7a7cba3
|
27
|
-
filename: appsignal-aarch64-linux-all-dynamic.tar.gz
|
28
21
|
i686-linux:
|
29
22
|
static:
|
30
|
-
checksum:
|
23
|
+
checksum: 60ad6a1f69c8f89b5642f49fbf794409e8ada7d63a9126b2c59832c2a92d5b22
|
31
24
|
filename: appsignal-i686-linux-all-static.tar.gz
|
32
25
|
dynamic:
|
33
|
-
checksum:
|
26
|
+
checksum: aedf259de392ea00fd17bc30924cde70d9a1d82a62c6eeefc881cd5ea5dcce63
|
34
27
|
filename: appsignal-i686-linux-all-dynamic.tar.gz
|
35
28
|
x86-linux:
|
36
29
|
static:
|
37
|
-
checksum:
|
30
|
+
checksum: 60ad6a1f69c8f89b5642f49fbf794409e8ada7d63a9126b2c59832c2a92d5b22
|
38
31
|
filename: appsignal-i686-linux-all-static.tar.gz
|
39
32
|
dynamic:
|
40
|
-
checksum:
|
33
|
+
checksum: aedf259de392ea00fd17bc30924cde70d9a1d82a62c6eeefc881cd5ea5dcce63
|
41
34
|
filename: appsignal-i686-linux-all-dynamic.tar.gz
|
42
35
|
x86_64-linux:
|
43
36
|
static:
|
44
|
-
checksum:
|
37
|
+
checksum: 7e3cf760f9bd364a6602f05e5014ce1c8e8ac9a97f7a533769711e0fb21e1f45
|
45
38
|
filename: appsignal-x86_64-linux-all-static.tar.gz
|
46
39
|
dynamic:
|
47
|
-
checksum:
|
40
|
+
checksum: 4a9a4ea22abc93c3afa7d5bfd6f442cd69bf4d672e8db2df1aa2157cfb3fcc4b
|
48
41
|
filename: appsignal-x86_64-linux-all-dynamic.tar.gz
|
49
42
|
x86_64-linux-musl:
|
50
43
|
static:
|
51
|
-
checksum:
|
44
|
+
checksum: 4d4dd00607cbe0fb4d14a15e74990f207eba90134c2d1a079b58f0d50f1ab76b
|
52
45
|
filename: appsignal-x86_64-linux-musl-all-static.tar.gz
|
53
46
|
dynamic:
|
54
|
-
checksum:
|
47
|
+
checksum: 067a6d821e220c9c88ceb8f936390ce458fa94f41c13d32603d773485a8cdfd2
|
55
48
|
filename: appsignal-x86_64-linux-musl-all-dynamic.tar.gz
|
56
49
|
x86_64-freebsd:
|
57
50
|
static:
|
58
|
-
checksum:
|
51
|
+
checksum: 176bc1ff1ad40a585ea10456a8ae3f6502c614d713dcbb957d550fa1ae44e7ca
|
59
52
|
filename: appsignal-x86_64-freebsd-all-static.tar.gz
|
60
53
|
dynamic:
|
61
|
-
checksum:
|
54
|
+
checksum: 88c6f3e03f8f6c25a4705f7d6c4286eaa563069a9fb8fad3c0a19e5b9a09f80b
|
62
55
|
filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
63
56
|
amd64-freebsd:
|
64
57
|
static:
|
65
|
-
checksum:
|
58
|
+
checksum: 176bc1ff1ad40a585ea10456a8ae3f6502c614d713dcbb957d550fa1ae44e7ca
|
66
59
|
filename: appsignal-x86_64-freebsd-all-static.tar.gz
|
67
60
|
dynamic:
|
68
|
-
checksum:
|
61
|
+
checksum: 88c6f3e03f8f6c25a4705f7d6c4286eaa563069a9fb8fad3c0a19e5b9a09f80b
|
69
62
|
filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
data/lib/appsignal/hooks.rb
CHANGED
@@ -7,7 +7,7 @@ module Appsignal
|
|
7
7
|
# @api private
|
8
8
|
module PadrinoPlugin
|
9
9
|
def self.init
|
10
|
-
Appsignal.logger.
|
10
|
+
Appsignal.logger.debug("Loading Padrino (#{Padrino::VERSION}) integration")
|
11
11
|
|
12
12
|
root = Padrino.mounted_root
|
13
13
|
Appsignal.config = Appsignal::Config.new(root, Padrino.env)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
Appsignal.logger.
|
3
|
+
Appsignal.logger.debug("Loading Rails (#{Rails.version}) integration")
|
4
4
|
|
5
5
|
require "appsignal/utils/rails_helper"
|
6
6
|
require "appsignal/rack/rails_instrumentation"
|
@@ -3,7 +3,7 @@
|
|
3
3
|
require "appsignal"
|
4
4
|
require "appsignal/rack/sinatra_instrumentation"
|
5
5
|
|
6
|
-
Appsignal.logger.
|
6
|
+
Appsignal.logger.debug("Loading Sinatra (#{Sinatra::VERSION}) integration")
|
7
7
|
|
8
8
|
app_settings = ::Sinatra::Application.settings
|
9
9
|
Appsignal.config = Appsignal::Config.new(
|
data/lib/appsignal/version.rb
CHANGED
data/mono.yml
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
---
|
2
|
+
language: ruby
|
3
|
+
repo: "https://github.com/appsignal/appsignal-ruby"
|
4
|
+
bootstrap:
|
5
|
+
post:
|
6
|
+
- "rake extension:install"
|
7
|
+
clean:
|
8
|
+
post:
|
9
|
+
- "bundle exec rake extension:clean"
|
10
|
+
- "rm -rf pkg"
|
11
|
+
build:
|
12
|
+
command: "bundle exec rake build:all"
|
13
|
+
publish:
|
14
|
+
gem_files_dir: pkg/
|
15
|
+
test:
|
16
|
+
command: "bundle exec rake test"
|
@@ -115,6 +115,7 @@ describe Appsignal::CLI::Diagnose, :api_stub => true, :send_report => :yes_cli_i
|
|
115
115
|
it "logs to the log file" do
|
116
116
|
run
|
117
117
|
log_contents = File.read(config.log_file_path)
|
118
|
+
p log_contents
|
118
119
|
expect(log_contents).to contains_log :info, "Starting AppSignal diagnose"
|
119
120
|
end
|
120
121
|
|
@@ -68,7 +68,10 @@ describe Appsignal::Hooks do
|
|
68
68
|
expect(Appsignal::Hooks.hooks[:mock_error_hook].installed?).to be_falsy
|
69
69
|
|
70
70
|
expect(Appsignal.logger).to receive(:error).with("Error while installing mock_error_hook hook: error").once
|
71
|
-
expect(Appsignal.logger).to receive(:debug).
|
71
|
+
expect(Appsignal.logger).to receive(:debug).ordered do |message|
|
72
|
+
expect(message).to eq("Installing mock_error_hook hook")
|
73
|
+
end
|
74
|
+
expect(Appsignal.logger).to receive(:debug).ordered do |message|
|
72
75
|
# Start of the error backtrace as debug log
|
73
76
|
expect(message).to start_with(File.expand_path("../../../../", __FILE__))
|
74
77
|
end
|
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.0.4
|
4
|
+
version: 3.0.4
|
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: 2021-
|
13
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -266,6 +266,7 @@ files:
|
|
266
266
|
- lib/appsignal/version.rb
|
267
267
|
- lib/puma/plugin/appsignal.rb
|
268
268
|
- lib/sequel/extensions/appsignal_integration.rb
|
269
|
+
- mono.yml
|
269
270
|
- resources/appsignal.yml.erb
|
270
271
|
- resources/cacert.pem
|
271
272
|
- spec/.rubocop.yml
|
@@ -407,11 +408,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
407
408
|
version: '2.0'
|
408
409
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
409
410
|
requirements:
|
410
|
-
- - "
|
411
|
+
- - ">="
|
411
412
|
- !ruby/object:Gem::Version
|
412
|
-
version:
|
413
|
+
version: '0'
|
413
414
|
requirements: []
|
414
|
-
rubygems_version: 3.2.
|
415
|
+
rubygems_version: 3.2.17
|
415
416
|
signing_key:
|
416
417
|
specification_version: 4
|
417
418
|
summary: Logs performance and exception data from your app to appsignal.com
|