semantic_logger_ecs_addon 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rails_semantic_logger/sequel/log_subscriber.rb +2 -0
- data/lib/semantic_logger_ecs_addon/identity.rb +2 -2
- data/lib/semantic_logger_ecs_addon.rb +8 -6
- data/lib/sequel/database/active_support_notification.rb +3 -1
- data.tar.gz.sig +0 -0
- metadata +17 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba75d521a4ff9817c0f359bf045b0cb1387cfc9d9c04655761c550cba1e3a064
|
4
|
+
data.tar.gz: 0e9625582f4f182129e8791dff144b2f46d36db717dd293b677ba1aac4787451
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fe0fe150b4eef28b9df59b1ca9964e72b18d340308eeac146e75c3a57363b830e4eb82d7a74f28e384dce1c139bfb3284e759e718f4ac0520183b111421619b6
|
7
|
+
data.tar.gz: 4f4fcfcc2836b2a8d6018aee71b802b136091888104350649a0cbcd5bf975e4106a75a762e89e5366cb2b7aab91dd0aa230d76fc75cc58de3846db4f1f23d9ff
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
@@ -5,8 +5,8 @@ module SemanticLoggerEcsAddon
|
|
5
5
|
module Identity
|
6
6
|
NAME = "semantic_logger_ecs_addon"
|
7
7
|
LABEL = "Semantic Logger Ecs Addon"
|
8
|
-
VERSION = "0.1.
|
8
|
+
VERSION = "0.1.6"
|
9
9
|
VERSION_LABEL = "#{LABEL} #{VERSION}"
|
10
|
-
SUMMARY = "A semantic logger formatter that formats the logs according to Elastic Common Schema
|
10
|
+
SUMMARY = "A semantic logger formatter that formats the logs according to Elastic Common Schema, adds APM trace data if ElasticAPM is enabled and instruments sequel logs for rails if available."
|
11
11
|
end
|
12
12
|
end
|
@@ -2,13 +2,15 @@
|
|
2
2
|
|
3
3
|
require "pathname"
|
4
4
|
require "zeitwerk"
|
5
|
-
if defined?
|
6
|
-
|
5
|
+
if defined?(Sequel)
|
6
|
+
if defined? ActiveSupport::LogSubscriber
|
7
|
+
require_relative "rails_semantic_logger/sequel/log_subscriber"
|
8
|
+
end
|
9
|
+
if defined?(ActiveSupport::Notifications)
|
10
|
+
require_relative "sequel/database/active_support_notification"
|
11
|
+
end
|
12
|
+
require_relative "sequel/railties/controller_runtime" if defined?(ActionController)
|
7
13
|
end
|
8
|
-
if defined?(ActiveSupport::Notifications)
|
9
|
-
require_relative "sequel/database/active_support_notification"
|
10
|
-
end
|
11
|
-
require_relative "sequel/railties/controller_runtime" if defined?(ActionController)
|
12
14
|
|
13
15
|
loader = Zeitwerk::Loader.for_gem
|
14
16
|
loader.setup
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semantic_logger_ecs_addon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sajeev Ramasamy
|
@@ -36,6 +36,20 @@ cert_chain:
|
|
36
36
|
-----END CERTIFICATE-----
|
37
37
|
date: 2021-08-23 00:00:00.000000000 Z
|
38
38
|
dependencies:
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: request_store
|
41
|
+
requirement: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - "~>"
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '1.5'
|
46
|
+
type: :runtime
|
47
|
+
prerelease: false
|
48
|
+
version_requirements: !ruby/object:Gem::Requirement
|
49
|
+
requirements:
|
50
|
+
- - "~>"
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: '1.5'
|
39
53
|
- !ruby/object:Gem::Dependency
|
40
54
|
name: semantic_logger
|
41
55
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,5 +129,6 @@ rubygems_version: 3.2.22
|
|
115
129
|
signing_key:
|
116
130
|
specification_version: 4
|
117
131
|
summary: A semantic logger formatter that formats the logs according to Elastic Common
|
118
|
-
Schema
|
132
|
+
Schema, adds APM trace data if ElasticAPM is enabled and instruments sequel logs
|
133
|
+
for rails if available.
|
119
134
|
test_files: []
|
metadata.gz.sig
CHANGED
Binary file
|