appsignal 3.0.21-java → 3.0.24-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +29 -0
- data/appsignal.gemspec +1 -1
- data/ext/agent.yml +25 -25
- data/lib/appsignal/hooks/active_job.rb +4 -2
- data/lib/appsignal/utils/query_params_sanitizer.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/event_formatter/moped/query_formatter_spec.rb +1 -1
- data/spec/lib/appsignal/integrations/padrino_spec.rb +1 -1
- data/spec/lib/appsignal/utils/query_params_sanitizer_spec.rb +5 -5
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8aa21a9008de8449831a37ad9605367b86e8fb27e480a215108229217a65134a
|
4
|
+
data.tar.gz: 9b2ed342eb75461e8c19788789ca254dadbfc6d97ec1eb226438d3c4b91c25c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eda047de46e8396a5682cda200980f92dfd0769e0f12ec4eb60a140fa8e594297d4181c840d20d62164f1b64498e829f8df23caf6cbe6541525d2f601f44f21c
|
7
|
+
data.tar.gz: 7c7a6df9b85a50d3f56853a5ba3f7412a09a68312db3703a7c4937afa440157fc04a4b6931184f1039d5fbb22b37c35e346f88a2f917ee032cb7aea32de2868c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,30 @@
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
2
2
|
|
3
|
+
## 3.0.24
|
4
|
+
|
5
|
+
### Changed
|
6
|
+
|
7
|
+
- [964861f7](https://github.com/appsignal/appsignal-ruby/commit/964861f76ea7ff71f01497f116def14190bcd404) patch - Bump agent to v-f57e6cb
|
8
|
+
|
9
|
+
- Enable process metrics on Heroku and Dokku
|
10
|
+
|
11
|
+
## 3.0.23
|
12
|
+
|
13
|
+
### Fixed
|
14
|
+
|
15
|
+
- [d73905d3](https://github.com/appsignal/appsignal-ruby/commit/d73905d3b28404638a8aa1e8de3909eff0b8cfb6) patch - Fix sanitized values wrapped in Arrays. When a value like `[{ "foo" => "bar" }]` was sanitized it would be stored as `{ "foo" => "?" }`, omitting the parent value's Array square brackets. Now values will appear with the same structure as they were originally sanitized. This only applies to certain integrations like MongoDB, moped and ElasticSearch.
|
16
|
+
- [096d3cdf](https://github.com/appsignal/appsignal-ruby/commit/096d3cdfd8f452f13b2dbf7de6b763c8a96973b3) patch - Fix the ActiveJob `default_queue_name` config option issue being reset to "default". When ActiveJob `default_queue_name` was set in a Rails initializer it would reset on load to `default`. Now the `default_queue_name` can be set in an initializer as well.
|
17
|
+
|
18
|
+
## 3.0.22
|
19
|
+
|
20
|
+
### Changed
|
21
|
+
|
22
|
+
- [9762e79d](https://github.com/appsignal/appsignal-ruby/commit/9762e79d4545e50c8f3540deff825b10d77e59a5) patch - Bump agent to v-bbc830a
|
23
|
+
|
24
|
+
- Support batched statsd messages
|
25
|
+
- Set start times for spans with traceparents
|
26
|
+
- Check duration in transactions for negative and too high value
|
27
|
+
|
3
28
|
## 3.0.21
|
4
29
|
|
5
30
|
### Changed
|
@@ -201,6 +226,10 @@ Please read our [upgrade from version 2 to 3 guide][upgrade3] before upgrading.
|
|
201
226
|
- Add Sidekiq error handler. Report more Sidekiq errors that happen around job
|
202
227
|
execution. PR #699
|
203
228
|
|
229
|
+
## 2.11.10
|
230
|
+
- Backport extension fallbacks on extension installation failure, that caused
|
231
|
+
NoMethodErrors. PR #736
|
232
|
+
|
204
233
|
## 2.11.9
|
205
234
|
- Fix and simplify Ruby method delegation for object method instrumentation in
|
206
235
|
the different Ruby versions. PR #706
|
data/appsignal.gemspec
CHANGED
@@ -36,7 +36,7 @@ Gem::Specification.new do |gem| # rubocop:disable Metrics/BlockLength
|
|
36
36
|
|
37
37
|
gem.add_dependency "rack"
|
38
38
|
|
39
|
-
gem.add_development_dependency "rake", "
|
39
|
+
gem.add_development_dependency "rake", ">= 12"
|
40
40
|
gem.add_development_dependency "rspec", "~> 3.8"
|
41
41
|
gem.add_development_dependency "timecop"
|
42
42
|
gem.add_development_dependency "webmock"
|
data/ext/agent.yml
CHANGED
@@ -3,92 +3,92 @@
|
|
3
3
|
# appsignal-agent repository.
|
4
4
|
# Modifications to this file will be overwritten with the next agent release.
|
5
5
|
---
|
6
|
-
version:
|
6
|
+
version: f57e6cb
|
7
7
|
mirrors:
|
8
8
|
- https://appsignal-agent-releases.global.ssl.fastly.net
|
9
9
|
- https://d135dj0rjqvssy.cloudfront.net
|
10
10
|
triples:
|
11
11
|
x86_64-darwin:
|
12
12
|
static:
|
13
|
-
checksum:
|
13
|
+
checksum: dd1ae8d7897edf3112741381226e3622e91553dede6eeae48ca07aae84ac050d
|
14
14
|
filename: appsignal-x86_64-darwin-all-static.tar.gz
|
15
15
|
dynamic:
|
16
|
-
checksum:
|
16
|
+
checksum: a523a85f76bdb37ffcacbf14279c3c7fed0378fbcfd20886ab66ee7602766e72
|
17
17
|
filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
|
18
18
|
universal-darwin:
|
19
19
|
static:
|
20
|
-
checksum:
|
20
|
+
checksum: dd1ae8d7897edf3112741381226e3622e91553dede6eeae48ca07aae84ac050d
|
21
21
|
filename: appsignal-x86_64-darwin-all-static.tar.gz
|
22
22
|
dynamic:
|
23
|
-
checksum:
|
23
|
+
checksum: a523a85f76bdb37ffcacbf14279c3c7fed0378fbcfd20886ab66ee7602766e72
|
24
24
|
filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
|
25
25
|
aarch64-darwin:
|
26
26
|
static:
|
27
|
-
checksum:
|
27
|
+
checksum: cd5175979ec293d0471c71de1fdd00817bea75f800603a1b87931b19471495f3
|
28
28
|
filename: appsignal-aarch64-darwin-all-static.tar.gz
|
29
29
|
dynamic:
|
30
|
-
checksum:
|
30
|
+
checksum: 77503ee5debad5f503719d5fe653f30c3b3bb6624694f48ef03352f575af97c0
|
31
31
|
filename: appsignal-aarch64-darwin-all-dynamic.tar.gz
|
32
32
|
arm64-darwin:
|
33
33
|
static:
|
34
|
-
checksum:
|
34
|
+
checksum: cd5175979ec293d0471c71de1fdd00817bea75f800603a1b87931b19471495f3
|
35
35
|
filename: appsignal-aarch64-darwin-all-static.tar.gz
|
36
36
|
dynamic:
|
37
|
-
checksum:
|
37
|
+
checksum: 77503ee5debad5f503719d5fe653f30c3b3bb6624694f48ef03352f575af97c0
|
38
38
|
filename: appsignal-aarch64-darwin-all-dynamic.tar.gz
|
39
39
|
arm-darwin:
|
40
40
|
static:
|
41
|
-
checksum:
|
41
|
+
checksum: cd5175979ec293d0471c71de1fdd00817bea75f800603a1b87931b19471495f3
|
42
42
|
filename: appsignal-aarch64-darwin-all-static.tar.gz
|
43
43
|
dynamic:
|
44
|
-
checksum:
|
44
|
+
checksum: 77503ee5debad5f503719d5fe653f30c3b3bb6624694f48ef03352f575af97c0
|
45
45
|
filename: appsignal-aarch64-darwin-all-dynamic.tar.gz
|
46
46
|
aarch64-linux:
|
47
47
|
static:
|
48
|
-
checksum:
|
48
|
+
checksum: ae899aba4fa260c1aa1d21cc8f2bf379a2b52596ef2979e9b9b70f0cd54872d4
|
49
49
|
filename: appsignal-aarch64-linux-all-static.tar.gz
|
50
50
|
dynamic:
|
51
|
-
checksum:
|
51
|
+
checksum: 848ab3df66cac4122133145738a380d3e4763e0bcb324cb0d7c0423741751d80
|
52
52
|
filename: appsignal-aarch64-linux-all-dynamic.tar.gz
|
53
53
|
i686-linux:
|
54
54
|
static:
|
55
|
-
checksum:
|
55
|
+
checksum: 3934810379bade5096a5f055450ddd38f60c1bb2fbc05bebcea92f8f7250a81e
|
56
56
|
filename: appsignal-i686-linux-all-static.tar.gz
|
57
57
|
dynamic:
|
58
|
-
checksum:
|
58
|
+
checksum: 2bd5207d0930f9ce262adcb955582c2a022de8872022a0ddd1ea15391339eb55
|
59
59
|
filename: appsignal-i686-linux-all-dynamic.tar.gz
|
60
60
|
x86-linux:
|
61
61
|
static:
|
62
|
-
checksum:
|
62
|
+
checksum: 3934810379bade5096a5f055450ddd38f60c1bb2fbc05bebcea92f8f7250a81e
|
63
63
|
filename: appsignal-i686-linux-all-static.tar.gz
|
64
64
|
dynamic:
|
65
|
-
checksum:
|
65
|
+
checksum: 2bd5207d0930f9ce262adcb955582c2a022de8872022a0ddd1ea15391339eb55
|
66
66
|
filename: appsignal-i686-linux-all-dynamic.tar.gz
|
67
67
|
x86_64-linux:
|
68
68
|
static:
|
69
|
-
checksum:
|
69
|
+
checksum: 956288a49717ea61ec303ef4ab52e7bfafea6e575a8bb9839df24b947d22d988
|
70
70
|
filename: appsignal-x86_64-linux-all-static.tar.gz
|
71
71
|
dynamic:
|
72
|
-
checksum:
|
72
|
+
checksum: abf290aa7ad7be1af54889c9dd70cf2f71902359cfc5f5ce64b53b8421914a51
|
73
73
|
filename: appsignal-x86_64-linux-all-dynamic.tar.gz
|
74
74
|
x86_64-linux-musl:
|
75
75
|
static:
|
76
|
-
checksum:
|
76
|
+
checksum: 5f96744692b6b079bd2b97ac6d8d5900123f108a27237664c88a49782b7ba433
|
77
77
|
filename: appsignal-x86_64-linux-musl-all-static.tar.gz
|
78
78
|
dynamic:
|
79
|
-
checksum:
|
79
|
+
checksum: c0a06de99d88a2e045b60d53319e1bbb8633127667fbe9f09e52f2bbaf6fb54d
|
80
80
|
filename: appsignal-x86_64-linux-musl-all-dynamic.tar.gz
|
81
81
|
x86_64-freebsd:
|
82
82
|
static:
|
83
|
-
checksum:
|
83
|
+
checksum: 23ea3fdcc5ae7dfdc85214c872ef928ed702c029b05c059db614583f689b9304
|
84
84
|
filename: appsignal-x86_64-freebsd-all-static.tar.gz
|
85
85
|
dynamic:
|
86
|
-
checksum:
|
86
|
+
checksum: 683cc20296ef05257c4209b3c5d86ef32b76be6ea75a1d1ec76db0163e729a38
|
87
87
|
filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
88
88
|
amd64-freebsd:
|
89
89
|
static:
|
90
|
-
checksum:
|
90
|
+
checksum: 23ea3fdcc5ae7dfdc85214c872ef928ed702c029b05c059db614583f689b9304
|
91
91
|
filename: appsignal-x86_64-freebsd-all-static.tar.gz
|
92
92
|
dynamic:
|
93
|
-
checksum:
|
93
|
+
checksum: 683cc20296ef05257c4209b3c5d86ef32b76be6ea75a1d1ec76db0163e729a38
|
94
94
|
filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
@@ -11,8 +11,10 @@ module Appsignal
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def install
|
14
|
-
|
15
|
-
|
14
|
+
ActiveSupport.on_load(:active_job) do
|
15
|
+
::ActiveJob::Base
|
16
|
+
.extend ::Appsignal::Hooks::ActiveJobHook::ActiveJobClassInstrumentation
|
17
|
+
end
|
16
18
|
end
|
17
19
|
|
18
20
|
module ActiveJobClassInstrumentation
|
@@ -35,7 +35,7 @@ module Appsignal
|
|
35
35
|
|
36
36
|
def sanitize_array(array, only_top_level, key_sanitizer)
|
37
37
|
if only_top_level
|
38
|
-
sanitize(array[0], only_top_level, key_sanitizer)
|
38
|
+
[sanitize(array[0], only_top_level, key_sanitizer)]
|
39
39
|
else
|
40
40
|
array.map do |value|
|
41
41
|
sanitize(value, only_top_level, key_sanitizer)
|
data/lib/appsignal/version.rb
CHANGED
@@ -76,7 +76,7 @@ describe Appsignal::EventFormatter::Moped::QueryFormatter do
|
|
76
76
|
)
|
77
77
|
end
|
78
78
|
|
79
|
-
it { is_expected.to eq ["Insert", '{:database=>"database.collection", :documents=>{"_id"=>"?", "events"=>"?"}, :count=>2, :flags=>[]}'] }
|
79
|
+
it { is_expected.to eq ["Insert", '{:database=>"database.collection", :documents=>[{"_id"=>"?", "events"=>"?"}], :count=>2, :flags=>[]}'] }
|
80
80
|
end
|
81
81
|
|
82
82
|
context "Moped::Protocol::Update" do
|
@@ -148,7 +148,7 @@ if DependencyHelper.padrino_present?
|
|
148
148
|
expect_a_transaction_to_be_created
|
149
149
|
# Uses path for action name
|
150
150
|
expect(transaction).to receive(:set_action_if_nil).with("PadrinoTestApp#unknown")
|
151
|
-
expect(response).to match_response(404,
|
151
|
+
expect(response).to match_response(404, /^GET /404/)
|
152
152
|
end
|
153
153
|
end
|
154
154
|
|
@@ -33,7 +33,7 @@ describe Appsignal::Utils::QueryParamsSanitizer do
|
|
33
33
|
let(:value) { ["foo" => "bar"] }
|
34
34
|
|
35
35
|
it "should sanitize all hash values with a questionmark" do
|
36
|
-
expect(subject).to eq("foo" => "?")
|
36
|
+
expect(subject).to eq(["foo" => "?"])
|
37
37
|
end
|
38
38
|
|
39
39
|
it "should not modify source value" do
|
@@ -45,8 +45,8 @@ describe Appsignal::Utils::QueryParamsSanitizer do
|
|
45
45
|
context "when value is an array" do
|
46
46
|
let(:value) { %w[foo bar] }
|
47
47
|
|
48
|
-
it "
|
49
|
-
expect(subject).to eq("?")
|
48
|
+
it "sanitizes all array values" do
|
49
|
+
expect(subject).to eq(["?"])
|
50
50
|
end
|
51
51
|
|
52
52
|
it "should not modify source value" do
|
@@ -58,8 +58,8 @@ describe Appsignal::Utils::QueryParamsSanitizer do
|
|
58
58
|
context "when value is a mixed array" do
|
59
59
|
let(:value) { [nil, "foo", "bar"] }
|
60
60
|
|
61
|
-
it "should sanitize all
|
62
|
-
expect(subject).to eq("?")
|
61
|
+
it "should sanitize all array values with a single questionmark" do
|
62
|
+
expect(subject).to eq(["?"])
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
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
|
+
version: 3.0.24
|
5
5
|
platform: java
|
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: 2022-02-
|
13
|
+
date: 2022-02-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -30,16 +30,16 @@ dependencies:
|
|
30
30
|
name: rake
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - "
|
33
|
+
- - ">="
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '12'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - "
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '12'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rspec
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -440,7 +440,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
440
440
|
- !ruby/object:Gem::Version
|
441
441
|
version: '0'
|
442
442
|
requirements: []
|
443
|
-
rubygems_version: 3.
|
443
|
+
rubygems_version: 3.3.6
|
444
444
|
signing_key:
|
445
445
|
specification_version: 4
|
446
446
|
summary: Logs performance and exception data from your app to appsignal.com
|