appsignal 4.1.0-java → 4.1.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 +4 -4
- data/CHANGELOG.md +27 -0
- data/ext/agent.rb +30 -30
- data/lib/appsignal/config.rb +18 -36
- data/lib/appsignal/hooks/action_cable.rb +2 -2
- data/lib/appsignal/integrations/action_cable.rb +1 -0
- data/lib/appsignal/integrations/capistrano/appsignal.cap +2 -2
- data/lib/appsignal/integrations/capistrano/capistrano_2_tasks.rb +2 -2
- data/lib/appsignal/integrations/railtie.rb +1 -0
- data/lib/appsignal/transmitter.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/lib/appsignal.rb +1 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ebb0a0dcb25f6b1d3a081538c731b3119d9c35a0d50f4fd4970d86d2883f56f
|
|
4
|
+
data.tar.gz: c0c933abb03dcbf90b97f60a101821a27922d3f9882eb7e30e1c5aadccd19018
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d4b363ba6154f2e05a9665da3984f10ef65fefaab3e402cf281d30d39f51fe3a50c8cf8b5a6d9d827b509965451264d30bbd0c0f1096991259a20de5b112597e
|
|
7
|
+
data.tar.gz: f439966b51ea704309eef8422ebfbb098d98c850cae7084f0532b50f45c558ecbf5f87888b23f7337f916e25f7ea35b3868e935ee2eaab3c84a3f12766305645
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
|
2
2
|
|
|
3
|
+
## 4.1.2
|
|
4
|
+
|
|
5
|
+
_Published on 2024-10-04._
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Change the primary download mirror for integrations. (patch [8fb8b93a](https://github.com/appsignal/appsignal-ruby/commit/8fb8b93af873735a33d9c9440260fd9afe9dd12b))
|
|
10
|
+
- Internal OpenTelemetry change. (patch [8fb8b93a](https://github.com/appsignal/appsignal-ruby/commit/8fb8b93af873735a33d9c9440260fd9afe9dd12b))
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Fix session data reporting for Action Cable actions. (patch [41642bea](https://github.com/appsignal/appsignal-ruby/commit/41642beace7e65f441a93319fbd94192c4d5aedf))
|
|
15
|
+
|
|
16
|
+
## 4.1.1
|
|
17
|
+
|
|
18
|
+
_Published on 2024-09-28._
|
|
19
|
+
|
|
20
|
+
### Changed
|
|
21
|
+
|
|
22
|
+
- Add the `reported_by` tag to errors reported by the Rails error reporter so the source of the error is easier to identify. (patch [ff98ed67](https://github.com/appsignal/appsignal-ruby/commit/ff98ed677bf30242c51261bf7e44c9b6ba2f33ac))
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- Fix no AppSignal internal logs being logged from Capistrano tasks. (patch [089d0325](https://github.com/appsignal/appsignal-ruby/commit/089d03251c3dc8b83658a4ebfade51ab6bed1771))
|
|
27
|
+
- Report all the config options set via `Appsignal.config` in the DSL config source in the diagnose report. Previously, it would only report the options from the last time `Appsignal.configure` was called. (patch [27b9aff7](https://github.com/appsignal/appsignal-ruby/commit/27b9aff7776646dfef6c55fa589024a71052e70b))
|
|
28
|
+
- Fix 'no implicit conversion of Pathname into String' error when parsing backtrace lines of error causes in Rails apps. (patch [b767f269](https://github.com/appsignal/appsignal-ruby/commit/b767f269c41cb7625d6869d8e8acb9b288292d19))
|
|
29
|
+
|
|
3
30
|
## 4.1.0
|
|
4
31
|
|
|
5
32
|
_Published on 2024-09-26._
|
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.35.
|
|
9
|
+
"version" => "0.35.26",
|
|
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" => "e0b0674dad04528f14048a0941fdacf9cbdb317627116c9b4dd7b786e572caa3",
|
|
18
18
|
"filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
|
|
19
19
|
},
|
|
20
20
|
"dynamic" => {
|
|
21
|
-
"checksum" => "
|
|
21
|
+
"checksum" => "a30a6502787df7354da94e0c86eff92745b712d916cb2740a7fdb412add15ffc",
|
|
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" => "e0b0674dad04528f14048a0941fdacf9cbdb317627116c9b4dd7b786e572caa3",
|
|
28
28
|
"filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
|
|
29
29
|
},
|
|
30
30
|
"dynamic" => {
|
|
31
|
-
"checksum" => "
|
|
31
|
+
"checksum" => "a30a6502787df7354da94e0c86eff92745b712d916cb2740a7fdb412add15ffc",
|
|
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" => "377d6eac5dc10de28275ec88a368f1c5da61438afa41f0767803d6c3a9399717",
|
|
38
38
|
"filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
|
|
39
39
|
},
|
|
40
40
|
"dynamic" => {
|
|
41
|
-
"checksum" => "
|
|
41
|
+
"checksum" => "45dfb897e2aaacbe7e638f88781d50059c6cb1fcce624e33bef409c75e70ac7f",
|
|
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" => "377d6eac5dc10de28275ec88a368f1c5da61438afa41f0767803d6c3a9399717",
|
|
48
48
|
"filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
|
|
49
49
|
},
|
|
50
50
|
"dynamic" => {
|
|
51
|
-
"checksum" => "
|
|
51
|
+
"checksum" => "45dfb897e2aaacbe7e638f88781d50059c6cb1fcce624e33bef409c75e70ac7f",
|
|
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" => "377d6eac5dc10de28275ec88a368f1c5da61438afa41f0767803d6c3a9399717",
|
|
58
58
|
"filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
|
|
59
59
|
},
|
|
60
60
|
"dynamic" => {
|
|
61
|
-
"checksum" => "
|
|
61
|
+
"checksum" => "45dfb897e2aaacbe7e638f88781d50059c6cb1fcce624e33bef409c75e70ac7f",
|
|
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" => "67f927b89d9ef65f063c487bcd5bef832051a547d0b0f911589b4f90554c3185",
|
|
68
68
|
"filename" => "appsignal-aarch64-linux-all-static.tar.gz"
|
|
69
69
|
},
|
|
70
70
|
"dynamic" => {
|
|
71
|
-
"checksum" => "
|
|
71
|
+
"checksum" => "291fbaddd0fb48d300268fe80c41b069d2669da2e592a27831b13e850983c247",
|
|
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" => "aee4d5a74c0d5a39bf7047b2fb0c1ab0af4151bdf20b23c7095b024d8f34d6eb",
|
|
78
78
|
"filename" => "appsignal-i686-linux-all-static.tar.gz"
|
|
79
79
|
},
|
|
80
80
|
"dynamic" => {
|
|
81
|
-
"checksum" => "
|
|
81
|
+
"checksum" => "2bb793d036e7f605c0bb56b7c70a5107c4dd29a37966cdc33358287403b52c0a",
|
|
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" => "aee4d5a74c0d5a39bf7047b2fb0c1ab0af4151bdf20b23c7095b024d8f34d6eb",
|
|
88
88
|
"filename" => "appsignal-i686-linux-all-static.tar.gz"
|
|
89
89
|
},
|
|
90
90
|
"dynamic" => {
|
|
91
|
-
"checksum" => "
|
|
91
|
+
"checksum" => "2bb793d036e7f605c0bb56b7c70a5107c4dd29a37966cdc33358287403b52c0a",
|
|
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" => "595eef52453a179a6c5fde2a5d7206a85e07970a2dbceb631a19af20e05b46db",
|
|
98
98
|
"filename" => "appsignal-x86_64-linux-all-static.tar.gz"
|
|
99
99
|
},
|
|
100
100
|
"dynamic" => {
|
|
101
|
-
"checksum" => "
|
|
101
|
+
"checksum" => "018754bf36f98246d961caf2d115ce345bf6f74fa160c2cbfa733820cd787396",
|
|
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" => "5992db83dc784e4aaec4cc4d4ebbd62a9d68ae7197697c34f3d4d820233c3238",
|
|
108
108
|
"filename" => "appsignal-x86_64-linux-musl-all-static.tar.gz"
|
|
109
109
|
},
|
|
110
110
|
"dynamic" => {
|
|
111
|
-
"checksum" => "
|
|
111
|
+
"checksum" => "4b93de4ba07614c313822ee5cbc1d2f3dea2c864fe91e3b0ec6c79927a9e58e5",
|
|
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" => "f5d35cea12db1d473757d5fbed9c66e2018b6eaf35e0c96b2787f67e08ceae13",
|
|
118
118
|
"filename" => "appsignal-aarch64-linux-musl-all-static.tar.gz"
|
|
119
119
|
},
|
|
120
120
|
"dynamic" => {
|
|
121
|
-
"checksum" => "
|
|
121
|
+
"checksum" => "70309cff2e3f5330156c8ea530ccc537d4113eabe1d21590f8363c22803719fe",
|
|
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" => "6a696cde1d84fbc56e152d560100bd941276e7b1ddda38de81bc3e985780366a",
|
|
128
128
|
"filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
|
|
129
129
|
},
|
|
130
130
|
"dynamic" => {
|
|
131
|
-
"checksum" => "
|
|
131
|
+
"checksum" => "184e8fdb8bd69f0d0bd5fec1da66ae6ea87d2f447aac56e91d7a89e31c2c0cd0",
|
|
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" => "6a696cde1d84fbc56e152d560100bd941276e7b1ddda38de81bc3e985780366a",
|
|
138
138
|
"filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
|
|
139
139
|
},
|
|
140
140
|
"dynamic" => {
|
|
141
|
-
"checksum" => "
|
|
141
|
+
"checksum" => "184e8fdb8bd69f0d0bd5fec1da66ae6ea87d2f447aac56e91d7a89e31c2c0cd0",
|
|
142
142
|
"filename" => "appsignal-x86_64-freebsd-all-dynamic.tar.gz"
|
|
143
143
|
}
|
|
144
144
|
}
|
data/lib/appsignal/config.rb
CHANGED
|
@@ -180,36 +180,19 @@ module Appsignal
|
|
|
180
180
|
"APPSIGNAL_CPU_COUNT" => :cpu_count
|
|
181
181
|
}.freeze
|
|
182
182
|
|
|
183
|
-
# @
|
|
184
|
-
|
|
185
|
-
# Used in diagnose report.
|
|
186
|
-
# @api private
|
|
187
|
-
# @return [Hash]
|
|
188
|
-
# @!attribute [r] file_config
|
|
189
|
-
# Config loaded from `config/appsignal.yml` config file.
|
|
190
|
-
# Used in diagnose report.
|
|
191
|
-
# @api private
|
|
192
|
-
# @return [Hash]
|
|
193
|
-
# @!attribute [r] env_config
|
|
194
|
-
# Config loaded from the system environment.
|
|
195
|
-
# Used in diagnose report.
|
|
196
|
-
# @api private
|
|
197
|
-
# @return [Hash]
|
|
198
|
-
# @!attribute [r] config_hash
|
|
199
|
-
# Config used by the AppSignal gem.
|
|
200
|
-
# Combined Hash of the {system_config}, {file_config}, {env_config}
|
|
201
|
-
# attributes.
|
|
202
|
-
# @see #[]
|
|
203
|
-
# @see #[]=
|
|
204
|
-
# @api private
|
|
205
|
-
# @return [Hash]
|
|
183
|
+
# @api private
|
|
184
|
+
attr_reader :root_path, :env, :config_hash
|
|
206
185
|
|
|
186
|
+
# List of config option sources. If a config option was set by a source,
|
|
187
|
+
# it's listed in that source's config options hash.
|
|
188
|
+
#
|
|
189
|
+
# These options are merged as the config is initialized.
|
|
190
|
+
# Their values cannot be changed after the config is initialized.
|
|
191
|
+
#
|
|
192
|
+
# Used by the diagnose report to list which value was read from which source.
|
|
207
193
|
# @api private
|
|
208
|
-
attr_accessor :root_path, :env, :config_hash
|
|
209
194
|
attr_reader :system_config, :loaders_config, :initial_config, :file_config,
|
|
210
195
|
:env_config, :override_config, :dsl_config
|
|
211
|
-
# @api private
|
|
212
|
-
attr_accessor :logger
|
|
213
196
|
|
|
214
197
|
# Initialize a new configuration object for AppSignal.
|
|
215
198
|
#
|
|
@@ -217,9 +200,6 @@ module Appsignal
|
|
|
217
200
|
# @param env [String] The environment to load when AppSignal is started. It
|
|
218
201
|
# will look for an environment with this name in the `config/appsignal.yml`
|
|
219
202
|
# config file.
|
|
220
|
-
# @param logger [Logger] The logger to use for the AppSignal gem. This is
|
|
221
|
-
# used by the configuration class only. Default:
|
|
222
|
-
# {Appsignal.internal_logger}. See also {Appsignal.start}.
|
|
223
203
|
#
|
|
224
204
|
# @api private
|
|
225
205
|
# @see https://docs.appsignal.com/ruby/configuration/
|
|
@@ -230,13 +210,11 @@ module Appsignal
|
|
|
230
210
|
# How to integrate AppSignal manually
|
|
231
211
|
def initialize(
|
|
232
212
|
root_path,
|
|
233
|
-
env
|
|
234
|
-
logger = Appsignal.internal_logger
|
|
213
|
+
env
|
|
235
214
|
)
|
|
236
|
-
@root_path = root_path
|
|
215
|
+
@root_path = root_path.to_s
|
|
237
216
|
@config_file_error = false
|
|
238
217
|
@config_file = config_file
|
|
239
|
-
@logger = logger
|
|
240
218
|
@valid = false
|
|
241
219
|
|
|
242
220
|
@env = env.to_s
|
|
@@ -402,7 +380,7 @@ module Appsignal
|
|
|
402
380
|
|
|
403
381
|
# @api private
|
|
404
382
|
def merge_dsl_options(options)
|
|
405
|
-
@dsl_config
|
|
383
|
+
@dsl_config.merge!(options)
|
|
406
384
|
merge(options)
|
|
407
385
|
end
|
|
408
386
|
|
|
@@ -426,7 +404,7 @@ module Appsignal
|
|
|
426
404
|
push_api_key = config_hash[:push_api_key] || ""
|
|
427
405
|
if push_api_key.strip.empty?
|
|
428
406
|
@valid = false
|
|
429
|
-
|
|
407
|
+
logger.error "Push API key not set after loading config"
|
|
430
408
|
else
|
|
431
409
|
@valid = true
|
|
432
410
|
end
|
|
@@ -445,6 +423,10 @@ module Appsignal
|
|
|
445
423
|
|
|
446
424
|
private
|
|
447
425
|
|
|
426
|
+
def logger
|
|
427
|
+
Appsignal.internal_logger
|
|
428
|
+
end
|
|
429
|
+
|
|
448
430
|
def config_file
|
|
449
431
|
@config_file ||=
|
|
450
432
|
root_path.nil? ? nil : File.join(root_path, "config", "appsignal.yml")
|
|
@@ -546,7 +528,7 @@ module Appsignal
|
|
|
546
528
|
|
|
547
529
|
def merge(new_config)
|
|
548
530
|
new_config.each do |key, value|
|
|
549
|
-
|
|
531
|
+
logger.debug("Config key '#{key}' is being overwritten") unless config_hash[key].nil?
|
|
550
532
|
config_hash[key] = value
|
|
551
533
|
end
|
|
552
534
|
end
|
|
@@ -52,7 +52,7 @@ module Appsignal
|
|
|
52
52
|
transaction.set_metadata("method", "websocket")
|
|
53
53
|
transaction.add_params_if_nil { request.params }
|
|
54
54
|
transaction.add_headers_if_nil { request.env }
|
|
55
|
-
transaction.add_session_data { request.session if request.respond_to? :session }
|
|
55
|
+
transaction.add_session_data { request.session.to_h if request.respond_to? :session }
|
|
56
56
|
transaction.add_tags(:request_id => request_id) if request_id
|
|
57
57
|
Appsignal::Transaction.complete_current!
|
|
58
58
|
end
|
|
@@ -88,7 +88,7 @@ module Appsignal
|
|
|
88
88
|
transaction.set_metadata("method", "websocket")
|
|
89
89
|
transaction.add_params_if_nil { request.params }
|
|
90
90
|
transaction.add_headers_if_nil { request.env }
|
|
91
|
-
transaction.add_session_data { request.session if request.respond_to? :session }
|
|
91
|
+
transaction.add_session_data { request.session.to_h if request.respond_to? :session }
|
|
92
92
|
transaction.add_tags(:request_id => request_id) if request_id
|
|
93
93
|
Appsignal::Transaction.complete_current!
|
|
94
94
|
end
|
|
@@ -21,6 +21,7 @@ module Appsignal
|
|
|
21
21
|
ensure
|
|
22
22
|
transaction.set_action_if_nil("#{self.class}##{args.first["action"]}")
|
|
23
23
|
transaction.add_params_if_nil(args.first)
|
|
24
|
+
transaction.add_session_data { request.session.to_h if request.respond_to? :session }
|
|
24
25
|
transaction.set_metadata("path", request.path)
|
|
25
26
|
transaction.set_metadata("method", "websocket")
|
|
26
27
|
transaction.add_tags(:request_id => request_id) if request_id
|
|
@@ -10,12 +10,12 @@ namespace :appsignal do
|
|
|
10
10
|
|
|
11
11
|
appsignal_config = Appsignal::Config.new(
|
|
12
12
|
Dir.pwd,
|
|
13
|
-
appsignal_env
|
|
14
|
-
Logger.new(StringIO.new)
|
|
13
|
+
appsignal_env
|
|
15
14
|
).tap do |c|
|
|
16
15
|
c.merge_dsl_options(fetch(:appsignal_config, {}))
|
|
17
16
|
c.validate
|
|
18
17
|
end
|
|
18
|
+
Appsignal._start_logger
|
|
19
19
|
|
|
20
20
|
if appsignal_config&.active?
|
|
21
21
|
marker_data = {
|
|
@@ -18,12 +18,12 @@ module Appsignal
|
|
|
18
18
|
|
|
19
19
|
appsignal_config = Appsignal::Config.new(
|
|
20
20
|
ENV.fetch("PWD", nil),
|
|
21
|
-
env
|
|
22
|
-
Appsignal::Utils::IntegrationLogger.new(StringIO.new)
|
|
21
|
+
env
|
|
23
22
|
).tap do |c|
|
|
24
23
|
c.merge_dsl_options(fetch(:appsignal_config, {}))
|
|
25
24
|
c.validate
|
|
26
25
|
end
|
|
26
|
+
Appsignal._start_logger
|
|
27
27
|
|
|
28
28
|
if appsignal_config&.active?
|
|
29
29
|
marker_data = {
|
|
@@ -94,6 +94,7 @@ module Appsignal
|
|
|
94
94
|
transaction.set_action(action_name) if action_name
|
|
95
95
|
transaction.add_custom_data(custom_data) if custom_data
|
|
96
96
|
|
|
97
|
+
tags[:reported_by] = :rails_error_reporter
|
|
97
98
|
tags[:severity] = severity
|
|
98
99
|
tags[:source] = source.to_s if source
|
|
99
100
|
transaction.add_tags(tags)
|
|
@@ -107,7 +107,7 @@ module Appsignal
|
|
|
107
107
|
if ca_file && File.exist?(ca_file) && File.readable?(ca_file)
|
|
108
108
|
http.ca_file = ca_file
|
|
109
109
|
else
|
|
110
|
-
|
|
110
|
+
Appsignal.internal_logger.warn "Ignoring non-existing or unreadable " \
|
|
111
111
|
"`ca_file_path`: #{ca_file}"
|
|
112
112
|
end
|
|
113
113
|
end
|
data/lib/appsignal/version.rb
CHANGED
data/lib/appsignal.rb
CHANGED
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: 4.1.
|
|
4
|
+
version: 4.1.2
|
|
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: 2024-
|
|
13
|
+
date: 2024-10-04 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: logger
|
|
@@ -326,7 +326,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
326
326
|
- !ruby/object:Gem::Version
|
|
327
327
|
version: '0'
|
|
328
328
|
requirements: []
|
|
329
|
-
rubygems_version: 3.
|
|
329
|
+
rubygems_version: 3.5.14
|
|
330
330
|
signing_key:
|
|
331
331
|
specification_version: 4
|
|
332
332
|
summary: Logs performance and exception data from your app to appsignal.com
|