nexus_semantic_logger 1.12.4 → 1.12.5

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: 4b588ced19c7d00972d27cfd2a1b37c8d344ef33d3b98dcbca3bf5dd517b9a56
4
+ data.tar.gz: 6ffa88e0f9cfb360c7d4450ea08879240a24cbad1d68006d3cc2bca09c64c02b
5
5
  SHA512:
6
- metadata.gz: d5d4298cb091111f3d7a6ac12334c7887d3730f76d61a2f613daf89ffded62e121e6fb52f079d44f0d7dfd4231b6479a007d8df7824c7f48de4fcf526213eabe
7
- data.tar.gz: 4fddf213b07c9526141f140d985cfc7a1078b35e4bb64b4c6f89d80a2cfa1dd429d1377c945182aff3325a4b3b9318313a261c7cf92dc811bf50ab2e3811481c
6
+ metadata.gz: b688d9087e9903a2f647ab4b6ec63233e16ed8b442126de3c8212d99ef11c4b93721c4b400397ce0e44182792f6184579d7610441407f62208454cf20c5e3381
7
+ data.tar.gz: 8aca5e7817fbbf549dbd8be8d48b124509c959624b90527862490ada893b8b1ef710957c007a6dfd3a53b367610fb187dd1ad84eefb52b34d10bf8ca25fafde5
@@ -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.5 in order for CI process to replace with the tagged version.
4
+ VERSION = '1.12.5'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnathon Harris