appsignal 2.9.18.beta.1 → 2.9.18.beta.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 497a4a7b4a8d6a2d195f7e509a0a270f75e06a244c662d8294ad9f2b41c6401b
4
- data.tar.gz: e583e62d155c23794a4e29728be90d8d04cb5c92c6f33970c6f97ea0b9a97e89
2
+ SHA1:
3
+ metadata.gz: 21d24182acb1881a5fcd75bc2319ad2722c7af1a
4
+ data.tar.gz: 86217ba6de7138ebe8d90f2271497187398150fb
5
5
  SHA512:
6
- metadata.gz: 6164b48d04632a33bd801f303de05fbd77eab91d6611123d80183d19f7b5b934485972883cc3f0e563e1632e8020d2bf229db1d91c53f550cff5c95413b41f6b
7
- data.tar.gz: e8e6af01a31bc1ffc7c304df523538bd95a58d0e65ffe3cfcbaf63d4fc0791a69d20c5606aed84ba5dbc85df9350796561a8c9d8b57b7b3840360d2c718c1ecb
6
+ metadata.gz: db89f0d8137f5c583ea6c730117837de8d68b9525253c2c303c6a64baea4e4f30852de478fc5161c3ce00e41cc179178f0adf3e6dd8d5724c81527a4d8582088
7
+ data.tar.gz: ab333fbffafc915b4323da715892786a6d209bfea96c2470f76d416458c0a9cde3d28a822b113c88321aaf6903e1df374ce93f0bbbd874e451b907204b4bff37
@@ -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?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "2.9.18.beta.1".freeze
4
+ VERSION = "2.9.18.beta.2".freeze
5
5
  end
@@ -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.1
4
+ version: 2.9.18.beta.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -388,7 +388,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
388
388
  - !ruby/object:Gem::Version
389
389
  version: 1.3.1
390
390
  requirements: []
391
- rubygems_version: 3.0.6
391
+ rubyforge_project:
392
+ rubygems_version: 2.6.14.3
392
393
  signing_key:
393
394
  specification_version: 4
394
395
  summary: Logs performance and exception data from your app to appsignal.com