fluent-plugin-sentry-rubrik 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +4 -4
- data/fluent-plugin-sentry.gemspec +2 -2
- data/lib/fluent/plugin/out_sentry.rb +0 -11
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 688648ab086956ecb25c3aed11f4eca382be6439777761d8cd83bf98323f694f
|
4
|
+
data.tar.gz: 66a4d1a9d07f43e551fb7f5450c3c37179e48d716a76f5b5b48e56fcd8d62948
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 111f48f87b33a110761a353e93785a29ea90c386ef997baad3cc50bdac7124663e537b2249c7989c1fc79cf893781aae1adf57398491f76a1b72be0d45f5b149
|
7
|
+
data.tar.gz: 6d0f31b326582acc0417c8e8fcf8a768bb7ea889255e2376dfca3bbf75af961abfce85da6b534c98129cb2b0cfa2793dff03289e679a5ca797e608e05c9c0dfd
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# fluent-plugin-sentry [![Build Status](https://travis-ci.org/
|
1
|
+
# fluent-plugin-sentry [![Build Status](https://travis-ci.org/rubrikinc/fluent-plugin-sentry.png?branch=master)](https://travis-ci.org/rubrikinc/fluent-plugin-sentry)
|
2
2
|
|
3
3
|
## Overview
|
4
4
|
|
@@ -21,13 +21,13 @@ install with `gem` or td-agent provided command as:
|
|
21
21
|
|
22
22
|
```bash
|
23
23
|
# for fluentd
|
24
|
-
$ gem install fluent-plugin-sentry
|
24
|
+
$ gem install fluent-plugin-sentry-rubrik
|
25
25
|
|
26
26
|
# for td-agent
|
27
|
-
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-sentry
|
27
|
+
$ sudo /usr/lib64/fluent/ruby/bin/fluent-gem install fluent-plugin-sentry-rubrik
|
28
28
|
|
29
29
|
# for td-agent2
|
30
|
-
$ sudo td-agent-gem install fluent-plugin-sentry
|
30
|
+
$ sudo td-agent-gem install fluent-plugin-sentry-rubrik
|
31
31
|
```
|
32
32
|
|
33
33
|
## Preparation
|
@@ -4,11 +4,11 @@ $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.16"
|
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.}
|
11
|
-
spec.homepage = "https://github.com/
|
11
|
+
spec.homepage = "https://github.com/rubrikinc/fluent-plugin-sentry"
|
12
12
|
spec.license = "Apache-2.0"
|
13
13
|
|
14
14
|
spec.files = `git ls-files`.split($/)
|
@@ -9,7 +9,6 @@ module Fluent
|
|
9
9
|
|
10
10
|
include Fluent::HandleTagNameMixin
|
11
11
|
|
12
|
-
LOG_LEVEL = %w(fatal error warn warning info debug).to_set()
|
13
12
|
EVENT_KEYS = %w(message msg timestamp level logger).to_set()
|
14
13
|
DEFAULT_HOSTNAME_COMMAND = 'hostname'
|
15
14
|
|
@@ -31,17 +30,7 @@ module Fluent
|
|
31
30
|
raise Fluent::ConfigError, "sentry: missing parameter for 'endpoint_url'"
|
32
31
|
end
|
33
32
|
|
34
|
-
unless LOG_LEVEL.include?(@default_level)
|
35
|
-
raise Fluent::ConfigError, "sentry: unsupported default reporting log level for 'default_level'"
|
36
|
-
end
|
37
|
-
|
38
33
|
@report_levels = @report_levels.to_set()
|
39
|
-
@report_levels.each do |report_level|
|
40
|
-
unless LOG_LEVEL.include?(report_level)
|
41
|
-
raise Fluent::ConfigError, "sentry: unsupported level in report_levels for 'report_level'"
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
34
|
@tags_key = @tags_key.to_set()
|
46
35
|
|
47
36
|
@userid_key_patterns = []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-sentry-rubrik
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kentaro Yoshida
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-02-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -130,7 +130,7 @@ files:
|
|
130
130
|
- lib/fluent/plugin/out_sentry.rb
|
131
131
|
- test/helper.rb
|
132
132
|
- test/plugin/test_out_sentry.rb
|
133
|
-
homepage: https://github.com/
|
133
|
+
homepage: https://github.com/rubrikinc/fluent-plugin-sentry
|
134
134
|
licenses:
|
135
135
|
- Apache-2.0
|
136
136
|
metadata: {}
|
@@ -150,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
requirements: []
|
152
152
|
rubyforge_project:
|
153
|
-
rubygems_version: 2.
|
153
|
+
rubygems_version: 2.7.6
|
154
154
|
signing_key:
|
155
155
|
specification_version: 4
|
156
156
|
summary: Fluentd output plugin that sends aggregated errors/exception events to Sentry.
|