ach-fluent-plugin-sentry 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fluent-plugin-sentry.gemspec +1 -1
- data/lib/fluent/plugin/out_sentry.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 02717a0d9a1fce95e3f1328047ee5ac0f95b4247a841a19b2b1a63c317d0d459
|
4
|
+
data.tar.gz: 109355c4800b14ceb78e3d9ce958350cbd765ec97c0667c9867d46fa2284cf42
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b38fea6299f8eb4fa8de4e5ec198712baabac5d731355f3acafd87d544491bb47ac592e912b34adcf1bbd61c94ed4632bc5e6c32ac0fc644751993eac5d5116
|
7
|
+
data.tar.gz: c56fed869b7f8a4759a8e99238d1d40c840ca100bf9fcb3dd54bbd5e39ee0ddcdfc86d4bd5a44624610c7edaee246e895ff74612d76da1d15816e7afa47f148e
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "ach-fluent-plugin-sentry"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.14"
|
8
8
|
spec.authors = ["Kentaro Yoshida"]
|
9
9
|
spec.email = ["y.ken.studio@gmail.com"]
|
10
10
|
spec.summary = %q{Fluentd output plugin that sends aggregated errors/exception events to Sentry. Sentry is a event logging and aggregation platform.}
|
@@ -17,6 +17,7 @@ class Fluent::SentryOutput < Fluent::BufferedOutput
|
|
17
17
|
require 'time'
|
18
18
|
require 'json'
|
19
19
|
require 'sentry-ruby'
|
20
|
+
require 'fluent/plugin/output'
|
20
21
|
|
21
22
|
super
|
22
23
|
end
|
@@ -67,7 +68,7 @@ class Fluent::SentryOutput < Fluent::BufferedOutput
|
|
67
68
|
|
68
69
|
def notify_sentry(tag, time, record)
|
69
70
|
#$log.warning("Message: ",:error => record['message'])
|
70
|
-
$log.
|
71
|
+
$log.error 'writing data', record.to_json
|
71
72
|
event = Sentry::Event.new(
|
72
73
|
:configuration => @configuration,
|
73
74
|
:message => record['log']
|