fluent-plugin-sentry-rubrik 0.0.9 → 0.0.10
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ceeba4b727703fa63816c1eaca4086bf12d13d1
|
4
|
+
data.tar.gz: ac55b32dc671343685c744c21e53c93e469b654a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d8b4cb85592bda9a1b792b537c2f605d32445b48c347adb47b24812e28f1c2f943c5633e8a4231b14861f38428f2c723ab57c9a876812467772c0487fc1b7b2
|
7
|
+
data.tar.gz: 6dd209bad668377119aaaed147b17bf7eba9bf1140d1ed577bf2b48532ee0507f16e48a2ea5de0299f775bef2045449630cd2a9d7de3c3e49cba0e80c2193f6e
|
@@ -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 = "fluent-plugin-sentry-rubrik"
|
7
|
-
spec.version = "0.0.
|
7
|
+
spec.version = "0.0.10"
|
8
8
|
spec.authors = ["Kentaro Yoshida", "François-Xavier Bourlet"]
|
9
9
|
spec.email = ["y.ken.studio@gmail.com", "fx.bourlet@rubrik.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.}
|
@@ -81,6 +81,8 @@ module Fluent
|
|
81
81
|
return
|
82
82
|
end
|
83
83
|
|
84
|
+
record["fluentd_tag"] = tag
|
85
|
+
|
84
86
|
event = Raven::Event.new(
|
85
87
|
:configuration => @configuration,
|
86
88
|
:context => @context,
|
@@ -90,7 +92,6 @@ module Fluent
|
|
90
92
|
:message => record['message'] || record['msg'] || "",
|
91
93
|
)
|
92
94
|
event.tags = event.tags
|
93
|
-
.merge({ :fluentd_tag => tag })
|
94
95
|
.merge(extract_tags(record))
|
95
96
|
event.extra = record.reject{ |key| EVENT_KEYS.include?(key) }
|
96
97
|
@client.send_event(event)
|