nexus_semantic_logger 1.5.3 → 1.5.4
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c0ae9cec37967270dda26e027aca6887b50c85f35810848d90dbce6b9b092e5f
|
|
4
|
+
data.tar.gz: bfd78dc51bacc65366c881ed39c27baf604f6d9fee92d2fb14924a6883f319d5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6faf59bd6dc4fa28db2e4ae3df750745d7a832b5e707943541b20df1781846429610c9388565a56c9cd5f5991abde010bed609daac86c64bd1e24aed72ef758b
|
|
7
|
+
data.tar.gz: 8f98ecb90a5e76f833daaf998f843e268ff5d6369dd5e1e06b7d01a706b092fa6ce32519f572cdad41a994fb7b3ee217f0ac02e54148d398771f8be2c3c9ab67
|
|
@@ -14,7 +14,12 @@ module NexusSemanticLogger
|
|
|
14
14
|
# Configure DogStatsD instance for sending runtime metrics.
|
|
15
15
|
# By default, runtime metrics from the application are sent to the Datadog Agent with DogStatsD on port 8125.
|
|
16
16
|
datadog_singleton = DatadogSingleton.instance
|
|
17
|
-
|
|
17
|
+
datadog_statsd_socket_path = ENV.fetch('DD_STATSD_SOCKET_PATH') { '' }
|
|
18
|
+
if datadog_statsd_socket_path.to_s.strip.empty?
|
|
19
|
+
datadog_singleton.statsd = Datadog::Statsd.new(ENV['DD_AGENT_HOST'], 8125)
|
|
20
|
+
else
|
|
21
|
+
datadog_singleton.statsd = Datadog::Statsd.new(socket_path: datadog_statsd_socket_path)
|
|
22
|
+
end
|
|
18
23
|
c.runtime_metrics.statsd = datadog_singleton.statsd
|
|
19
24
|
|
|
20
25
|
# Configure tags to be sent on all traces and metrics.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
module NexusSemanticLogger
|
|
3
|
-
# Leave this as 1.5.
|
|
4
|
-
VERSION = '1.5.
|
|
3
|
+
# Leave this as 1.5.4 in order for CI process to replace with the tagged version.
|
|
4
|
+
VERSION = '1.5.4'
|
|
5
5
|
end
|
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.5.
|
|
4
|
+
version: 1.5.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Johnathon Harris
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-10-
|
|
11
|
+
date: 2022-10-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: amazing_print
|
|
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
132
|
version: '0'
|
|
133
133
|
requirements: []
|
|
134
|
-
rubygems_version: 3.3.
|
|
134
|
+
rubygems_version: 3.3.23
|
|
135
135
|
signing_key:
|
|
136
136
|
specification_version: 4
|
|
137
137
|
summary: semantic_logger usage for nexus
|