nexus_semantic_logger 1.12.4 → 1.12.6

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: 3fabfea85d5218ca782171043d1f379a40a07b233aa7928af6e1294b4c979e46
4
- data.tar.gz: e94c02401985337c887d29a3f25ba86c59452cca5c37a2baa792db3a3598facd
3
+ metadata.gz: 7e7b3d0017d34182a0b3f52bf775e2a14e5aaa23f70cdfbe4b23d2f1d860e257
4
+ data.tar.gz: e8850b6bea2eb7fa67f0bb2b39da16d7201fb21415a5c7de76dcbc74b496973e
5
5
  SHA512:
6
- metadata.gz: d5d4298cb091111f3d7a6ac12334c7887d3730f76d61a2f613daf89ffded62e121e6fb52f079d44f0d7dfd4231b6479a007d8df7824c7f48de4fcf526213eabe
7
- data.tar.gz: 4fddf213b07c9526141f140d985cfc7a1078b35e4bb64b4c6f89d80a2cfa1dd429d1377c945182aff3325a4b3b9318313a261c7cf92dc811bf50ab2e3811481c
6
+ metadata.gz: 90fb13f28fc48461a742fa3e2dcb24f447c79d0b3be079dd8eb9ef455122e266a8de85acec3f448d380ba8b749b071e7bc4578297deae3e705fd477032a66ff5
7
+ data.tar.gz: 4d0b04e8cfedd4a549e5949e90f3abd62b8b2a25800e7fe5ef2fcfa6d2da9df136e4194b46cc07bbad986cbe8972ae238d9e3f0388756dfb92c63be622408983
@@ -6,7 +6,8 @@ module NexusSemanticLogger
6
6
  class DatadogTracer
7
7
  def initialize(service)
8
8
  Datadog.configure do |c|
9
- if ENV['DD_AGENT_HOST'].present?
9
+ # When using a socket, DD_AGENT_HOST will not be set, and DD_TRACE_AGENT_URL will be set instead.
10
+ if ENV['DD_AGENT_HOST'].present? || ENV['DD_TRACE_AGENT_URL'].present?
10
11
 
11
12
  # Container and pod names should be set as env vars via the helm chart. Tagging metrics from the app
12
13
  # with these values helps correlation with metrics from the kubernetes cluster.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module NexusSemanticLogger
3
- # Leave this as 1.12.4 in order for CI process to replace with the tagged version.
4
- VERSION = '1.12.4'
3
+ # Leave this as 1.12.6 in order for CI process to replace with the tagged version.
4
+ VERSION = '1.12.6'
5
5
  end
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  end
15
15
  spec.require_paths = ['lib']
16
16
  spec.add_dependency('amazing_print', '~> 1.4.0')
17
- spec.add_dependency('ddtrace', '~> 1.9') # For datadog tracing/profiling.
17
+ spec.add_dependency('ddtrace', '~> 1.22') # For datadog tracing/profiling.
18
18
  spec.add_dependency('dogstatsd-ruby', '~> 5.4.0') # For custom application metrics.
19
19
  spec.add_dependency('google-protobuf', '~> 3.22.0')
20
20
  spec.add_dependency('net_tcp_client', '~> 2.2.0') # For TCP logging.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_semantic_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.4
4
+ version: 1.12.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnathon Harris
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-29 00:00:00.000000000 Z
11
+ date: 2024-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amazing_print
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.9'
33
+ version: '1.22'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '1.9'
40
+ version: '1.22'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dogstatsd-ruby
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  requirements: []
140
- rubygems_version: 3.5.9
140
+ rubygems_version: 3.5.11
141
141
  signing_key:
142
142
  specification_version: 4
143
143
  summary: semantic_logger usage for nexus