tcell_agent 2.2.1 → 2.3.0

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: 5e056172b2170f472b95d9dc96f082b2d881e38d8b066ed82b8c4175157c0d04
4
- data.tar.gz: 6e6a4fc3062d22415489aa75fad2cc15e7c8d9dcd9fc6a80aeb7ce6116dd784e
3
+ metadata.gz: 15b359f97c96e28cf58ee258ebd6cc0112b31656165271012b8c804a406a2904
4
+ data.tar.gz: cd73c079ce0bd4f063a7c32571ae9e57155bdcd86fa4fd81a9738c97acec3d49
5
5
  SHA512:
6
- metadata.gz: 87a540297c00aedca95f5905687e511233a960ede19aca99cdac65935828bce009413493a8c22af7a33ef59808910df69f9a169274f7f8aec13cdf84c8a361e4
7
- data.tar.gz: 9ea327f2786185b027263c74d7d7428aa6c1a5cf7e54ce2bcf070eed2a15630f370984297f1a804aebbd97569379916e6973a337b42be8f2e9e211499422bae9
6
+ metadata.gz: 7dca586b7699c1bc013b1b5a07034087b8f45322cc30439b3d29e7ab16dfe8b8e85ae07d39738135020628e590bfb1b3a9b154bb6c954c99123102a4df19240a
7
+ data.tar.gz: 937109bc1a6b08d05cd3442e31ed6d4d2d4763ce7954d76cb65c26159c501c0e73fb68a2451c45b1b04e02fd15f3d0ab0564c29c59bf90fa4dc38db1472ea125
@@ -59,7 +59,7 @@ module TCellAgent
59
59
  @disabled_instrumentation << 'intercept_requests' unless TCellAgent.configuration.to_bool(bool)
60
60
  end
61
61
 
62
- def get_config_file_dir
62
+ def get_config_file_path
63
63
  super
64
64
  end
65
65
  end
@@ -64,11 +64,11 @@ module TCellAgent
64
64
  check_for_disabled_instrumentation(get_config_file_name)
65
65
  end
66
66
 
67
- def get_config_file_dir
67
+ def get_config_file_path
68
68
  return nil unless ENV['TCELL_AGENT_HOME']
69
69
  return nil if ENV['TCELL_AGENT_CONFIG']
70
70
 
71
- File.join(Dir.getwd, '/config')
71
+ File.join(Dir.getwd, '/config/tcell_agent.config')
72
72
  end
73
73
 
74
74
  def get_config_file_name
@@ -19,7 +19,7 @@ module TCellAgent
19
19
  self['overrides'] = overrides
20
20
  else
21
21
  self['overrides'] = { 'applications' => [{ :enable_json_body_inspection => true }],
22
- 'config_file_dir' => configuration.get_config_file_dir }
22
+ 'config_file_path' => configuration.get_config_file_path }
23
23
  end
24
24
  end
25
25
  end
@@ -40,7 +40,7 @@ module TCellAgent
40
40
 
41
41
  self['api_url'] = configuration.tcell_api_url
42
42
  self['applications'] = [Models.clean_nils(applications)]
43
- self['config_file_dir'] = configuration.get_config_file_dir
43
+ self['config_file_path'] = configuration.get_config_file_path
44
44
  self['disabled_instrumentation'] = configuration.disabled_instrumentation
45
45
  self['enabled'] = configuration.enabled
46
46
  self['host_identifier'] = configuration.host_identifier
@@ -6,7 +6,7 @@ module TCellAgent
6
6
  require 'ffi'
7
7
  extend FFI::Library
8
8
 
9
- VERSION = '5.0.2'.freeze
9
+ VERSION = '6.2.1'.freeze
10
10
  prefix = 'lib'
11
11
  extension = '.so'
12
12
  variant = ''
@@ -1,5 +1,5 @@
1
1
  # See the file "LICENSE" for the full license governing this code.
2
2
 
3
3
  module TCellAgent
4
- VERSION = '2.2.1'.freeze
4
+ VERSION = '2.3.0'.freeze
5
5
  end
@@ -20,7 +20,7 @@ end
20
20
 
21
21
  def test_puma
22
22
  expect(Puma.cli_config.options[:preload_app]).to be_falsey
23
- expect(Puma::Server.instance_methods.include?(:original_run)).to be_truthy
23
+ expect(Puma::Server.instance_methods.include?(:tcell_original_run)).to be_truthy
24
24
  end
25
25
 
26
26
  def test_server(filenames, funcs)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tcell_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-04 00:00:00.000000000 Z
11
+ date: 2020-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -163,14 +163,14 @@ files:
163
163
  - lib/tcell_agent/rails/tcell_body_proxy.rb
164
164
  - lib/tcell_agent/routes/table.rb
165
165
  - lib/tcell_agent/rust/agent_config.rb
166
- - lib/tcell_agent/rust/libtcellagent-5.0.2.dylib
167
- - lib/tcell_agent/rust/libtcellagent-5.0.2.so
168
- - lib/tcell_agent/rust/libtcellagent-alpine-5.0.2.so
166
+ - lib/tcell_agent/rust/libtcellagent-6.2.1.dylib
167
+ - lib/tcell_agent/rust/libtcellagent-6.2.1.so
168
+ - lib/tcell_agent/rust/libtcellagent-alpine-6.2.1.so
169
169
  - lib/tcell_agent/rust/models.rb
170
170
  - lib/tcell_agent/rust/native_agent.rb
171
171
  - lib/tcell_agent/rust/native_agent_response.rb
172
172
  - lib/tcell_agent/rust/native_library.rb
173
- - lib/tcell_agent/rust/tcellagent-5.0.2.dll
173
+ - lib/tcell_agent/rust/tcellagent-6.2.1.dll
174
174
  - lib/tcell_agent/sensor_events/agent_setting_event.rb
175
175
  - lib/tcell_agent/sensor_events/app_config_setting_event.rb
176
176
  - lib/tcell_agent/sensor_events/discovery.rb