appsignal 2.9.18.beta.1-java → 2.9.18.beta.2-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/appsignal/config.rb +5 -2
- data/lib/appsignal/version.rb +1 -1
- data/spec/lib/appsignal/config_spec.rb +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2b0127fefe7b3831a349c5dce4c7d658da91961a
|
4
|
+
data.tar.gz: 8f67f8b3e95c8a4f72a99b9df54c238ba4f00316
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4b283f9254876eedbe2cc40a3d2823f5d46de01c7fa32660d121f4166e3490b3aef0ecbabb65cba5691e538366d2192be5053607a24d20e07ecef6515d021d8
|
7
|
+
data.tar.gz: 5ee54482bb159369da5ee2d6aaea486e03dd69d11f59b6dcb26f6e5ed30d70be3c7beb7a1d2ed71a74be556c449615ae6d7a270016ef4d04851cdd62fb91c1a5
|
data/lib/appsignal/config.rb
CHANGED
@@ -39,7 +39,8 @@ module Appsignal
|
|
39
39
|
:enable_minutely_probes => true,
|
40
40
|
:ca_file_path => File.expand_path(File.join("../../../resources/cacert.pem"), __FILE__),
|
41
41
|
:dns_servers => [],
|
42
|
-
:files_world_accessible => true
|
42
|
+
:files_world_accessible => true,
|
43
|
+
:transaction_debug_mode => false
|
43
44
|
}.freeze
|
44
45
|
|
45
46
|
ENV_TO_KEY_MAPPING = {
|
@@ -75,6 +76,7 @@ module Appsignal
|
|
75
76
|
"APPSIGNAL_DNS_SERVERS" => :dns_servers,
|
76
77
|
"APPSIGNAL_FILES_WORLD_ACCESSIBLE" => :files_world_accessible,
|
77
78
|
"APPSIGNAL_REQUEST_HEADERS" => :request_headers,
|
79
|
+
"APPSIGNAL_TRANSACTION_DEBUG_MODE" => :transaction_debug_mode,
|
78
80
|
"APP_REVISION" => :revision
|
79
81
|
}.freeze
|
80
82
|
|
@@ -219,6 +221,7 @@ module Appsignal
|
|
219
221
|
ENV["_APPSIGNAL_CA_FILE_PATH"] = config_hash[:ca_file_path].to_s
|
220
222
|
ENV["_APPSIGNAL_DNS_SERVERS"] = config_hash[:dns_servers].join(",")
|
221
223
|
ENV["_APPSIGNAL_FILES_WORLD_ACCESSIBLE"] = config_hash[:files_world_accessible].to_s
|
224
|
+
ENV["_APPSIGNAL_TRANSACTION_DEBUG_MODE"] = config_hash[:transaction_debug_mode].to_s
|
222
225
|
ENV["_APP_REVISION"] = config_hash[:revision].to_s
|
223
226
|
end
|
224
227
|
|
@@ -324,7 +327,7 @@ module Appsignal
|
|
324
327
|
APPSIGNAL_ENABLE_ALLOCATION_TRACKING APPSIGNAL_ENABLE_GC_INSTRUMENTATION
|
325
328
|
APPSIGNAL_RUNNING_IN_CONTAINER APPSIGNAL_ENABLE_HOST_METRICS
|
326
329
|
APPSIGNAL_SEND_PARAMS APPSIGNAL_ENABLE_MINUTELY_PROBES
|
327
|
-
APPSIGNAL_FILES_WORLD_ACCESSIBLE].each do |var|
|
330
|
+
APPSIGNAL_FILES_WORLD_ACCESSIBLE APPSIGNAL_TRANSACTION_DEBUG_MODE].each do |var|
|
328
331
|
env_var = ENV[var]
|
329
332
|
next unless env_var
|
330
333
|
config[ENV_TO_KEY_MAPPING[var]] = env_var.casecmp("true").zero?
|
data/lib/appsignal/version.rb
CHANGED
@@ -134,6 +134,7 @@ describe Appsignal::Config do
|
|
134
134
|
:ca_file_path => File.join(resources_dir, "cacert.pem"),
|
135
135
|
:dns_servers => [],
|
136
136
|
:files_world_accessible => true,
|
137
|
+
:transaction_debug_mode => false,
|
137
138
|
:revision => "v2.5.1",
|
138
139
|
:request_headers => []
|
139
140
|
)
|
@@ -473,6 +474,7 @@ describe Appsignal::Config do
|
|
473
474
|
config[:filter_parameters] = %w[password confirm_password]
|
474
475
|
config[:running_in_container] = false
|
475
476
|
config[:dns_servers] = ["8.8.8.8", "8.8.4.4"]
|
477
|
+
config[:transaction_debug_mode] = true
|
476
478
|
config[:revision] = "v2.5.1"
|
477
479
|
config.write_to_environment
|
478
480
|
end
|
@@ -500,6 +502,7 @@ describe Appsignal::Config do
|
|
500
502
|
expect(ENV["_APPSIGNAL_CA_FILE_PATH"]).to eq File.join(resources_dir, "cacert.pem")
|
501
503
|
expect(ENV["_APPSIGNAL_DNS_SERVERS"]).to eq "8.8.8.8,8.8.4.4"
|
502
504
|
expect(ENV["_APPSIGNAL_FILES_WORLD_ACCESSIBLE"]).to eq "true"
|
505
|
+
expect(ENV["_APPSIGNAL_TRANSACTION_DEBUG_MODE"]).to eq "true"
|
503
506
|
expect(ENV["_APP_REVISION"]).to eq "v2.5.1"
|
504
507
|
expect(ENV).to_not have_key("_APPSIGNAL_WORKING_DIR_PATH")
|
505
508
|
expect(ENV).to_not have_key("_APPSIGNAL_WORKING_DIRECTORY_PATH")
|
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: 2.9.18.beta.
|
4
|
+
version: 2.9.18.beta.2
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -402,7 +402,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
402
402
|
- !ruby/object:Gem::Version
|
403
403
|
version: 1.3.1
|
404
404
|
requirements: []
|
405
|
-
|
405
|
+
rubyforge_project:
|
406
|
+
rubygems_version: 2.6.14.3
|
406
407
|
signing_key:
|
407
408
|
specification_version: 4
|
408
409
|
summary: Logs performance and exception data from your app to appsignal.com
|