appsignal 3.13.1 → 3.13.2
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/.github/workflows/ci.yml +1 -0
- data/CHANGELOG.md +14 -0
- data/build_matrix.yml +1 -1
- data/ext/agent.rb +30 -30
- data/gemfiles/grape.gemfile +5 -1
- data/gemfiles/rails-6.0.gemfile +4 -0
- data/gemfiles/rails-6.1.gemfile +4 -0
- data/gemfiles/rails-7.1.gemfile +6 -1
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/cli/diagnose_spec.rb +11 -3
- data/spec/support/helpers/config_helpers.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b995a55386682f27eef827ecb03a54d42bd5404eb221f96d5e7e37ac75d8edbe
|
|
4
|
+
data.tar.gz: fde79bb04e3c56638e423457f82e277f39d5923fd81ed8b9910d8f05ef435081
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c2639031fc4a9203472f4eb702c5cb78380375cc0bf66e4f7e53cd5c6969e9d4c37ad553d6a6e909040a8527a83548162f90ed5b2ed723ac660d581effb3503
|
|
7
|
+
data.tar.gz: 639b735d12b35a99ef44bf2fb678993bac4cce2c8e14c4bb6596d5684768855eb48ce57772ccb91f79c2ef00296f54a5884da14912b18e5da1860ebf00a72bf3
|
data/.github/workflows/ci.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
|
2
2
|
|
|
3
|
+
## 3.13.2
|
|
4
|
+
|
|
5
|
+
_Published on 2026-09-09._
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Update the agent to handle high traffic apps. On high-traffic apps that would exceed the maximum accepted internal payload size, send data to the Push API more frequently. (patch [c69fbf57](https://github.com/appsignal/appsignal-ruby/commit/c69fbf57242b13c86af2196baae8f295285de947))
|
|
10
|
+
- Update the agent from version 0.35.19 to version 0.37.0. The 3.x series of the Ruby gem was several agent releases behind, so this update also brings the improvements from every agent release in between. Those include better sanitisation of SQL queries, host metric collection that keeps working when a disk mount is frozen, and no more leftover `[timeout]` processes on Alpine Linux containers. (patch [c69fbf57](https://github.com/appsignal/appsignal-ruby/commit/c69fbf57242b13c86af2196baae8f295285de947))
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fix events showing as unknown in long-running applications. An application process that kept running for thirty days without restarting could lose the names and queries of the events it recorded, both in slow traces and in the "Slow events" panel. (patch [c69fbf57](https://github.com/appsignal/appsignal-ruby/commit/c69fbf57242b13c86af2196baae8f295285de947))
|
|
15
|
+
- Prevent `gc` events from appearing in the "Slow events" panel. (patch [c69fbf57](https://github.com/appsignal/appsignal-ruby/commit/c69fbf57242b13c86af2196baae8f295285de947))
|
|
16
|
+
|
|
3
17
|
## 3.13.1
|
|
4
18
|
|
|
5
19
|
_Published on 2024-08-23._
|
data/build_matrix.yml
CHANGED
data/ext/agent.rb
CHANGED
|
@@ -1,144 +1,144 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
# DO NOT EDIT
|
|
4
|
-
# This is a generated file by the `rake
|
|
4
|
+
# This is a generated file by the `rake publish` family of tasks in the
|
|
5
5
|
# appsignal-agent repository.
|
|
6
6
|
# Modifications to this file will be overwritten with the next agent release.
|
|
7
7
|
|
|
8
8
|
APPSIGNAL_AGENT_CONFIG = {
|
|
9
|
-
"version" => "0.
|
|
9
|
+
"version" => "0.37.0",
|
|
10
10
|
"mirrors" => [
|
|
11
|
-
"https://
|
|
12
|
-
"https://
|
|
11
|
+
"https://d135dj0rjqvssy.cloudfront.net",
|
|
12
|
+
"https://appsignal-agent-releases.global.ssl.fastly.net"
|
|
13
13
|
],
|
|
14
14
|
"triples" => {
|
|
15
15
|
"x86_64-darwin" => {
|
|
16
16
|
"static" => {
|
|
17
|
-
"checksum" => "
|
|
17
|
+
"checksum" => "1c05ef4cd4f0d0646bbc00a61568448cafd6c8cd23e152a4d7e22bab7e733cf1",
|
|
18
18
|
"filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
|
|
19
19
|
},
|
|
20
20
|
"dynamic" => {
|
|
21
|
-
"checksum" => "
|
|
21
|
+
"checksum" => "0c74689a0bc204e0ce462c875f46ea458aa63705956f1adb9daa72dbce47e736",
|
|
22
22
|
"filename" => "appsignal-x86_64-darwin-all-dynamic.tar.gz"
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"universal-darwin" => {
|
|
26
26
|
"static" => {
|
|
27
|
-
"checksum" => "
|
|
27
|
+
"checksum" => "1c05ef4cd4f0d0646bbc00a61568448cafd6c8cd23e152a4d7e22bab7e733cf1",
|
|
28
28
|
"filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
|
|
29
29
|
},
|
|
30
30
|
"dynamic" => {
|
|
31
|
-
"checksum" => "
|
|
31
|
+
"checksum" => "0c74689a0bc204e0ce462c875f46ea458aa63705956f1adb9daa72dbce47e736",
|
|
32
32
|
"filename" => "appsignal-x86_64-darwin-all-dynamic.tar.gz"
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"aarch64-darwin" => {
|
|
36
36
|
"static" => {
|
|
37
|
-
"checksum" => "
|
|
37
|
+
"checksum" => "031d0f3c32302271274d1e602c9cecb2b037e9dd338001901ff4ed4d0e457075",
|
|
38
38
|
"filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
|
|
39
39
|
},
|
|
40
40
|
"dynamic" => {
|
|
41
|
-
"checksum" => "
|
|
41
|
+
"checksum" => "5aadc22281991a97250bd6bf12dd5dd764ffc4da72301d745f86d63542159436",
|
|
42
42
|
"filename" => "appsignal-aarch64-darwin-all-dynamic.tar.gz"
|
|
43
43
|
}
|
|
44
44
|
},
|
|
45
45
|
"arm64-darwin" => {
|
|
46
46
|
"static" => {
|
|
47
|
-
"checksum" => "
|
|
47
|
+
"checksum" => "031d0f3c32302271274d1e602c9cecb2b037e9dd338001901ff4ed4d0e457075",
|
|
48
48
|
"filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
|
|
49
49
|
},
|
|
50
50
|
"dynamic" => {
|
|
51
|
-
"checksum" => "
|
|
51
|
+
"checksum" => "5aadc22281991a97250bd6bf12dd5dd764ffc4da72301d745f86d63542159436",
|
|
52
52
|
"filename" => "appsignal-aarch64-darwin-all-dynamic.tar.gz"
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"arm-darwin" => {
|
|
56
56
|
"static" => {
|
|
57
|
-
"checksum" => "
|
|
57
|
+
"checksum" => "031d0f3c32302271274d1e602c9cecb2b037e9dd338001901ff4ed4d0e457075",
|
|
58
58
|
"filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
|
|
59
59
|
},
|
|
60
60
|
"dynamic" => {
|
|
61
|
-
"checksum" => "
|
|
61
|
+
"checksum" => "5aadc22281991a97250bd6bf12dd5dd764ffc4da72301d745f86d63542159436",
|
|
62
62
|
"filename" => "appsignal-aarch64-darwin-all-dynamic.tar.gz"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"aarch64-linux" => {
|
|
66
66
|
"static" => {
|
|
67
|
-
"checksum" => "
|
|
67
|
+
"checksum" => "48499ed06fda433dc7347a4a3d23944d0bfb31604e5d7f52db0a0bbe437f8e03",
|
|
68
68
|
"filename" => "appsignal-aarch64-linux-all-static.tar.gz"
|
|
69
69
|
},
|
|
70
70
|
"dynamic" => {
|
|
71
|
-
"checksum" => "
|
|
71
|
+
"checksum" => "d943b05951cce5d797c0fe7aeacafc9b6870a0d72aa7869b9aa16f5add82fcc6",
|
|
72
72
|
"filename" => "appsignal-aarch64-linux-all-dynamic.tar.gz"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
"i686-linux" => {
|
|
76
76
|
"static" => {
|
|
77
|
-
"checksum" => "
|
|
77
|
+
"checksum" => "41600ba4171cb8549ff9c8b675e9b4ef100eb7ef0a001a970964af04dc209738",
|
|
78
78
|
"filename" => "appsignal-i686-linux-all-static.tar.gz"
|
|
79
79
|
},
|
|
80
80
|
"dynamic" => {
|
|
81
|
-
"checksum" => "
|
|
81
|
+
"checksum" => "ada062a08dc531421141330764e4a0b9a05b34b52b922c1c705ffbac604eb332",
|
|
82
82
|
"filename" => "appsignal-i686-linux-all-dynamic.tar.gz"
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"x86-linux" => {
|
|
86
86
|
"static" => {
|
|
87
|
-
"checksum" => "
|
|
87
|
+
"checksum" => "41600ba4171cb8549ff9c8b675e9b4ef100eb7ef0a001a970964af04dc209738",
|
|
88
88
|
"filename" => "appsignal-i686-linux-all-static.tar.gz"
|
|
89
89
|
},
|
|
90
90
|
"dynamic" => {
|
|
91
|
-
"checksum" => "
|
|
91
|
+
"checksum" => "ada062a08dc531421141330764e4a0b9a05b34b52b922c1c705ffbac604eb332",
|
|
92
92
|
"filename" => "appsignal-i686-linux-all-dynamic.tar.gz"
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
95
|
"x86_64-linux" => {
|
|
96
96
|
"static" => {
|
|
97
|
-
"checksum" => "
|
|
97
|
+
"checksum" => "8240c494573360ad147aa56a973fe809bf1f3976383b8cd990fc0824e5554913",
|
|
98
98
|
"filename" => "appsignal-x86_64-linux-all-static.tar.gz"
|
|
99
99
|
},
|
|
100
100
|
"dynamic" => {
|
|
101
|
-
"checksum" => "
|
|
101
|
+
"checksum" => "ec07ea8188c3589c7c9a401d7555b51fdd052f07b05fc62e3801288493f85ca8",
|
|
102
102
|
"filename" => "appsignal-x86_64-linux-all-dynamic.tar.gz"
|
|
103
103
|
}
|
|
104
104
|
},
|
|
105
105
|
"x86_64-linux-musl" => {
|
|
106
106
|
"static" => {
|
|
107
|
-
"checksum" => "
|
|
107
|
+
"checksum" => "39de4602e300f701ed28748bd1c523bedf44f2d0f6241fffe370485185a895cc",
|
|
108
108
|
"filename" => "appsignal-x86_64-linux-musl-all-static.tar.gz"
|
|
109
109
|
},
|
|
110
110
|
"dynamic" => {
|
|
111
|
-
"checksum" => "
|
|
111
|
+
"checksum" => "8a9fd74a6a7589b842a8297025656e7ccc995c9df40c09cf45b39382d3d4a507",
|
|
112
112
|
"filename" => "appsignal-x86_64-linux-musl-all-dynamic.tar.gz"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"aarch64-linux-musl" => {
|
|
116
116
|
"static" => {
|
|
117
|
-
"checksum" => "
|
|
117
|
+
"checksum" => "13fa41ad765a9c79f374dad4d131e7860afb8760c11508af1de982580798a3bc",
|
|
118
118
|
"filename" => "appsignal-aarch64-linux-musl-all-static.tar.gz"
|
|
119
119
|
},
|
|
120
120
|
"dynamic" => {
|
|
121
|
-
"checksum" => "
|
|
121
|
+
"checksum" => "8193f5925818164390aac737d15a3d86706fce7aad81c4d5e84a3b0552b407a5",
|
|
122
122
|
"filename" => "appsignal-aarch64-linux-musl-all-dynamic.tar.gz"
|
|
123
123
|
}
|
|
124
124
|
},
|
|
125
125
|
"x86_64-freebsd" => {
|
|
126
126
|
"static" => {
|
|
127
|
-
"checksum" => "
|
|
127
|
+
"checksum" => "c519b132c7a1de2a8dbb8c36d87fe91b4c0451d2c65d8bd4f44b748bb2ad2904",
|
|
128
128
|
"filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
|
|
129
129
|
},
|
|
130
130
|
"dynamic" => {
|
|
131
|
-
"checksum" => "
|
|
131
|
+
"checksum" => "fb5ea3aac557543de74842d668c66ede00d125e1e86f601fa5ffe002edbd6c62",
|
|
132
132
|
"filename" => "appsignal-x86_64-freebsd-all-dynamic.tar.gz"
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
"amd64-freebsd" => {
|
|
136
136
|
"static" => {
|
|
137
|
-
"checksum" => "
|
|
137
|
+
"checksum" => "c519b132c7a1de2a8dbb8c36d87fe91b4c0451d2c65d8bd4f44b748bb2ad2904",
|
|
138
138
|
"filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
|
|
139
139
|
},
|
|
140
140
|
"dynamic" => {
|
|
141
|
-
"checksum" => "
|
|
141
|
+
"checksum" => "fb5ea3aac557543de74842d668c66ede00d125e1e86f601fa5ffe002edbd6c62",
|
|
142
142
|
"filename" => "appsignal-x86_64-freebsd-all-dynamic.tar.gz"
|
|
143
143
|
}
|
|
144
144
|
}
|
data/gemfiles/grape.gemfile
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
source "https://rubygems.org"
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# The Grape middleware here is written against Grape 2, and the
|
|
4
|
+
# ActiveSupport::Notifications hook against ActiveSupport 7.1. Cap both,
|
|
5
|
+
# because an unpinned Grape pulls in newer versions of each.
|
|
6
|
+
gem "grape", "< 3"
|
|
7
|
+
gem "activesupport", "< 7.2"
|
|
4
8
|
|
|
5
9
|
gemspec :path => "../"
|
data/gemfiles/rails-6.0.gemfile
CHANGED
|
@@ -3,6 +3,10 @@ source "https://rubygems.org"
|
|
|
3
3
|
gem "rails", "~> 6.0.0"
|
|
4
4
|
gem "sidekiq"
|
|
5
5
|
|
|
6
|
+
# concurrent-ruby 1.3.5 stopped requiring logger, which this version of
|
|
7
|
+
# ActiveSupport relies on it doing.
|
|
8
|
+
gem "concurrent-ruby", "< 1.3.5"
|
|
9
|
+
|
|
6
10
|
# Fix install issue for jruby on gem 3.1.8.
|
|
7
11
|
# No java stub is published.
|
|
8
12
|
gem "bigdecimal", "3.1.7" if RUBY_PLATFORM == "java"
|
data/gemfiles/rails-6.1.gemfile
CHANGED
|
@@ -4,6 +4,10 @@ gem "net-smtp", :require => false
|
|
|
4
4
|
gem "rails", "~> 6.1.0"
|
|
5
5
|
gem "sidekiq"
|
|
6
6
|
|
|
7
|
+
# concurrent-ruby 1.3.5 stopped requiring logger, which this version of
|
|
8
|
+
# ActiveSupport relies on it doing.
|
|
9
|
+
gem "concurrent-ruby", "< 1.3.5"
|
|
10
|
+
|
|
7
11
|
# Fix install issue for jruby on gem 3.1.8.
|
|
8
12
|
# No java stub is published.
|
|
9
13
|
gem "bigdecimal", "3.1.7" if RUBY_PLATFORM == "java"
|
data/gemfiles/rails-7.1.gemfile
CHANGED
|
@@ -2,7 +2,12 @@ source "https://rubygems.org"
|
|
|
2
2
|
|
|
3
3
|
gem "rails", "~> 7.1.0"
|
|
4
4
|
gem "rake", "> 12.2"
|
|
5
|
-
|
|
5
|
+
# The Sidekiq probe specs stub Sidekiq with a mock of its version 7 API.
|
|
6
|
+
gem "sidekiq", "< 8"
|
|
7
|
+
|
|
8
|
+
# JRuby activates the jar-dependencies it ships with before Bundler
|
|
9
|
+
# resolves the newer one that psych asks for.
|
|
10
|
+
gem "jar-dependencies", "0.4.1" if RUBY_PLATFORM == "java"
|
|
6
11
|
|
|
7
12
|
# Fix install issue for jruby on gem 3.1.8.
|
|
8
13
|
# No java stub is published.
|
data/lib/appsignal/version.rb
CHANGED
|
@@ -466,6 +466,15 @@ describe Appsignal::CLI::Diagnose, :api_stub => true, :send_report => :yes_cli_i
|
|
|
466
466
|
end
|
|
467
467
|
|
|
468
468
|
context "when the extension returns invalid JSON" do
|
|
469
|
+
# The JSON gem reworded this error in version 2.10. Accept the wording
|
|
470
|
+
# from before that release and the wording from after it.
|
|
471
|
+
let(:parse_error) do
|
|
472
|
+
Regexp.union(
|
|
473
|
+
"unexpected token at 'invalid agent\njson'",
|
|
474
|
+
"unexpected character: 'invalid' at line 1 column 1"
|
|
475
|
+
)
|
|
476
|
+
end
|
|
477
|
+
|
|
469
478
|
before do
|
|
470
479
|
expect(Appsignal::Extension).to receive(:diagnose).and_return("invalid agent\njson")
|
|
471
480
|
run
|
|
@@ -476,12 +485,11 @@ describe Appsignal::CLI::Diagnose, :api_stub => true, :send_report => :yes_cli_i
|
|
|
476
485
|
"Agent diagnostics",
|
|
477
486
|
" Error while parsing agent diagnostics report:",
|
|
478
487
|
" Output: invalid agent\njson"
|
|
479
|
-
expect(output).to match(/Error:( \d+:)?
|
|
488
|
+
expect(output).to match(/Error:( \d+:)? #{parse_error}/)
|
|
480
489
|
end
|
|
481
490
|
|
|
482
491
|
it "adds the output to the report" do
|
|
483
|
-
expect(received_report["agent"]["error"])
|
|
484
|
-
.to match(/unexpected token at 'invalid agent\njson'/)
|
|
492
|
+
expect(received_report["agent"]["error"]).to match(parse_error)
|
|
485
493
|
expect(received_report["agent"]["output"]).to eq(["invalid agent", "json"])
|
|
486
494
|
end
|
|
487
495
|
end
|
metadata
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: appsignal
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.13.
|
|
4
|
+
version: 3.13.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Beekman
|
|
8
8
|
- Thijs Cadier
|
|
9
9
|
- Tom de Bruijn
|
|
10
|
-
autorequire:
|
|
11
10
|
bindir: bin
|
|
12
11
|
cert_chain: []
|
|
13
|
-
date:
|
|
12
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
14
13
|
dependencies:
|
|
15
14
|
- !ruby/object:Gem::Dependency
|
|
16
15
|
name: rack
|
|
@@ -473,7 +472,6 @@ metadata:
|
|
|
473
472
|
documentation_uri: https://docs.appsignal.com/ruby/
|
|
474
473
|
homepage_uri: https://docs.appsignal.com/ruby/
|
|
475
474
|
source_code_uri: https://github.com/appsignal/appsignal-ruby
|
|
476
|
-
post_install_message:
|
|
477
475
|
rdoc_options: []
|
|
478
476
|
require_paths:
|
|
479
477
|
- lib
|
|
@@ -489,8 +487,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
489
487
|
- !ruby/object:Gem::Version
|
|
490
488
|
version: '0'
|
|
491
489
|
requirements: []
|
|
492
|
-
rubygems_version: 3.
|
|
493
|
-
signing_key:
|
|
490
|
+
rubygems_version: 3.6.9
|
|
494
491
|
specification_version: 4
|
|
495
492
|
summary: Logs performance and exception data from your app to appsignal.com
|
|
496
493
|
test_files: []
|