newrelic-infinite_tracing 8.7.0 → 8.8.0

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
2
  SHA256:
3
- metadata.gz: d72145b32a77f242716bca17abc09e77ad863495b706e83a11193c7d54982c83
4
- data.tar.gz: 10bac6d2ef2bafd679302637c8377b28f7675f6b6aae9852ec2b3ac5f6fe6711
3
+ metadata.gz: 35dbf54384abafc02dbfd6161424cf47437b9025de2c63f657e9a7dcb2de7d70
4
+ data.tar.gz: 3be9f3d81e1e1c2945d5441fdd83e116ce0e1419659819e50139d3c1e547b20a
5
5
  SHA512:
6
- metadata.gz: ea9037fd90628f92ba636fd3c63f5196dbfd259fd30dca766f19f2eb16e30b241e8d5c38b1e52ed81bf11f22e95181e22e9809c19b3ded06bade82fabc78a8e2
7
- data.tar.gz: 012b46335b457d7c025e21e8d36ba8b359521eefbfce003f04ea6fa38ed20d134c858ff9abdfd1e09e7bd2e7d487f98ca23fc7aa40f56e5f49c4c7e35ab0e909
6
+ metadata.gz: 40b5e1b54794edbe83e9fdc4fd3ca22ad7a1728e7ebfe381aa080ec9dd36e8b397fe18766c36edeeb9adf1e186ce65addde5235684cc8fdcbdef9a4aba6e40b2
7
+ data.tar.gz: 1b5965084b3e5834513b9bb12a6bb4f54496bc00ac2a9d73d0f61899862ca09d539879c0c73c5a23ca1fe1b9ed2e461b1914ffb81620141ba9322a6edd926654
@@ -20,12 +20,8 @@ module NewRelic::Agent
20
20
  end
21
21
 
22
22
  def credentials
23
- if Config.local?
24
- :this_channel_is_insecure
25
- else
26
- # Uses system configured certificates by default
27
- GRPC::Core::ChannelCredentials.new
28
- end
23
+ # Uses system configured certificates by default
24
+ GRPC::Core::ChannelCredentials.new
29
25
  end
30
26
 
31
27
  def host_and_port
@@ -52,7 +52,7 @@ module NewRelic::Agent
52
52
  # Turns camelcase base class name into upper snake case version of the name.
53
53
  def formatted_class_name class_name
54
54
  class_name = class_name.split(":")[-1]
55
- formatted_class_name = (class_name.gsub!(/(.)([A-Z])/, '\1_\2') || class_name).upcase
55
+ (class_name.gsub!(/(.)([A-Z])/, '\1_\2') || class_name).upcase
56
56
  end
57
57
 
58
58
  # Literal codes are all mapped to unique class names, so we can deduce the
@@ -114,7 +114,7 @@ module NewRelic::Agent
114
114
  @agent_connected = true
115
115
  @agent_started.signal
116
116
  end
117
- @active_clients.each_value(&:restart)
117
+ @active_clients.values.each(&:restart)
118
118
  end
119
119
 
120
120
  private
@@ -43,8 +43,7 @@ module NewRelic::Agent
43
43
  begin
44
44
  [key, AttributeValue.new(safe_param_name(value) => value)]
45
45
  rescue => e
46
- puts e.inspect
47
- puts [key, value].inspect
46
+ NewRelic::Agent.logger.debug("Infinite tracing transformer error: #{e.inspect}")
48
47
  nil
49
48
  end
50
49
  end.to_h
@@ -85,7 +85,6 @@ Gem or plugin, hosted on https://github.com/newrelic/newrelic-ruby-agent/
85
85
  s.add_development_dependency 'pry-stack_explorer', '~> 0.4.9'
86
86
  s.add_development_dependency 'guard', '~> 2.16.0'
87
87
  s.add_development_dependency 'guard-minitest', '~> 2.4.0'
88
- s.add_development_dependency 'hometown', '~> 0.2.5'
89
88
  s.add_development_dependency 'bundler'
90
89
 
91
90
  s.add_development_dependency 'grpc-tools', "~> 1.14"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: newrelic-infinite_tracing
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.7.0
4
+ version: 8.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tanna McClure
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-05-03 00:00:00.000000000 Z
14
+ date: 2022-06-02 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: newrelic_rpm
@@ -19,14 +19,14 @@ dependencies:
19
19
  requirements:
20
20
  - - '='
21
21
  - !ruby/object:Gem::Version
22
- version: 8.7.0
22
+ version: 8.8.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 8.7.0
29
+ version: 8.8.0
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: grpc
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -167,20 +167,6 @@ dependencies:
167
167
  - - "~>"
168
168
  - !ruby/object:Gem::Version
169
169
  version: 2.4.0
170
- - !ruby/object:Gem::Dependency
171
- name: hometown
172
- requirement: !ruby/object:Gem::Requirement
173
- requirements:
174
- - - "~>"
175
- - !ruby/object:Gem::Version
176
- version: 0.2.5
177
- type: :development
178
- prerelease: false
179
- version_requirements: !ruby/object:Gem::Requirement
180
- requirements:
181
- - - "~>"
182
- - !ruby/object:Gem::Version
183
- version: 0.2.5
184
170
  - !ruby/object:Gem::Dependency
185
171
  name: bundler
186
172
  requirement: !ruby/object:Gem::Requirement