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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72d6841e116882fefe08cba22475aba1afb768d1ea612f5b6ffd609b09f58b15
4
- data.tar.gz: 7c867360ea123bb2472b72e34a6373a1022f61b0b185410ab4bc42db41be661c
3
+ metadata.gz: 02717a0d9a1fce95e3f1328047ee5ac0f95b4247a841a19b2b1a63c317d0d459
4
+ data.tar.gz: 109355c4800b14ceb78e3d9ce958350cbd765ec97c0667c9867d46fa2284cf42
5
5
  SHA512:
6
- metadata.gz: eaf92eef3b8a496661a1ea79565a41b2018e974d5808055e6660058188fa48f550127529e0af87c3b318ae42c5f04ccd9116f88c6ad0e46b629e6713f0efada4
7
- data.tar.gz: ef875a9ace290416251e26798c724006017d7edcfa7d1025ed9b56559326ef85182f2d3c0c0add264550e13474efe09e1c269bf9d7a4bd3032eef2b421c01c58
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.13"
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.debug 'writing data', record.to_json
71
+ $log.error 'writing data', record.to_json
71
72
  event = Sentry::Event.new(
72
73
  :configuration => @configuration,
73
74
  :message => record['log']
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ach-fluent-plugin-sentry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kentaro Yoshida