appsignal 3.13.1.alpha.1-java → 3.13.2-java

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4474d04aa8cac43116e1f76b81ac598579d8a4a05e2e0ec05daee757c9562de
4
- data.tar.gz: 45097354a9829e91237f2e1df8a2cd276e0f2e3a02313e15cfc9eb850402e8d2
3
+ metadata.gz: 24a64a57f8432f053f1ec910c5acb55394c1e72708ea74115bc7cb53feceacb7
4
+ data.tar.gz: fde79bb04e3c56638e423457f82e277f39d5923fd81ed8b9910d8f05ef435081
5
5
  SHA512:
6
- metadata.gz: 9acb2c77b143318a6690fe25f9b48d8b15275c155060b37fc0ee5cb4050758399fb7709255c9b53f7d4ffe04863d5635f12040a8cc485baf38ab394b7d4c0f15
7
- data.tar.gz: 70f260402383db4b540bb4c2842770b595f6249939c1c0ea5add11769ed0a853c9eb51474170c495e9b10ace9bee3b37c128daf9b4e72785d97554ad29ef8e19
6
+ metadata.gz: 8e24b5e2eace127a03e763ed8eda4436d53a34021bef79833bcc162633ee876ba64d0234865fea2782bbd881b62afb76e6a402c3c42714762a0533f514b2514a
7
+ data.tar.gz: 639b735d12b35a99ef44bf2fb678993bac4cce2c8e14c4bb6596d5684768855eb48ce57772ccb91f79c2ef00296f54a5884da14912b18e5da1860ebf00a72bf3
@@ -10,6 +10,7 @@ name: Ruby gem CI
10
10
  branches:
11
11
  - main
12
12
  - develop
13
+ - "*-stable"
13
14
  pull_request:
14
15
  types:
15
16
  - opened
data/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
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
+
17
+ ## 3.13.1
18
+
19
+ _Published on 2024-08-23._
20
+
21
+ ### Changed
22
+
23
+ - Release the final package version. See the pre-release changelog entries for the changes in this version. (patch)
24
+
3
25
  ## 3.13.1.alpha.1
4
26
 
5
27
  _Published on 2024-08-22._
data/build_matrix.yml CHANGED
@@ -2,7 +2,7 @@ github:
2
2
  name: Ruby gem CI
3
3
  "on":
4
4
  push:
5
- branches: ["main", "develop"]
5
+ branches: ["main", "develop", "*-stable"]
6
6
  pull_request:
7
7
  types: [opened, reopened, synchronize]
8
8
  schedule:
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 ship` family of tasks in the
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.35.19",
9
+ "version" => "0.37.0",
10
10
  "mirrors" => [
11
- "https://appsignal-agent-releases.global.ssl.fastly.net",
12
- "https://d135dj0rjqvssy.cloudfront.net"
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" => "0d465ca77500f7e9675d262a5ccd277fc3428821ac96f973b9941ad49a300ea9",
17
+ "checksum" => "1c05ef4cd4f0d0646bbc00a61568448cafd6c8cd23e152a4d7e22bab7e733cf1",
18
18
  "filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
19
19
  },
20
20
  "dynamic" => {
21
- "checksum" => "ff1b90c3c52e5b765dc8c43b2c0fe376a06101134ec5879d581642ed6837603e",
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" => "0d465ca77500f7e9675d262a5ccd277fc3428821ac96f973b9941ad49a300ea9",
27
+ "checksum" => "1c05ef4cd4f0d0646bbc00a61568448cafd6c8cd23e152a4d7e22bab7e733cf1",
28
28
  "filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
29
29
  },
30
30
  "dynamic" => {
31
- "checksum" => "ff1b90c3c52e5b765dc8c43b2c0fe376a06101134ec5879d581642ed6837603e",
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" => "7c735e7490d9d5313e76a0e0508f85983c98caceb0507afa3d8d34bb3b740627",
37
+ "checksum" => "031d0f3c32302271274d1e602c9cecb2b037e9dd338001901ff4ed4d0e457075",
38
38
  "filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
39
39
  },
40
40
  "dynamic" => {
41
- "checksum" => "c29689978f56904771c6caa151a35d8bea3ba4002b6e767ddc102f82d9909fa2",
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" => "7c735e7490d9d5313e76a0e0508f85983c98caceb0507afa3d8d34bb3b740627",
47
+ "checksum" => "031d0f3c32302271274d1e602c9cecb2b037e9dd338001901ff4ed4d0e457075",
48
48
  "filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
49
49
  },
50
50
  "dynamic" => {
51
- "checksum" => "c29689978f56904771c6caa151a35d8bea3ba4002b6e767ddc102f82d9909fa2",
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" => "7c735e7490d9d5313e76a0e0508f85983c98caceb0507afa3d8d34bb3b740627",
57
+ "checksum" => "031d0f3c32302271274d1e602c9cecb2b037e9dd338001901ff4ed4d0e457075",
58
58
  "filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
59
59
  },
60
60
  "dynamic" => {
61
- "checksum" => "c29689978f56904771c6caa151a35d8bea3ba4002b6e767ddc102f82d9909fa2",
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" => "6ed44186487547614b1a2d4f1c2fea4676f2b5829c8949ad86ca61a66db716e7",
67
+ "checksum" => "48499ed06fda433dc7347a4a3d23944d0bfb31604e5d7f52db0a0bbe437f8e03",
68
68
  "filename" => "appsignal-aarch64-linux-all-static.tar.gz"
69
69
  },
70
70
  "dynamic" => {
71
- "checksum" => "775399b3b559f1c8bd931fb835a88dee012fb62d580584b8e6f4d40ea24f6a0a",
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" => "608b8de770ddc9cbc9cae16f793c630079d640b3b77f3af2f854de474e8ef5de",
77
+ "checksum" => "41600ba4171cb8549ff9c8b675e9b4ef100eb7ef0a001a970964af04dc209738",
78
78
  "filename" => "appsignal-i686-linux-all-static.tar.gz"
79
79
  },
80
80
  "dynamic" => {
81
- "checksum" => "87e893f27ec2128d953c65c46dd0136a0dfab50eab18ec2a3a47cfff8068ca89",
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" => "608b8de770ddc9cbc9cae16f793c630079d640b3b77f3af2f854de474e8ef5de",
87
+ "checksum" => "41600ba4171cb8549ff9c8b675e9b4ef100eb7ef0a001a970964af04dc209738",
88
88
  "filename" => "appsignal-i686-linux-all-static.tar.gz"
89
89
  },
90
90
  "dynamic" => {
91
- "checksum" => "87e893f27ec2128d953c65c46dd0136a0dfab50eab18ec2a3a47cfff8068ca89",
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" => "4499818ce89075c7754e26c8915b452352a155619f2ce648232fad6480638f34",
97
+ "checksum" => "8240c494573360ad147aa56a973fe809bf1f3976383b8cd990fc0824e5554913",
98
98
  "filename" => "appsignal-x86_64-linux-all-static.tar.gz"
99
99
  },
100
100
  "dynamic" => {
101
- "checksum" => "70b60e4af4c17c569869293680f5d71ea3c3ab2be8a64dfa02421b431f6a5b7b",
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" => "ed3a557d8ae6aeb15597ff40dce3739c350053a24d163ddc362af20e7e9d4e1c",
107
+ "checksum" => "39de4602e300f701ed28748bd1c523bedf44f2d0f6241fffe370485185a895cc",
108
108
  "filename" => "appsignal-x86_64-linux-musl-all-static.tar.gz"
109
109
  },
110
110
  "dynamic" => {
111
- "checksum" => "594cb5216a260f315481e1c6d56af978716f2736653374c3ea52270a355e673d",
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" => "f18731c7c549cf635ec8b040c3dbd3cdc3285f0e240c2790a8c8003e0ff7cbee",
117
+ "checksum" => "13fa41ad765a9c79f374dad4d131e7860afb8760c11508af1de982580798a3bc",
118
118
  "filename" => "appsignal-aarch64-linux-musl-all-static.tar.gz"
119
119
  },
120
120
  "dynamic" => {
121
- "checksum" => "e7bb93dba7975920539e7d270752c690de9e1e292da5f9b2c0e66863b0c8caf7",
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" => "fa2c007ca5cb40ac75b7c147d18460edcb0d948648286debc03d4f5afda469f1",
127
+ "checksum" => "c519b132c7a1de2a8dbb8c36d87fe91b4c0451d2c65d8bd4f44b748bb2ad2904",
128
128
  "filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
129
129
  },
130
130
  "dynamic" => {
131
- "checksum" => "e0e3b59374e7b32eefcc7877a81d0d4d3bcf0d756d7e8cbff3a44444506fa00c",
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" => "fa2c007ca5cb40ac75b7c147d18460edcb0d948648286debc03d4f5afda469f1",
137
+ "checksum" => "c519b132c7a1de2a8dbb8c36d87fe91b4c0451d2c65d8bd4f44b748bb2ad2904",
138
138
  "filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
139
139
  },
140
140
  "dynamic" => {
141
- "checksum" => "e0e3b59374e7b32eefcc7877a81d0d4d3bcf0d756d7e8cbff3a44444506fa00c",
141
+ "checksum" => "fb5ea3aac557543de74842d668c66ede00d125e1e86f601fa5ffe002edbd6c62",
142
142
  "filename" => "appsignal-x86_64-freebsd-all-dynamic.tar.gz"
143
143
  }
144
144
  }
@@ -1,5 +1,9 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- gem "grape"
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 => "../"
@@ -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"
@@ -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"
@@ -2,7 +2,12 @@ source "https://rubygems.org"
2
2
 
3
3
  gem "rails", "~> 7.1.0"
4
4
  gem "rake", "> 12.2"
5
- gem "sidekiq"
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.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "3.13.1.alpha.1"
4
+ VERSION = "3.13.2"
5
5
  end
@@ -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+:)? unexpected token at 'invalid agent\njson'/)
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
@@ -20,7 +20,7 @@ module ConfigHelpers
20
20
  config_file
21
21
  )
22
22
  end
23
- module_function :project_fixture_config, :project_fixture_path
23
+ module_function :project_fixture_config
24
24
 
25
25
  def start_agent(env = "production")
26
26
  Appsignal._config = project_fixture_config(env)
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.1.alpha.1
4
+ version: 3.13.2
5
5
  platform: java
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: 2024-08-22 00:00:00.000000000 Z
12
+ date: 1980-01-02 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rack
@@ -487,7 +486,6 @@ metadata:
487
486
  documentation_uri: https://docs.appsignal.com/ruby/
488
487
  homepage_uri: https://docs.appsignal.com/ruby/
489
488
  source_code_uri: https://github.com/appsignal/appsignal-ruby
490
- post_install_message:
491
489
  rdoc_options: []
492
490
  require_paths:
493
491
  - lib
@@ -503,8 +501,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
503
501
  - !ruby/object:Gem::Version
504
502
  version: '0'
505
503
  requirements: []
506
- rubygems_version: 3.5.14
507
- signing_key:
504
+ rubygems_version: 3.6.9
508
505
  specification_version: 4
509
506
  summary: Logs performance and exception data from your app to appsignal.com
510
507
  test_files: []